]> gerrit.simantics Code Review - simantics/r.git/commitdiff
Add support for signing published bundles release/1.43.0 release/1.43.0.1 release/1.43.1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 18 Feb 2020 21:41:54 +0000 (23:41 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 18 Feb 2020 21:41:54 +0000 (23:41 +0200)
gitlab simantics/platform#468

releng/org.simantics.r.tycho.configuration/pom.xml

index d8d4486a58c413e28362f66caabb60da77a5b7f4..1af1b61d4f21f2a6280cefe1e39368ea864ce2b5 100644 (file)
                        </plugin>\r
                </plugins>\r
        </build>\r
+\r
+       <profiles>\r
+               <profile>\r
+                       <id>sign</id>\r
+                       <activation>\r
+                               <property>\r
+                                       <name>sign</name>\r
+                                       <value>true</value>\r
+                               </property>\r
+                       </activation>\r
+                       <build>\r
+                               <plugins>\r
+                                       <plugin>\r
+                                               <groupId>org.codehaus.mojo</groupId>\r
+                                               <artifactId>properties-maven-plugin</artifactId>\r
+                                               <version>1.0.0</version>\r
+                                               <executions>\r
+                                                       <execution>\r
+                                                               <phase>initialize</phase>\r
+                                                               <goals>\r
+                                                                       <goal>read-project-properties</goal>\r
+                                                               </goals>\r
+                                                       </execution>\r
+                                               </executions>\r
+                                               <configuration>\r
+                                                       <files>\r
+                                                               <file>${sign.properties}</file>\r
+                                                       </files>\r
+                                               </configuration>\r
+                                       </plugin>\r
+                                       <plugin>\r
+                                               <groupId>org.apache.maven.plugins</groupId>\r
+                                               <artifactId>maven-jarsigner-plugin</artifactId>\r
+                                               <version>3.0.0</version>\r
+                                               <executions>\r
+                                                       <execution>\r
+                                                               <id>sign</id>\r
+                                                               <goals>\r
+                                                                       <goal>sign</goal>\r
+                                                                       <goal>verify</goal>\r
+                                                               </goals>\r
+                                                       </execution>\r
+                                               </executions>\r
+                                       </plugin>\r
+                               </plugins>\r
+                       </build>\r
+               </profile>\r
+       </profiles>\r
+\r
 </project>\r