Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 00f4c7e

Browse files
author
Emmanuel Hugonnet
committed
Now we can sign the Jar
git-svn-id: https://www.silverpeas.org/svn/silverpeas/services/office-online/trunk@479 a8e77078-a1c7-4fa5-b8fc-53c5178a176c
1 parent 7af9a64 commit 00f4c7e

File tree

1 file changed

+37
-19
lines changed

1 file changed

+37
-19
lines changed

pom.xml

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
1+
<?xml version="1.0" encoding="UTF-8" ?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<parent>
66
<groupId>com.silverpeas</groupId>
@@ -16,23 +16,8 @@
1616
<name>Online Office Editor</name>
1717
<build>
1818
<finalName>OpenOfficeLauncher</finalName>
19-
<plugins>
20-
<plugin>
21-
<groupId>org.apache.maven.plugins</groupId>
22-
<artifactId>maven-compiler-plugin</artifactId>
23-
<configuration>
24-
<encoding>${project.build.sourceEncoding}</encoding>
25-
</configuration>
26-
</plugin>
27-
<plugin>
28-
<groupId>org.apache.maven.plugins</groupId>
29-
<artifactId>maven-resources-plugin</artifactId>
30-
<configuration>
31-
<encoding>${project.build.sourceEncoding}</encoding>
32-
</configuration>
33-
</plugin>
34-
</plugins>
3519
</build>
20+
3621
<dependencies>
3722
<dependency>
3823
<groupId>junit</groupId>
@@ -79,9 +64,42 @@
7964
<artifactId>xercesImpl</artifactId>
8065
</dependency>
8166
</dependencies>
67+
<profiles>
68+
<profile>
69+
<id>signing</id>
70+
<build>
71+
<plugins>
72+
<plugin>
73+
<artifactId>maven-jarsigner-plugin</artifactId>
74+
<executions>
75+
<execution>
76+
<id>Signing</id>
77+
<goals>
78+
<goal>sign</goal>
79+
</goals>
80+
</execution>
81+
</executions>
82+
<configuration>
83+
<alias>Silverpeas</alias>
84+
<storetype>pkcs12</storetype>
85+
<keystore>${silverpeas.keystore}</keystore>
86+
<storepass>${silverpeas.storepass}</storepass>
87+
<verbose>true</verbose>
88+
<keypass>${silverpeas.storepass}</keypass>
89+
</configuration>
90+
</plugin>
91+
</plugins>
92+
</build>
93+
</profile>
94+
</profiles>
95+
96+
8297
<properties>
83-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
98+
<silverpeas.keystore>${env.SILVERPEAS_HOME}/bin/silverpeas.p12</silverpeas.keystore>
99+
<silverpeas.storepass>changeit</silverpeas.storepass>
84100
</properties>
101+
102+
85103
</project>
86104

87105

0 commit comments

Comments
 (0)