-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
I've done two separate mvn executions both of which failed in an nxrm3-maven-plugin interaction with JBoss Nexus:
The first:
[INFO] --- nxrm3:1.0.7:staging-deploy (nexus-deploy) @ wildfly-producers --- [INFO] Pom project to deploy, deploying with attached artifacts. [INFO] Creating tag wildfly-producers-1.3.15.Final as it does not already exist [INFO] Saving staging information to /Users/bstansberry/dev/wildfly/wildfly-producers/target/nexus-staging/staging/staging.properties [INFO] Deploying to repository 'wildfly-staging' with tag 'wildfly-producers-1.3.15.Final' [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:03 min [INFO] Finished at: 2025-09-05T16:14:57-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonatype.plugins:nxrm3-maven-plugin:1.0.7:staging-deploy (nexus-deploy) on project wildfly-producers: Upload component was unable to complete: repository.jboss.org:443 failed to respond -> [Help 1]
and the second:
[INFO] --- nxrm3:1.0.7:staging-move (default-cli) @ wildfly-producers --- [INFO] No source repository was specified, defaulting to 'wildfly-staging' [INFO] Moving artifacts with tag 'wildfly-producers-1.3.15.Final' from 'wildfly-staging' to 'releases' [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:20 min [INFO] Finished at: 2025-09-05T16:22:29-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonatype.plugins:nxrm3-maven-plugin:1.0.7:staging-move (default-cli) on project wildfly-producers: Move components was unable to complete. Reason: repository.jboss.org:443 failed to respond -> [Help 1]
In both cases the failure happened after a considerable delay, i.e. the terminal waited for a long period after "Deploying to repository...." and "Moving artifacts with tag..." respectively.
In both cases examining the repository state using the Nexus UI showed that the operation actually succeeded; i.e. the contents were uploaded and later moved.
So, in the case of this particular deployment it worked out, but in a multi-module build the staging-deploy failure in a module would break the build.