Added generating a sources.jar for maven, on a suggestion by (twitter) @bennor

This commit is contained in:
Reinier Zwitserloot committed 2009-07-31 11:33:02 +02:00
1 parent 57fb36be39
commit 5d5775c8f4
1 file changed
+5
+5
View File
@@ -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>