maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SebbASF (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MANTRUN-143) Regression: 1.4 does not resolve $(settings.localRepository} or ${localRepository}
Date Thu, 03 Jun 2010 15:30:12 GMT
Regression: 1.4 does not resolve $(settings.localRepository} or ${localRepository}
----------------------------------------------------------------------------------

                 Key: MANTRUN-143
                 URL: http://jira.codehaus.org/browse/MANTRUN-143
             Project: Maven 2.x Antrun Plugin
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
Java version: 1.6.0_20
Java home: C:\jdk1.6.0_20\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
            Reporter: SebbASF
         Attachments: pom.xml

Antrun 1.4 fails to resolve the properties localRepository and settings.localRepository, whereas
1.3 works fine;

Properties are resolved OK with 1.3:

{code}
> mvn -Dantrun.version=1.3
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building anttest
[INFO]    task-segment: [validate]
[INFO] ------------------------------------------------------------------------
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
     [echo] project.version = 1.0-SNAPSHOT
     [echo] antrun.version = 1.3
     [echo] localRepository = Repository[local|file://C:\Documents and Settings\User\.m2\repository]
     [echo] settings.localRepository = C:\Documents and Settings\User\.m2\repository
[INFO] Executed tasks
{code}

Properties are not resolved when running with 1.4:

{code}
> mvn -Dantrun.version=1.4
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building anttest
[INFO]    task-segment: [validate]
[INFO] ------------------------------------------------------------------------
[INFO] [antrun:run {execution: default}]
project.artifactId
[INFO] Executing tasks
     [echo] project.version = 1.0-SNAPSHOT
     [echo] antrun.version = 1.4
     [echo] localRepository = ${localRepository}
     [echo] settings.localRepository = ${settings.localRepository}
[INFO] Executed tasks
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message