aboutsummaryrefslogtreecommitdiff
path: root/buildScripts/eclipse-p2.ant.xml
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-03-05 22:47:54 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-03-05 22:47:54 +0100
commit635a32258e6c9a7d074c8c5b53f5cd08d6ddc9fd (patch)
tree0737528ac5b8c2e5df924292fa801008c1b8ef89 /buildScripts/eclipse-p2.ant.xml
parent59aa6761115cb912d5223870be348b70e0e9fd9c (diff)
downloadlombok-635a32258e6c9a7d074c8c5b53f5cd08d6ddc9fd.tar.gz
lombok-635a32258e6c9a7d074c8c5b53f5cd08d6ddc9fd.tar.bz2
lombok-635a32258e6c9a7d074c8c5b53f5cd08d6ddc9fd.zip
[eclipse-p2] the eclipse p2 site is now selfsigned.
Diffstat (limited to 'buildScripts/eclipse-p2.ant.xml')
-rw-r--r--buildScripts/eclipse-p2.ant.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/buildScripts/eclipse-p2.ant.xml b/buildScripts/eclipse-p2.ant.xml
index 4dc9b719..db33b674 100644
--- a/buildScripts/eclipse-p2.ant.xml
+++ b/buildScripts/eclipse-p2.ant.xml
@@ -55,6 +55,13 @@ This buildfile is part of projectlombok.org. It is responsible for building the
<zipfileset dir="buildScripts/p2" includes="p2.inf" prefix="META-INF/" />
<zipfileset dir="dist" includes="lombok-${lombok.version}.jar" fullpath="lombok.jar" />
</jar>
+ <loadfile property="store.pass" srcFile="buildScripts/lombok.jks.password" />
+ <signjar
+ jar="build/p2/plugins/org.projectlombok.agent_${lombok.version}.jar"
+ alias="lombok"
+ storepass="${store.pass}"
+ keystore="buildScripts/lombok.jks"
+ />
<length property="agent.zip.size" file="build/p2/plugins/org.projectlombok.agent_${lombok.version}.jar" />
@@ -67,6 +74,12 @@ This buildfile is part of projectlombok.org. It is responsible for building the
</filterset>
</copy>
<zip destfile="build/p2/features/org.projectlombok.feature_${lombok.version}.jar" basedir="build/p2" includes="feature.xml" />
+ <signjar
+ jar="build/p2/features/org.projectlombok.feature_${lombok.version}.jar"
+ alias="lombok"
+ storepass="${store.pass}"
+ keystore="buildScripts/lombok.jks"
+ />
<delete file="build/p2/feature.xml" />
<length property="feature.zip.size" file="build/p2/features/org.projectlombok.feature_${lombok.version}.jar" />
@@ -81,7 +94,19 @@ This buildfile is part of projectlombok.org. It is responsible for building the
</filterset>
</copy>
<zip destfile="build/p2/artifacts.jar" basedir="build/p2" includes="artifacts.xml" />
+ <signjar
+ jar="build/p2/artifacts.jar"
+ alias="lombok"
+ storepass="${store.pass}"
+ keystore="buildScripts/lombok.jks"
+ />
<zip destfile="build/p2/content.jar" basedir="build/p2" includes="content.xml" />
+ <signjar
+ jar="build/p2/content.jar"
+ alias="lombok"
+ storepass="${store.pass}"
+ keystore="buildScripts/lombok.jks"
+ />
<delete file="build/p2/artifacts.xml" />
<delete file="build/p2/content.xml" />
</target>