Deploy a sources jar along with the code jar for IDE-happiness
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2986 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -123,9 +123,11 @@
|
||||
<property name="maven.deploy.repo" value="file://${user.home}/.m2/repository"/>
|
||||
<target name="maven-deploy" depends="dist"
|
||||
description="Deploys our build artifacts to a Maven repository.">
|
||||
<jar basedir="${src.dir}" destfile="${deploy.dir}/${ant.project.name}-sources.jar"/>
|
||||
<artifact:deploy file="${deploy.dir}/${ant.project.name}.jar" uniqueVersion="false">
|
||||
<remoteRepository url="${maven.deploy.repo}"/>
|
||||
<pom refid="pom"/>
|
||||
<attach file="${deploy.dir}/${ant.project.name}-sources.jar" classifier="sources"/>
|
||||
</artifact:deploy>
|
||||
<artifact:pom id="gwt-pom" file="gwt-pom.xml"/>
|
||||
<artifact:deploy file="${deploy.dir}/${ant.project.name}-gwt.jar" uniqueVersion="false">
|
||||
|
||||
Reference in New Issue
Block a user