[eclipse-p2] the eclipse p2 site is now selfsigned.

This commit is contained in:
Reinier Zwitserloot committed 2020-03-05 22:47:54 +01:00
1 parent 59aa676111
commit 635a32258e
5 files changed
+29 -4

No files matched your search

+1 -2
View File
@@ -375,8 +375,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating</echo>
<antcall target="dist" />
</target>
<target name="eclipse-p2" depends="config-ssh, -eclipse-p2-dist" description="Builds an eclipse p2 update site which allows lombok to be installed as an eclipse plugin">
<target name="eclipse-p2" depends="config-ssh, version, -eclipse-p2-dist" description="Builds an eclipse p2 update site which allows lombok to be installed as an eclipse plugin">
<ant antfile="buildScripts/eclipse-p2.ant.xml" target="dist-eclipse-p2" inheritAll="false">
<property name="lombok.version" value="${lombok.version}" />
</ant>
+1
View File
@@ -0,0 +1 @@
/lombok.jks.password
+25
View File
@@ -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>
Binary file not shown.
+2 -2
View File
@@ -32,8 +32,8 @@ THE SOFTWARE.
<plugin
id="org.projectlombok.agent"
download-size="0"
install-size="0"
download-size="1158"
install-size="1158"
version="@VERSION@"/>
</feature>