[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-312) ShrinkWrap MavenResolver unable to resolve version from parent POM.

Michal Huniewicz (JIRA) jira-events at lists.jboss.org
Mon Aug 1 05:04:23 EDT 2011


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

Michal Huniewicz commented on SHRINKWRAP-312:
---------------------------------------------

Hi Aslak,

Yes, but I didn't use resolveAs(GenericArchive.class). I used resolveFiles or something similar.

Now, I did add a direct parent path in the child POM but it didn't help.

> ShrinkWrap MavenResolver unable to resolve version from parent POM.
> -------------------------------------------------------------------
>
>                 Key: SHRINKWRAP-312
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-312
>             Project: ShrinkWrap
>          Issue Type: Bug
>          Components: ext-resolver
>    Affects Versions: 1.0.0-beta-5
>         Environment: Windows 7, Java 6
>            Reporter: Michal Huniewicz
>              Labels: maven-resource-dependency-plugin
>
> All versions of artifacts are stored in the parent POM as Maven properties. There is a dependencyManagement section where they are used.
> When a child project uses Maven dependency resolver to load artifacts, the version cannot be established with MavenDependencyResolver.
> Sample parent POM:
> https://github.com/m1key/audiolicious/blob/master/pom.xml

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list