Go ahead and make maven-deploy publish locally unless otherwise directed.
This commit is contained in:
@@ -126,11 +126,9 @@
|
||||
<jar destfile="${deploy.dir}/${lib.name}.jar" basedir="${classes.dir}"/>
|
||||
</target>
|
||||
|
||||
<property name="maven.deploy.repo" value="file://${user.home}/.m2/repository"/>
|
||||
<target name="maven-deploy" depends="dist,tests"
|
||||
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}/${lib.name}.jar" uniqueVersion="false">
|
||||
<remoteRepository url="${maven.deploy.repo}"/>
|
||||
<pom refid="pom"/>
|
||||
|
||||
Reference in New Issue
Block a user