[
https://issues.apache.org/jira/browse/IVY-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marc Guenther reopened IVY-1319:
--------------------------------
> environment variables are not expanded for local maven repo settings
> --------------------------------------------------------------------
>
> Key: IVY-1319
> URL: https://issues.apache.org/jira/browse/IVY-1319
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.0
> Reporter: Marc Guenther
> Assignee: Maarten Coene
> Priority: Minor
>
> On my Jenkins slave, I have this setting in my {{~/.m2/settings.xml}}:
> {{<localRepository>$\{env.WORKSPACE}/.repository</localRepository>}}
> The {{env.WORKSPACE}} is set by Jenkins.
> When running Grails from within a build, Ivy complains with the following
> error:
> {quote}java.lang.IllegalArgumentException: ivy pattern must be absolute:
> $\{env.WORKSPACE}/.repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).pom
> {quote}
> It seems the environment variable is not expanded.
> Unfortunately it is not possible to tell grails to ignore the local maven
> repo:
> http://jira.grails.org/browse/MAVEN-18
> So this effectively blocks me from using that Maven setting at all.
> I have filed a similar report for Grails:
> http://jira.grails.org/browse/MAVEN-160
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira