You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2009/11/18 18:24:55 UTC
[jira] Issue Comment Edited: (MANTTASKS-95) Inkonsistency in
handling of properties in distributionManagement
[ http://jira.codehaus.org/browse/MANTTASKS-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198637#action_198637 ]
Paul Gier edited comment on MANTTASKS-95 at 11/18/09 11:22 AM:
---------------------------------------------------------------
I believe this issue is fixed by MANTTASKS-35 and MANTTASKS-105.
was (Author: pgier):
I believe this issue is fixed by MANTTASKS-35 and MANTTASKS-109.
> Inkonsistency in handling of properties in distributionManagement
> -----------------------------------------------------------------
>
> Key: MANTTASKS-95
> URL: http://jira.codehaus.org/browse/MANTTASKS-95
> Project: Maven 2.x Ant Tasks
> Issue Type: Improvement
> Affects Versions: 2.0.8
> Environment: maven 2.0.7, current trunc version of antrun (2.0.8)
> Reporter: Gerhard Langs
> Assignee: Paul Gier
>
> Hello
> I have a parent pom which defines distributionManagement as follows:
> <distributionManagement>
> <snapshotRepository>
> <uniqueVersion>true</uniqueVersion>
> <id>${snapshotRepositoryId}</id>
> <url>${snapshotRepositoryUrl}</url>
> </snapshotRepository>
> Note that I use ${xxx} syntax for the values, these values are defined in a profile, which is active, and defined in the global settings.xml file:
> <profile>
> <id>build-linz</id>
> <properties>
> <repositoryId>internal</repositoryId>
> <repositoryUrl>
> dav:http://mpabuild1:12000/px-webapp/dav/internal
> </repositoryUrl>
> this profile is turned on as an "activeProfile" in my personal settings.xml file.
> In "normal" maven, these values are correctly resolved.
> however, the "deploy" ant task does not, the output during deploy is as follows:
> [deploy] Deploying to ${snapshotRepositoryUrl}
> [INFO] Retrieving previous build number from ${snapshotRepositoryId}
> Class org.apache.maven.wagon.providers.file.FileWagon loaded from parent loader (parentFirst)
> Class org.apache.maven.wagon.providers.file.FileWagon loaded from parent loader (parentFirst)
> Uploading: at/co/systema/tests.maven.dir2/3.10-SNAPSHOT/tests.maven.dir2-3.10-20071112.102937-3.jar
> Uploaded 1K
> (came across this issue, when I tried the latests changes, that are related to MANTTASKS-80 and 82) - synced the latest trunc-version of antrun.
> Thanks, Gerhard
--
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