Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9117

Problem deploying to staging suite when there are two matching profiles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Out of scope
    • Affects Version/s: 2.11.4
    • Fix Version/s: None
    • Component/s: Staging
    • Labels:
      None

      Description

      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:
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf</artifactId>
      <version>3.1.2-jbossorg-1</version>

      it is being caught by repository target

      .\*/org/apache/cxf/.\*\-jbossorg\-.\*
      

      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).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jboss-04 David Hladky
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title