[
http://jira.codehaus.org/browse/MANTTASKS-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_91609
]
Jason Dillon commented on MANTTASKS-42:
---------------------------------------
I don't think it is related to this change, but I noticed that a NPE gets throw
when doing:
{noformat}
ant -f ./sample.build.xml test-install-attached test-deploy-attached
{noformat}
This spits out:
{noformat}
Buildfile: ./sample.build.xml
initTaskDefs:
test-install-attached:
[artifact:install] [INFO] Installing
/Users/jason/ws/maven/install-deploy-attached/sample-build-test.pom to
/Users/jason/ws/maven/install-deploy-attached/target/local-repo/org/apache/maven/test/sample-build-test/2.0-beta-4-SNAPSHOT/sample-build-test-2.0-beta-4-SNAPSHOT.jar
[artifact:install] [INFO] Installing
/Users/jason/ws/maven/install-deploy-attached/target/sample-build-test.pom.asc
to
/Users/jason/ws/maven/install-deploy-attached/target/local-repo/org/apache/maven/test/sample-build-test/2.0-beta-4-SNAPSHOT/sample-build-test-2.0-beta-4-SNAPSHOT.pom.asc
initTaskDefs:
BUILD FAILED
/Users/jason/ws/maven/install-deploy-attached/sample.build.xml:37:
java.lang.NullPointerException
{noformat}
The NPE comes from:
{code}
<artifact:pom file="pom.xml" id="maven.project"/>
{code}
> Allow install and deploy tasks to include attached artifacts
> ------------------------------------------------------------
>
> Key: MANTTASKS-42
> URL: http://jira.codehaus.org/browse/MANTTASKS-42
> Project: Maven 2.x Ant Tasks
> Issue Type: New Feature
> Reporter: Jason Dillon
> Attachments: MANTTASKS-42.diff
>
>
> The install and deploy tasks should be able to include additional artifacts
> to _attach_ when performing install/deploy operations.
--
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