aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/build.xml b/build.xml
index 06a9a961..2c3188da 100644
--- a/build.xml
+++ b/build.xml
@@ -377,7 +377,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating</echo>
<target name="generate-pom" depends="version,dist">
<echo message="Lombok version: ${lombok.version}-SNAPSHOT" />
- <echo file="pom.xml"><![CDATA[<project>
+ <echo file="build/pom.xml"><![CDATA[<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
@@ -391,12 +391,13 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating</echo>
</condition>
<exec executable="${mvn-exe}" failifexecutionfails="false" resultproperty="mvn-result">
- <arg value="install:install-file"/>
- <arg value="-Dfile=dist/lombok-${lombok.version}.jar"/>
- <arg value="-DgroupId=org.projectlombok"/>
- <arg value="-DartifactId=lombok"/>
- <arg value="-Dversion=${lombok.version}-SNAPSHOT"/>
- <arg value="-Dpackaging=jar"/>
+ <arg value="install:install-file" />
+ <arg value="-Dfile=dist/lombok-${lombok.version}.jar" />
+ <arg value="-DgroupId=org.projectlombok" />
+ <arg value="-DartifactId=lombok" />
+ <arg value="-Dversion=${lombok.version}-SNAPSHOT" />
+ <arg value="-Dpackaging=jar" />
+ <arg value="-DpomFile=build/pom.xml" />
</exec>
<condition property="mvn-notfound" value="true">
<not><isset property="mvn-result" /></not>