Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23390

fix staging repo id for pushing releases to jboss nexus

XMLWordPrintable

    • devex #122 October 2016
    • 3

      Last night when trying to release jbosstools-maven-plugins I was given this error:

      ERROR] Failed to execute goal
      org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
      (default-deploy) on project tycho-plugins: Failed to deploy artifacts:
      Could not transfer artifact org.jboss.tools:tycho-plugins:pom:0.26.0
      from/to jboss-staging-repository
      (https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/):
      Failed to transfer file:
      https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/org/jboss/tools/tycho-plugins/0.26.0/tycho-plugins-0.26.0.pom.
      Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]

      Turns out the solution is this change:

      https://github.com/jbosstools/jbosstools-maven-plugins/commit/31662dca8a60297744e518a640640df7df53fc38

      So, we should roll this out to the parent pom, target platforms root pom, and jbosstools-build-ci too.

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: