Skip to content

Commit 80105d9

Browse files
committed
changing jar signing
1 parent 5065e50 commit 80105d9

1 file changed

Lines changed: 31 additions & 30 deletions

File tree

pom.xml

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -256,36 +256,37 @@
256256
</plugins>
257257
</build>
258258
<profiles>
259-
<!-- <profile> -->
260-
<!-- <id>sign-release-artifacts</id> -->
261-
<!-- <activation> -->
262-
<!-- <property> -->
263-
<!-- <name>performRelease</name> -->
264-
<!-- <value>true</value> -->
265-
<!-- </property> -->
266-
<!-- </activation> -->
267-
<!-- <build> -->
268-
<!-- <plugins> -->
269-
<!-- <plugin> -->
270-
<!-- <groupId>org.apache.maven.plugins</groupId> -->
271-
<!-- <artifactId>maven-gpg-plugin</artifactId> -->
272-
<!-- <version>1.4</version> -->
273-
<!-- <executions> -->
274-
<!-- <execution> -->
275-
<!-- <id>sign-artifacts</id> -->
276-
<!-- <phase>verify</phase> -->
277-
<!-- <goals> -->
278-
<!-- <goal>sign</goal> -->
279-
<!-- </goals> -->
280-
<!-- <configuration> -->
281-
<!-- <keyname>f22e0543</keyname> -->
282-
<!-- </configuration> -->
283-
<!-- </execution> -->
284-
<!-- </executions> -->
285-
<!-- </plugin> -->
286-
<!-- </plugins> -->
287-
<!-- </build> -->
288-
<!-- </profile> -->
259+
<profile>
260+
<id>sign-release-artifacts</id>
261+
<activation>
262+
<property>
263+
<name>performRelease</name>
264+
<value>true</value>
265+
</property>
266+
</activation>
267+
<build>
268+
<plugins>
269+
<plugin>
270+
<groupId>org.apache.maven.plugins</groupId>
271+
<artifactId>maven-gpg-plugin</artifactId>
272+
<version>1.6</version>
273+
<executions>
274+
<execution>
275+
<id>sign-artifacts</id>
276+
<phase>verify</phase>
277+
<goals>
278+
<goal>sign</goal>
279+
</goals>
280+
<configuration>
281+
<keyname>${gpg.keyname}</keyname>
282+
<passphraseServerId>${gpg.keyname}</passphraseServerId>
283+
</configuration>
284+
</execution>
285+
</executions>
286+
</plugin>
287+
</plugins>
288+
</build>
289+
</profile>
289290
<profile>
290291
<id>doclint-java8-disable</id>
291292
<activation>

0 commit comments

Comments
 (0)