Skip to content

Commit ec89d0e

Browse files
committed
Remove oss-parent and add GPG and central publishing plugins to pom.xml
1 parent 9d62208 commit ec89d0e

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

pom.xml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@
2525
<url>scm:git:[email protected]:codelibs/fesen-httpclient.git</url>
2626
<developerConnection>scm:git:[email protected]:codelibs/fesen-httpclient.git</developerConnection>
2727
</scm>
28-
<parent>
29-
<groupId>org.sonatype.oss</groupId>
30-
<artifactId>oss-parent</artifactId>
31-
<version>9</version>
32-
</parent>
3328
<properties>
3429
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3530
<opensearch.version>2.19.1</opensearch.version>
@@ -129,6 +124,29 @@
129124
<configFile>https://www.codelibs.org/assets/formatter/eclipse-formatter-1.0.xml</configFile>
130125
</configuration>
131126
</plugin>
127+
<plugin>
128+
<groupId>org.apache.maven.plugins</groupId>
129+
<artifactId>maven-gpg-plugin</artifactId>
130+
<version>3.2.7</version>
131+
<executions>
132+
<execution>
133+
<id>sign-artifacts</id>
134+
<phase>verify</phase>
135+
<goals>
136+
<goal>sign</goal>
137+
</goals>
138+
</execution>
139+
</executions>
140+
</plugin>
141+
<plugin>
142+
<groupId>org.sonatype.central</groupId>
143+
<artifactId>central-publishing-maven-plugin</artifactId>
144+
<version>0.7.0</version>
145+
<extensions>true</extensions>
146+
<configuration>
147+
<publishingServerId>central</publishingServerId>
148+
</configuration>
149+
</plugin>
132150
</plugins>
133151
</build>
134152
<repositories>

0 commit comments

Comments
 (0)