You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "SebbASF (JIRA)" <ji...@codehaus.org> on 2010/06/03 17:30:12 UTC
[jira] Created: (MANTRUN-143) Regression: 1.4 does not resolve
$(settings.localRepository} or ${localRepository}
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
[jira] Commented: (MANTRUN-143) Regression: 1.4 does not resolve
$(settings.localRepository} or ${localRepository}
Posted by "Antonio Petrelli (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225650#action_225650 ]
Antonio Petrelli commented on MANTRUN-143:
------------------------------------------
Confirmed in Tiles. For source see:
http://svn.eu.apache.org/repos/asf/tiles/framework/trunk/assembly/pom.xml
Error message during release:
An Ant BuildException has occured: /<EDITED>/tiles-2.2.2/assembly/${settings.localRepository}/org/apache/tiles/tiles-assembly/2.2.2 does not exist.
> 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
[jira] Closed: (MANTRUN-143) Regression: 1.4 does not resolve
$(settings.localRepository} or ${localRepository}
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier closed MANTRUN-143.
-----------------------------
Resolution: Fixed
Fixed in [r959842|http://svn.apache.org/viewvc?view=revision&revision=959842].
> 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
> Assignee: Paul Gier
> Fix For: 1.5
>
> 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
[jira] Updated: (MANTRUN-143) Regression: 1.4 does not resolve
$(settings.localRepository} or ${localRepository}
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier updated MANTRUN-143:
------------------------------
Fix Version/s: 1.5
Assignee: Paul Gier
> 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
> Assignee: Paul Gier
> Fix For: 1.5
>
> 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