Added goal that will deploy core test and javadoc jars files and xbean generated files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Frederick G. Oconer 2005-12-20 07:08:21 +00:00
parent 17c01e7b53
commit 496be9c60e
1 changed files with 35 additions and 3 deletions

View File

@ -203,11 +203,17 @@
</goal> </goal>
<!-- ================================================================== --> <!-- ================================================================== -->
<!-- GOAL for deploying test jar --> <!-- GOALs for deploying resources -->
<!-- ================================================================== --> <!-- ================================================================== -->
<goal name="test:deploy-bin" <goal name="jar:deploy"
description="Deploy a source distribution" prereqs="test:compile"> description="Deploy the core and core test binaries" prereqs="test:compile">
<artifact:deploy
artifact="${basedir}/target/${pom.artifactId}-${pom.currentVersion}.jar"
type="jar"
project="${pom}"
/>
<artifact:deploy <artifact:deploy
artifact="${basedir}/target/${pom.artifactId}-test-${pom.currentVersion}.jar" artifact="${basedir}/target/${pom.artifactId}-test-${pom.currentVersion}.jar"
@ -216,4 +222,30 @@
/> />
</goal> </goal>
<goal name="jar:deploy-javadocs"
description="Deploys javadoc binary" prereqs="javadoc:api">
<artifact:deploy
artifact="${basedir}/target/${pom.artifactId}-${pom.currentVersion}_javadoc.jar"
type="jar"
project="${pom}"
/>
</goal>
<goal name="jar:deploy-xbean"
description="Deploys xsd files" prereqs="xbean:generate">
<artifact:deploy
artifact="${basedir}/target/${pom.groupId}-${pom.currentVersion}.xsd"
type="distribution"
project="${pom}"
/>
<artifact:deploy
artifact="${basedir}/target/${pom.groupId}-${pom.currentVersion}.xsd.html"
type="distribution"
project="${pom}"
/>
</goal>
</project> </project>