Skip to content

Support for non-SNAPSHOT version when cfn submit #212

@tbouron

Description

@tbouron

I'm trying to setup CI/CD for my 3rd party resource. As part of this process, I update my maven project version to be timestamped instead of SNAPSHOT and build the project as usual with mvn clean package.
But when I execute cfn submit --dry-run to get the ZIP artifact, I get the following error:

No JAR artifact was found.
Please run 'mvn package' or the equivalent command in your IDE to compile and package the code.

To reproduce:

  1. update the version to anything that doesn't have SNAPSHOT as suffix, i.e. 1.0.0, 1.0.0-RC1, etc
  2. Build the project with mvn clean install
  3. Run cfn submit --dry-run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions