Skip to content

Commit

Permalink
Add eclipse CDI maven plugin for signing the artefacts (fixes eclipse…
Browse files Browse the repository at this point in the history
…-archived#2035)

Signed-off-by: Ondrej Dockal <odockal@redhat.com>
  • Loading branch information
odockal committed Sep 3, 2019
1 parent ce58d82 commit 4321ad6
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<tychoExtrasVersion>${tycho-version}</tychoExtrasVersion>
<eclipse-target-site>http://download.eclipse.org/staging/2019-09/</eclipse-target-site>
<swtbot-update-site>http://download.eclipse.org/technology/swtbot/snapshots/</swtbot-update-site>
<eclipse-orbit-update-site>https://download.eclipse.org/tools/orbit/downloads/drops/S20190819183153/repository</eclipse-orbit-update-site>
<eclipse-orbit-update-site>https://download.eclipse.org/tools/orbit/downloads/drops/S20190827152740/repository</eclipse-orbit-update-site>
<download-plugin-version>1.2.1</download-plugin-version>
<java.target.version>1.8</java.target.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -62,6 +62,16 @@
</resource>
</resources>
<outputDirectory>bin</outputDirectory>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>1.1.5</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
Expand Down Expand Up @@ -198,6 +208,12 @@
<url>${eclipse-orbit-update-site}</url>
<layout>p2</layout>
</repository>
<repository>
<id>eclipse-cbi-site</id>
<url>https://repo.eclipse.org/content/repositories/cbi/</url>
<layout>p2</layout>
</repository>

</repositories>

<profiles>
Expand All @@ -210,6 +226,27 @@
<module>jacoco-report</module>
</modules>
</profile>
<profile>
<id>eclipse-sign</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>1.1.5</version>
<executions>
<execution>
<id>sign</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 4321ad6

Please sign in to comment.