[ http://jira.codehaus.org/browse/MANTTASKS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann moved MNG-2358 to MANTTASKS-138: -------------------------------------------------- Affects Version/s: (was: 2.0.4) 2.0.4 Component/s: (was: Ant tasks) install task deploy task Key: MANTTASKS-138 (was: MNG-2358) Project: Maven 2.x Ant Tasks (was: Maven 2) > Default value for 'file' attribute of install/deploy tasks should be > available. > ------------------------------------------------------------------------------- > > Key: MANTTASKS-138 > URL: http://jira.codehaus.org/browse/MANTTASKS-138 > Project: Maven 2.x Ant Tasks > Issue Type: Improvement > Components: deploy task, install task > Affects Versions: 2.0.4 > Environment: Not of importance. > Reporter: Davy Toch > > It would be useful to have a default value for the 'file' attribute in the > install/deploy tasks of the M2 ant tasks, based on the POM settings. > <project name="test" default="test" > xmlns:m="antlib:org.apache.maven.artifact.ant"> > <target name="test"> > ... > <m:pom id="POM" file="pom.xml"/> > <!-- > Problem e.g. when POM.packaging=ejb. > --> > <property name="artifact.url" > > value="${POM.build.directory}/${POM.artifactId}-${POM.version}.${POM.packaging}"/> > ... > <m:install file="${artifact.url}"> > <pom refId="POM"/> > </m:install> > <m:deploy file="${artifact.url}"> > <pom refId="POM"/> > </m:deploy> > </target> > </project> -- 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