aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-31 11:33:02 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-31 11:33:02 +0200
commit5d5775c8f44b1e7353bb9ceffbdb509fc6e00323 (patch)
tree76e0e68099c9e75eb8484f6e75b0c9b988155cca /build.xml
parent57fb36be3973b3f8c32d36ded60cd4193bdcd16d (diff)
downloadlombok-5d5775c8f44b1e7353bb9ceffbdb509fc6e00323.tar.gz
lombok-5d5775c8f44b1e7353bb9ceffbdb509fc6e00323.tar.bz2
lombok-5d5775c8f44b1e7353bb9ceffbdb509fc6e00323.zip
Added generating a sources.jar for maven, on a suggestion by (twitter) @bennor
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 62457836..39bf3dcb 100644
--- a/build.xml
+++ b/build.xml
@@ -386,6 +386,11 @@ public class CompileChangelog {
<checksum property="mvn.bin.sha1" file="${mvn.bin}/lombok-${lombok.version}.jar" algorithm="SHA1" />
<echo file="${mvn.bin}/lombok-${lombok.version}.jar.md5">${mvn.bin.md5}</echo>
<echo file="${mvn.bin}/lombok-${lombok.version}.jar.sha1">${mvn.bin.sha1}</echo>
+ <jar destfile="${mvn.bin}/lombok-${lombok.version}-sources.jar" basedir="src" excludes="**/.DS_Store" />
+ <checksum property="mvn.src.md5" file="${mvn.bin}/lombok-${lombok.version}-sources.jar" algorithm="MD5" />
+ <checksum property="mvn.src.sha1" file="${mvn.bin}/lombok-${lombok.version}-sources.jar" algorithm="SHA1" />
+ <echo file="${mvn.bin}/lombok-${lombok.version}-sources.jar.md5">${mvn.src.md5}</echo>
+ <echo file="${mvn.bin}/lombok-${lombok.version}-sources.jar.sha1">${mvn.src.sha1}</echo>
<copy tofile="${mvn.pom}" file="doc/maven-pom.xml">
<filterchain>
<replacetokens>