maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MANTTASKS-187) maven ant tasks 2.1.0 pom task no longer extrapolates properties
Date Thu, 15 Jul 2010 18:47:32 GMT

     [ http://jira.codehaus.org/browse/MANTTASKS-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Herve Boutemy updated MANTTASKS-187:
------------------------------------

    Fix Version/s: 2.1.1
         Assignee: Herve Boutemy

> maven ant tasks 2.1.0 pom task no longer extrapolates properties 
> -----------------------------------------------------------------
>
>                 Key: MANTTASKS-187
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-187
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: pom task
>    Affects Versions: 2.1.0
>            Reporter: Andreas Kohn
>            Assignee: Herve Boutemy
>             Fix For: 2.1.1
>
>
> Seems to be a regression from 2.0.9, maybe caused by MANTTASKS-153 (?)
> The build.xml:
> {noformat}
> <project xmlns:artifact="antlib:org.apache.maven.artifact.ant" default="test">
>         <!-- Change version to 2.1.0 here -->
> 	<taskdef uri="antlib:org.apache.maven.artifact.ant" resource="org/apache/maven/artifact/ant/antlib.xml"/>
> 	<target name="test">
> 		<artifact:pom id="p" file="pom.xml" />
> 		<echo>${p.build.finalName}</echo>
> 	</target>
> </project>
> {noformat}
> The pom.xml loaded by the build.xml:
> {noformat}
> <project>
> 	<modelVersion>4.0.0</modelVersion>
> 	<groupId>com.example</groupId>
> 	<artifactId>test</artifactId>
> 	<version>1.0-SNAPSHOT</version>
> </project>
> {noformat}
> Running with maven-ant-tasks 2.0.9 gives:
> {noformat}
> $ CLASSPATH=$CLASSPATH:$PWD/maven-ant-tasks-2.0.9.jar ANT_HOME= ~/modules/apache-ant-1.7.1/bin/ant

> Buildfile: build.xml
> test:
>      [echo] test-1.0-SNAPSHOT
> BUILD SUCCESSFUL
> Total time: 0 seconds
> {noformat}
> Running with maven-ant-tasks 2.1.0 gives:
> {noformat}
> $ CLASSPATH=$CLASSPATH:$PWD/maven-ant-tasks-2.1.0.jar ANT_HOME= ~/modules/apache-ant-1.7.1/bin/ant

> Buildfile: build.xml
> test:
>      [echo] ${project.artifactId}-${project.version}
> BUILD SUCCESSFUL
> Total time: 1 second
> {noformat}
> This is distilled down from the Apache lucene common-build.xml.

-- 
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