You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2018/01/16 09:55:38 UTC

[sling-ide-tooling] 01/02: SLING-6585 - Switch to the ASF code signing service

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-ide-tooling.git

commit bc89d46cce9751771ebca204793b58b6a7bba7e3
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Tue Jan 16 11:54:13 2018 +0200

    SLING-6585 - Switch to the ASF code signing service
    
    Add the 'codesign' profile, with the codesign plugin commented out for
    now.
---
 p2update/pom.xml | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)

diff --git a/p2update/pom.xml b/p2update/pom.xml
index caeeda9..be5f24d 100644
--- a/p2update/pom.xml
+++ b/p2update/pom.xml
@@ -76,4 +76,92 @@
       </plugin>
     </plugins>
   </build>
+    <profiles>
+        <profile>
+            <id>codesign</id>
+            <build>
+                <plugins>
+                    <!-- 
+                    This plugin is not yet released. To use this code signing, install the 
+                    pluging locally and then run with the 'codesign' profile. See the Sling IDE
+                    tooling docs for more instructions 
+                    <plugin>
+                        <groupId>org.apache.sling</groupId>
+                        <artifactId>codesign-maven-plugin</artifactId>
+                        <version>1.0.0-SNAPSHOT</version>
+                        <executions>
+                            <execution>
+                                <id>codesign</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <applicationName>Apache Sling IDE Tooling for Eclipse</applicationName>
+                            <applicationVersion>${qualifiedVersion}</applicationVersion>
+                            <includeProjectArtifact>false</includeProjectArtifact>
+                            <artifactSets>
+                                <artifactSet>
+                                    <directory>target/repository/features</directory>
+                                    <include>org.apache.sling.*.jar</include>
+                                </artifactSet>
+                                <artifactSet>
+                                    <directory>target/repository/plugins</directory>
+                                    <include>org.apache.sling.*.jar</include>
+                                </artifactSet>
+                            </artifactSets>
+                            <signingService>Java TEST Signing Sha256</signingService>
+                        </configuration>
+                    </plugin>
+                     -->
+                    <plugin>
+                        <groupId>org.eclipse.tycho.extras</groupId>
+                        <artifactId>tycho-p2-extras-plugin</artifactId>
+                        <version>${tycho.version}</version>
+                        <configuration>
+                            <source>
+                                <repository>
+                                    <url>${project.build.directory}/repository</url>
+                                </repository>
+                            </source>
+                            <destination>${project.build.directory}/repository-signed</destination>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>create-signed-repository</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>mirror</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-resources-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>copy-index.html-to-signed-repository</id>
+                                <goals>
+                                    <goal>copy-resources</goal>
+                                </goals>
+                                <phase>package</phase>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <outputDirectory>${project.build.directory}/repository-signed</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>${project.build.directory}/repository</directory>
+                                    <include>index.html</include>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.