[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:40:57 EDT 2014


    [ https://issues.jboss.org/browse/SHRINKRES-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971081#comment-12971081 ] 

Karel Piwko edited comment on SHRINKRES-162 at 5/28/14 4:40 AM:
----------------------------------------------------------------

Pushed upstream in https://github.com/shrinkwrap/resolver/commit/6cb6d9d82f8ebe25d0bfc5b4a6c803ad625ac30c


was (Author: kpiwko):
Pushed upstream in https://github.com/kpiwko/resolver/commit/6cb6d9d82f8ebe25d0bfc5b4a6c803ad625ac30c.

> 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.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)



More information about the shrinkwrap-issues mailing list