Resolution: Out of scope
Affects Version/s: 2.11.4
Fix Version/s: None
One of our projects had a problem with deployment. After two days of investigation we found out, that the cause is probably the fact, that two profiles match the same artifacts. The pom file and its checksums were properly deployed to the new staging repository, however after that Maven wanted to get maven-metadata.xml and this attempt failed. In the server log there is following error message:
2015-08-26 06:29:59 ERROR [qtp1529311341-101853] dhladky com.sonatype.nexus.staging.rest.deploy.DeployResource - Got exception during processing request "GET https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/org/apache/cxf/cxf/maven-metadata.xml": Staging of Repository within profile ID='557f681d13ed0' is not yet started!
The profile ID is the profile ID of the second in row staging profile.
The project GAV:
it is being caught by repository target
The second profile (557f681d13ed0) catches all org.apache.cxf artifacts
As a workaround it is possible to use Nexus staging plugin and identify the specific profile, however in some cases it is not possible (license and some other non-technical concerns).