smartics / smartics-jboss-modules-maven-plugin

Generates an archive of modules based on information in a POM to be copied to an JBoss 7 installation.
https://www.smartics.eu/confluence/display/SJBMMP/
Other
13 stars 10 forks source link

download logic does not follow HTTP redirect #35

Open paoloantinori opened 7 years ago

paoloantinori commented 7 years ago

It looks like the download logic does not follow correctly HTTP redirect return code.

Found this error in my run:

[ERROR] Failed to execute goal de.smartics.maven.plugin:smartics-jboss-modules-maven-plugin:2.1.2:create-modules-archive (create-modules-archive) on project wildfly-camel-modules: Cannot resolve dependency: Failed to collect dependencies at org.apache.activemq:activemq-client:jar:5.11.0.redhat-630195
[ERROR] You may use 'dependencyExcludes' to exclude broken dependencies from examination. Failed to read artifact descriptor for org.apache.activemq:activemq-client:jar:5.11.0.redhat-630195: Could not transfer artifact org.apache.activemq:activemq-client:pom:5.11.0.redhat-630195 from/to redhat-ga-repository (http://maven.repository.redhat.com/ga): Failed to look for file: http://maven.repository.redhat.com/ga/org/apache/activemq/activemq-client/5.11.0.redhat-630195/activemq-client-5.11.0.redhat-630195.pom. Return code is: 302