[
https://issues.jboss.org/browse/SHRINKRES-105?page=com.atlassian.jira.plu...
]
Karel Piwko commented on SHRINKRES-105:
---------------------------------------
Thanks Thomas!
I'll merge your commit to make it a part of next release in few next days.
With 2.0.0-alpha-7, the best workaround is then to specify a path to default settings.xml
via API:
{code}
Maven.configureResolver().fromFile("~/.m2/settings.xml")
{code}
You should be able use this until next version is out.
Support resolution of variables in Maven settings file
------------------------------------------------------
Key: SHRINKRES-105
URL:
https://issues.jboss.org/browse/SHRINKRES-105
Project: ShrinkWrap Resolvers
Issue Type: Enhancement
Components: impl-maven
Affects Versions: 1.0.0-beta-7
Reporter: Thomas SEGISMONT
Assignee: Karel Piwko
Labels: maven, resolver
Variables in Maven settings file are not resolved.
For instance if you have this node in your settings :
{code:xml}
<localRepository>${user.home}/.m2/repository</localRepository>
{code}
then Shrinkwrap will create a _$\{user.home\}/.m2/repository_ in the project directory
and use it as local repository.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira