Details

      Description

      I'm able to upload snapshot artifacts for ecaudit. But whenever I try to upload a released artifacts I get "Access denied" - "Forbidden". I get same issue whether I'm doing it with maven release plugin or manually with "mvn deploy".

      Repo is here: https://github.com/Ericsson/ecaudit

      Error from build:

      INFO] [INFO] — maven-install-plugin:2.4:install (default-install) @ ecaudit_c3.0 —
      [INFO] [INFO] Installing /home/pelle/workspace/cassandra/ecaudit/target/checkout/target/ecaudit_c3.0-0.20.2.jar to /home/pelle/.m2/repository/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2.jar
      [INFO] [INFO] Installing /home/pelle/workspace/cassandra/ecaudit/target/checkout/pom.xml to /home/pelle/.m2/repository/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2.pom
      [INFO] [INFO] Installing /home/pelle/workspace/cassandra/ecaudit/target/checkout/target/ecaudit_c3.0-0.20.2-sources.jar to /home/pelle/.m2/repository/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2-sources.jar
      [INFO] [INFO] Installing /home/pelle/workspace/cassandra/ecaudit/target/checkout/target/ecaudit_c3.0-0.20.2-javadoc.jar to /home/pelle/.m2/repository/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2-javadoc.jar
      [INFO] [INFO] Installing /home/pelle/workspace/cassandra/ecaudit/target/checkout/target/ecaudit_c3.0-0.20.2.jar.asc to /home/pelle/.m2/repository/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2.jar.asc
      [INFO] [INFO] Installing /home/pelle/workspace/cassandra/ecaudit/target/checkout/target/ecaudit_c3.0-0.20.2.pom.asc to /home/pelle/.m2/repository/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2.pom.asc
      [INFO] [INFO] Installing /home/pelle/workspace/cassandra/ecaudit/target/checkout/target/ecaudit_c3.0-0.20.2-sources.jar.asc to /home/pelle/.m2/repository/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2-sources.jar.asc
      [INFO] [INFO] Installing /home/pelle/workspace/cassandra/ecaudit/target/checkout/target/ecaudit_c3.0-0.20.2-javadoc.jar.asc to /home/pelle/.m2/repository/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2-javadoc.jar.asc
      [INFO] [INFO]
      [INFO] [INFO] — maven-deploy-plugin:2.8.2:deploy (default-deploy) @ ecaudit_c3.0 —
      [INFO] Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2.jar
      [INFO] Progress (1): 2.0/62 kB
      [INFO] Progress (1): 4.1/62 kB
      [INFO] Progress (1): 6.1/62 kB
      [INFO] Progress (1): 8.2/62 kB
      [INFO] Progress (1): 10/62 kB
      [INFO] Progress (1): 12/62 kB
      [INFO] Progress (1): 14/62 kB
      [INFO] Progress (1): 16/62 kB
      [INFO] Progress (1): 18/62 kB
      [INFO] Progress (1): 20/62 kB
      [INFO] Progress (1): 23/62 kB
      [INFO] Progress (1): 25/62 kB
      [INFO] Progress (1): 27/62 kB
      [INFO] Progress (1): 29/62 kB
      [INFO] Progress (1): 31/62 kB
      [INFO] Progress (1): 33/62 kB
      [INFO] Progress (1): 35/62 kB
      [INFO] Progress (1): 37/62 kB
      [INFO] Progress (1): 39/62 kB
      [INFO] Progress (1): 41/62 kB
      [INFO] Progress (1): 43/62 kB
      [INFO] Progress (1): 45/62 kB
      [INFO] Progress (1): 47/62 kB
      [INFO] Progress (1): 49/62 kB
      [INFO] Progress (1): 51/62 kB
      [INFO] Progress (1): 53/62 kB
      [INFO] Progress (1): 55/62 kB
      [INFO] Progress (1): 57/62 kB
      [INFO] Progress (1): 59/62 kB
      [INFO] Progress (1): 61/62 kB
      [INFO] Progress (1): 62 kB
      [INFO]
      [INFO] Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2.pom
      [INFO] Progress (1): 2.0/12 kB
      [INFO] Progress (1): 4.1/12 kB
      [INFO] Progress (1): 6.1/12 kB
      [INFO] Progress (1): 8.2/12 kB
      [INFO] Progress (1): 10/12 kB
      [INFO] Progress (1): 12 kB
      [INFO]
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] BUILD FAILURE
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] Total time: 01:28 min
      [INFO] [INFO] Finished at: 2018-09-03T08:01:27+02:00
      [INFO] [INFO] Final Memory: 49M/895M
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project ecaudit_c3.0: Failed to deploy artifacts: Could not transfer artifact com.ericsson.bss.cassandra.ecaudit:ecaudit_c3.0:jar:0.20.2 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/ericsson/bss/cassandra/ecaudit/ecaudit_c3.0/0.20.2/ecaudit_c3.0-0.20.2.jar, ReasonPhrase: Forbidden. -> [Help 1]
      [INFO] [ERROR]
      [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [INFO] [ERROR]
      [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:30 min
      [INFO] Finished at: 2018-09-03T08:01:28+02:00
      [INFO] Final Memory: 10M/477M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project ecaudit_c3.0: Maven execution failed, exit code: '1' -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

        Attachments

          Activity

            People

            Assignee:
            jorlina Joel Orlina
            Reporter:
            eperott Per Otterström
            Last Updated By:
            Joel Orlina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title