Skip to content

Commit

Permalink
Use as ant maven-install -DmavenVersion=RELEASE112
Browse files Browse the repository at this point in the history
  • Loading branch information
jtulach committed Dec 5, 2019
1 parent ab353ed commit 1c40185
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nbbuild/templates/projectized.xml
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,8 @@ If you are sure you want to build with JDK 9+ anyway, use: -Dpermit.jdk9.builds=
<delete file="${report.file}" failonerror="false"/>
</target>

<target name="patch-for-maven" depends="init" description="Patch local Maven repo's -DmavenVersion of this module with one built from sources.">
<target name="patch-for-maven" depends="maven-install"/> <!-- deprecated -->
<target name="maven-install" depends="init" description="Installs a -D{mavenVersion} of this module into local Maven repository">
<property name="maven.tmp" location="${build.dir}/mvn"/>
<property name="mavenVersion" value="dev-SNAPSHOT"/>
<delete dir="${maven.tmp}"/>
Expand Down

0 comments on commit 1c40185

Please sign in to comment.