ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IVY-1319) environment variables are not expanded for local maven repo settings
Date Sat, 05 Nov 2011 07:26:51 GMT

     [ https://issues.apache.org/jira/browse/IVY-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene resolved IVY-1319.
--------------------------------

    Resolution: Not A Problem
      Assignee: Maarten Coene

You can load the environment variables using the <properties> element in your ivysettings.xml
file.
Cfr. http://ant.apache.org/ivy/history/latest-milestone/settings/properties.html
                
> 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

        

Mime
View raw message