[
https://issues.redhat.com/browse/SHRINKRES-223?page=com.atlassian.jira.pl...
]
Falko Modler commented on SHRINKRES-223:
----------------------------------------
As a side note: Since 3.1.4 {{ClasspathWorkspaceReader}} _does_ support placeholders in
the version, but only if {{flatten-maven-plugin}} is used.
See also SHRINKRES-299.
ClasspathWorkspaceReader does not resolve version variables
-----------------------------------------------------------
Key: SHRINKRES-223
URL:
https://issues.redhat.com/browse/SHRINKRES-223
Project: ShrinkWrap Resolvers
Issue Type: Bug
Components: maven
Affects Versions: 2.2.0-beta-2
Reporter: Thorsten Meinl
Priority: Major
Attachments: resolver-bug.zip
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
(v7.13.8#713008)