Specify a default for the repository that can be overridden.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2944 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2010-11-12 22:47:08 +00:00
parent 63adf2d915
commit 7ed1d113a6
+1 -3
View File
@@ -131,11 +131,9 @@
<delete dir="${gwtjar.dir}"/>
</target>
<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.">
<fail unless="maven.deploy.repo">
You must specify the Maven Repository location via -Dmaven.deploy.repo=file:///path.
</fail>
<artifact:deploy file="${deploy.dir}/${lib.name}.jar">
<remoteRepository url="${maven.deploy.repo}"/>
<pom refid="pom"/>