Author: epbernard
Date: 2008-03-19 17:33:37 -0400 (Wed, 19 Mar 2008)
New Revision: 14471
Modified:
jpa-api/trunk/build.xml
Log:
Add Maven2 deploy tasks
Modified: jpa-api/trunk/build.xml
===================================================================
--- jpa-api/trunk/build.xml 2008-03-19 21:16:55 UTC (rev 14470)
+++ jpa-api/trunk/build.xml 2008-03-19 21:33:37 UTC (rev 14471)
@@ -124,11 +124,18 @@
<!-- patternset refid="meta.files" / -->
</jar>
+ <artifact:pom id="maven.project" file="${pom.file}" />
+
+ <artifact:install file="${build.dir}/${jar.name}.jar">
+ <pom refid="maven.project"/>
+ </artifact:install>
+
<artifact:deploy file="${build.dir}/${jar.name}.jar">
- <pom file="${pom.file}" />
+ <pom refid="maven.project" />
<remoteRepository refId="offline.repository.jboss.org">
</remoteRepository>
<attach file="${src.jar}" classifier="sources" />
+ <attach file="${build.dir}/${jar.name}.jar"
classifier="" />
</artifact:deploy>
</target>