[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-223) ClasspathWorkspaceReader does not resolve version variables

Matous Jobanek (JIRA) issues at jboss.org
Fri Jun 12 03:13:02 EDT 2015


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

Matous Jobanek commented on SHRINKRES-223:
------------------------------------------

Hi,
could you provide some reproducer? I followed the steps you mentioned, but in my case all the version variables have been replaced/resolved.

> ClasspathWorkspaceReader does not resolve version variables
> -----------------------------------------------------------
>
>                 Key: SHRINKRES-223
>                 URL: https://issues.jboss.org/browse/SHRINKRES-223
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 2.2.0-beta-2
>            Reporter: Thorsten Meinl
>
> The ClasspathWorkspaceReader does not resolve variables in artifact versions. We have an artifact whose version is a variable that is defined in its parent pom. "ClasspathWorkspaceReader.createFoundArtifact" reads the variable as-is and does not resolve it to the real version. However, when resolving the dependencies for the "root" artifacts (the one whose pom has been loaded by the resolver via "loadPomFromFile") version variables *are* resolved and therefore there will always be a mismatch.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the shrinkwrap-issues mailing list