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

Thorsten Meinl (JIRA) issues at jboss.org
Wed Jun 3 10:40:01 EDT 2015


Thorsten Meinl created SHRINKRES-223:
----------------------------------------

             Summary: 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