[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-162) Resolved file extension returned instead of packaging type in MavenResolvedArtifact
Karel Piwko (JIRA)
issues at jboss.org
Wed May 28 04:38:57 EDT 2014
[ https://issues.jboss.org/browse/SHRINKRES-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karel Piwko updated SHRINKRES-162:
----------------------------------
Fix Version/s: 2.1.1
2.2.0-alpha-3
> 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: Andrew Rubinger
> 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.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the shrinkwrap-issues
mailing list