You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/09/16 15:42:59 UTC
svn commit: r289537 -
/maven/components/trunk/maven-artifact-ant/sample.build.xml
Author: brett
Date: Fri Sep 16 06:42:55 2005
New Revision: 289537
URL: http://svn.apache.org/viewcvs?rev=289537&view=rev
Log:
add some notes on prerequisites for tests
Modified:
maven/components/trunk/maven-artifact-ant/sample.build.xml
Modified: maven/components/trunk/maven-artifact-ant/sample.build.xml
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/sample.build.xml?rev=289537&r1=289536&r2=289537&view=diff
==============================================================================
--- maven/components/trunk/maven-artifact-ant/sample.build.xml (original)
+++ maven/components/trunk/maven-artifact-ant/sample.build.xml Fri Sep 16 06:42:55 2005
@@ -1,4 +1,7 @@
<project name="foo" default="foo" xmlns:artifact="urn:maven-artifact-ant">
+<!--
+<project name="foo" default="foo" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
+-->
<!--
You either need to run the the 'initTaskDefs' task below and
define the artifact namespace like above (choose anything you
@@ -18,8 +21,8 @@
-->
<target name="initTaskDefs">
+ <!-- don't forget to update the version! -->
<path id="maven.classpath">
- <!-- don't forget to set the value! -->
<pathelement location="target/maven-artifact-ant-2.0-beta-1-SNAPSHOT-dep.jar"/>
</path>
@@ -104,6 +107,7 @@
<pom refid="maven.project"/>
</artifact:install>
+ <echo>Note: only works on snapshots!</echo>
<artifact:deploy file="${outJar}">
<remoteSnapshotRepository refid="deploy.repository"/>
<pom refid="maven.project"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org