Skip to content

[deploy] Deploying WARs to Nexus fails validation  #1732

@gastaldi

Description

@gastaldi

Having the following the staging repository (taken from https://github.com/smallrye/smallrye-opentelemetry/actions/runs/11013916179/artifacts/1971460829):

.
└── smallrye
    └── opentelemetry
        ├── examples
        │   ├── agent
        │   │   ├── 2.8.0
        │   │   │   ├── agent-2.8.0-javadoc.jar
        │   │   │   ├── agent-2.8.0-javadoc.jar.md5
        │   │   │   ├── agent-2.8.0-javadoc.jar.sha1
        │   │   │   ├── agent-2.8.0-sources.jar
        │   │   │   ├── agent-2.8.0-sources.jar.md5
        │   │   │   ├── agent-2.8.0-sources.jar.sha1
        │   │   │   ├── agent-2.8.0.pom
        │   │   │   ├── agent-2.8.0.pom.md5
        │   │   │   ├── agent-2.8.0.pom.sha1
        │   │   │   ├── agent-2.8.0.war
        │   │   │   ├── agent-2.8.0.war.md5
        │   │   │   └── agent-2.8.0.war.sha1
        │   │   ├── maven-metadata.xml
        │   │   ├── maven-metadata.xml.md5
        │   │   └── maven-metadata.xml.sha1
        │   └── library
        │       ├── 2.8.0
        │       │   ├── library-2.8.0-javadoc.jar
        │       │   ├── library-2.8.0-javadoc.jar.md5
        │       │   ├── library-2.8.0-javadoc.jar.sha1
        │       │   ├── library-2.8.0-sources.jar
        │       │   ├── library-2.8.0-sources.jar.md5
        │       │   ├── library-2.8.0-sources.jar.sha1
        │       │   ├── library-2.8.0.pom
        │       │   ├── library-2.8.0.pom.md5
        │       │   ├── library-2.8.0.pom.sha1
        │       │   ├── library-2.8.0.war
        │       │   ├── library-2.8.0.war.md5
        │       │   └── library-2.8.0.war.sha1
        │       ├── maven-metadata.xml
        │       ├── maven-metadata.xml.md5
        │       └── maven-metadata.xml.sha1

When trying to deploy the repository which contains two projects with <packaging>war</packaging>, the validation fails:

[INFO]  JReleaser 1.15.0-SNAPSHOT
[INFO]  Configuring with jreleaser.yml
[INFO]    - basedir set to /home/runner/work/smallrye-release/smallrye-release
[INFO]    - outputdir set to /home/runner/work/smallrye-release/smallrye-release/out/jreleaser
[INFO]  Reading configuration
[INFO]  git-root-search set to false
[INFO]  Loading variables from /home/runner/.jreleaser/config.properties
[WARN]  Variables source /home/runner/.jreleaser/config.properties does not exist
[INFO]  Validating configuration
[INFO]  Strict mode set to false
[INFO]  Project version set to 2.8.0
[INFO]  Release is not snapshot
[INFO]  Timestamp is 2024-09-24T12:45:51.580507641Z
[INFO]  HEAD is at da676f6
[INFO]  Platform is linux-x86_64
[INFO]  dry-run set to false
[INFO]  Deploying Maven artifacts
[INFO]    [maven] Deploying all staged artifacts
[INFO]      [nexus2] Deploying to maven-central
[INFO]      [nexus2] nexus2 set to FULL_DEPLOYMENT
[INFO]      [nexus2] Verifying prerequisites
[INFO]      [nexus2] Verifying POMs
Error:      [nexus2] library-2.8.0.jar is missing
Error:      [nexus2] agent-2.8.0.jar is missing

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedIssue has been released

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions