Details
-
Feature Request
-
Resolution: Done
-
Critical
-
None
-
6.0.1
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
- is related to
-
RHBRMS-2411 Workbench's Maven Repository is not "cluster-aware"
- Closed
- relates to
-
RHBRMS-2411 Workbench's Maven Repository is not "cluster-aware"
- Closed