Skip to content

Commit 112616a

Browse files
committed
Fixed some pom issues
1 parent 69b1897 commit 112616a

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

pom.xml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,32 @@
4747
</repository>
4848
</distributionManagement>
4949

50+
5051
<build>
5152
<plugins>
53+
<plugin>
54+
<groupId>org.sonatype.central</groupId>
55+
<artifactId>central-publishing-maven-plugin</artifactId>
56+
<version>0.8.0</version>
57+
<extensions>true</extensions>
58+
<configuration>
59+
<publishingServerId>central</publishingServerId>
60+
</configuration>
61+
</plugin>
62+
<plugin>
63+
<groupId>org.apache.maven.plugins</groupId>
64+
<artifactId>maven-gpg-plugin</artifactId>
65+
<version>3.2.7</version>
66+
<executions>
67+
<execution>
68+
<id>sign-artifacts</id>
69+
<phase>verify</phase>
70+
<goals>
71+
<goal>sign</goal>
72+
</goals>
73+
</execution>
74+
</executions>
75+
</plugin>
5276
<plugin>
5377
<groupId>org.apache.maven.plugins</groupId>
5478
<artifactId>maven-compiler-plugin</artifactId>
@@ -249,29 +273,6 @@
249273
</plugins>
250274
</build>
251275

252-
<profiles>
253-
<profile>
254-
<id>sign-artifacts</id>
255-
<build>
256-
<plugins>
257-
<plugin>
258-
<groupId>org.apache.maven.plugins</groupId>
259-
<artifactId>maven-gpg-plugin</artifactId>
260-
<version>3.2.7</version>
261-
<executions>
262-
<execution>
263-
<id>sign-artifacts</id>
264-
<phase>verify</phase>
265-
<goals>
266-
<goal>sign</goal>
267-
</goals>
268-
</execution>
269-
</executions>
270-
</plugin>
271-
</plugins>
272-
</build>
273-
</profile>
274-
</profiles>
275276

276277
<dependencies>
277278
<!-- @Nullable annotation -->

0 commit comments

Comments
 (0)