[hibernate-issues] [Hibernate-JIRA] Created: (ANN-713) Use an ant task to deploy the maven artifacts
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Mar 18 11:19:33 EDT 2008
Use an ant task to deploy the maven artifacts
---------------------------------------------
Key: ANN-713
URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-713
Project: Hibernate Annotations
Issue Type: New Feature
Reporter: Emmanuel Bernard
This is what we use in Seam* (I assume you are using Maven Ant Tasks to generate your deployment):
<jar jarfile="${src.jar}" basedir="${src.dir}">
<include name="**/*.java" />
<exclude name="**/test/*.java" />
<patternset refid="meta.files" />
</jar>
<artifact:remoteRepository id="offline.repository.jboss.org" url="file:///${offline.repository.jboss.org}" />
<artifact:deploy file="${bin.jar}">
<pom file="${pom.file} />
<remoteRepository refId="offine.repository.jboss.org" />
<attach file="${src.jar}" classifier="sources" />
</artifact:deploy>
You can then commit the results to svn
* Well, actually, it's all wrapped up in macrodef's, but this is them expanded out
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list