Skip to content

Commit 3ce669b

Browse files
committed
[skip ci] CI automation
1 parent 100bee1 commit 3ce669b

File tree

2 files changed

+26
-14
lines changed

2 files changed

+26
-14
lines changed

.github/ossrhSettings.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,16 @@
66
<password>${MAVEN_PASSWORD}</password>
77
</server>
88
</servers>
9+
<profiles>
10+
<profile>
11+
<id>ossrh</id>
12+
<activation>
13+
<activeByDefault>true</activeByDefault>
14+
</activation>
15+
<properties>
16+
<gpg.executable>gpg2</gpg.executable>
17+
<gpg.passphrase>${GPG_PASS_PHRASE}</gpg.passphrase>
18+
</properties>
19+
</profile>
20+
</profiles>
921
</settings>

pom.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -235,20 +235,20 @@
235235
</execution>
236236
</executions>
237237
</plugin>
238-
<!-- <plugin>-->
239-
<!-- <groupId>org.apache.maven.plugins</groupId>-->
240-
<!-- <artifactId>maven-gpg-plugin</artifactId>-->
241-
<!-- <version>${maven-gpg-plugin.version}</version>-->
242-
<!-- <executions>-->
243-
<!-- <execution>-->
244-
<!-- <id>sign-artifacts</id>-->
245-
<!-- <phase>verify</phase>-->
246-
<!-- <goals>-->
247-
<!-- <goal>sign</goal>-->
248-
<!-- </goals>-->
249-
<!-- </execution>-->
250-
<!-- </executions>-->
251-
<!-- </plugin>-->
238+
<plugin>
239+
<groupId>org.apache.maven.plugins</groupId>
240+
<artifactId>maven-gpg-plugin</artifactId>
241+
<version>${maven-gpg-plugin.version}</version>
242+
<executions>
243+
<execution>
244+
<id>sign-artifacts</id>
245+
<phase>verify</phase>
246+
<goals>
247+
<goal>sign</goal>
248+
</goals>
249+
</execution>
250+
</executions>
251+
</plugin>
252252
</plugins>
253253
</build>
254254
</profile>

0 commit comments

Comments
 (0)