You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Simone Tripodi <si...@apache.org> on 2014/07/24 11:55:27 UTC

org.apache.maven.artifact.resolver.ArtifactResolver ignores packaging when resolving artifacts since mvn 3.1.1

Hi all mates,

I faced today a strange issue(?) that I experienced with Maven 3.1.1 and
3.2.2: as per subject, org.apache.maven.artifact.resolver.ArtifactResolver
ignores packaging when resolving artifacts, I mean that if a request

com.acme:acme-commons:pom:1.7.0
the ArtifactResolver componnet tries to resolve

http://nexus.acme.com/content/groups/development/com/acme/acme-commons/1.7.0/acme-commons-1.7.0

while the correct URL should be

http://nexus.acme.com/content/groups/development/com/acme/acme-commons/1.7.0/acme-commons-1.7.0.pom
It doesn't happen in Maven 3.0.5...

Is it an issue?
TIA, all the best!
-Simo

http://people.apache.org/~simonetripodi/
http://twitter.com/simonetripodi