Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1788

mvn deploy to workbench artifact repository

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      Description of problem:

      Platform BZ for https://issues.jboss.org/browse/GUVNOR-2102

      Steps to Reproduce:
      1. Create a simple mvn jar project
      2. Configure distributionManagement in the pom.xml

      <distributionManagement>
      <repository>
      <id>guvnor-m2-repo</id>
      <url>http://localhost:8080/business-central/maven2/</url>
      </repository>
      </distributionManagement>

      3. Make sure guvnor-m2-repo is authenticated

      <server>
      <id>guvnor-m2-repo</id>
      <username>admin</username>
      <password>password1!</password>
      <configuration>
      <wagonProvider>httpclient</wagonProvider>
      <httpConfiguration>
      <all>
      <usePreemptive>true</usePreemptive>
      </all>
      </httpConfiguration>
      </configuration>
      </server>

      4. Run 'mvn deploy'

      Actual results:

      Fails with

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project quickstart: Failed to deploy artifacts: Could not transfer artifact org.example:quickstart:jar:1.0.0 from/to guvnor-m2-repo (http://localhost:8080/business-central/maven2/): Failed to transfer file: http://localhost:8080/business-central/maven2/org/example/quickstart/1.0.0/quickstart-1.0.0.jar. Return code is: 405, ReasonPhrase:Method Not Allowed.

      Expected results:

      The jar is deployed to business-central maven repo so you can see it in [Artifact Repository].

      Attachments

        Issue Links

          Activity

            People

              manstis@redhat.com Michael Anstis
              rhn-support-tkobayas Toshiya Kobayashi
              Archiver:
              rhn-support-ceverson Clark Everson
              Radovan Synek Radovan Synek
              Radovan Synek Radovan Synek
              Abhijit Humbe, Alessandro Lazarotti, Anton Giertli, Cheng Zhang (Inactive), etirelli, Kris Verlaenen, Marek Winkler (Inactive), Michael Anstis, Rajesh Rajasekaran

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty