]
Karel Piwko edited comment on SHRINKRES-162 at 5/28/14 4:40 AM:
----------------------------------------------------------------
Pushed upstream in
Resolved file extension returned instead of packaging type in
MavenResolvedArtifact
-----------------------------------------------------------------------------------
Key: SHRINKRES-162
URL:
https://issues.jboss.org/browse/SHRINKRES-162
Project: ShrinkWrap Resolvers
Issue Type: Bug
Affects Versions: 2.0.1
Reporter: Johan Evelönn
Assignee: Karel Piwko
Fix For: 2.1.1, 2.2.0-alpha-3
When declaring a dependency in a pom.xml with the type EJB and then resolving it into a
MavenResolvedArtifact the method getCoordinate().getPackagingType() returns
PackagingType.JAR instead of PackagingType.EJB. So it seems like it sets the PackagingType
to the extension of the resolved file. It works fine when a dependency has type war, since
type and extension is the same.