Go ahead and make maven-deploy publish locally unless otherwise directed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2957 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -129,11 +129,9 @@
|
|||||||
<delete dir="${gwtjar.dir}"/>
|
<delete dir="${gwtjar.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<property name="maven.deploy.repo" value="file://${user.home}/.m2/repository"/>
|
||||||
<target name="maven-deploy" depends="dist"
|
<target name="maven-deploy" depends="dist"
|
||||||
description="Deploys our build artifacts to a Maven repository.">
|
description="Deploys our build artifacts to a Maven repository.">
|
||||||
<fail unless="maven.deploy.repo">
|
|
||||||
Must specify Maven repository with -Dmaven.deploy.repo=file://somepath
|
|
||||||
</fail>
|
|
||||||
<artifact:deploy file="${deploy.dir}/${ant.project.name}.jar" uniqueVersion="false">
|
<artifact:deploy file="${deploy.dir}/${ant.project.name}.jar" uniqueVersion="false">
|
||||||
<remoteRepository url="${maven.deploy.repo}"/>
|
<remoteRepository url="${maven.deploy.repo}"/>
|
||||||
<pom refid="pom"/>
|
<pom refid="pom"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user