Skip to content

Commit 6f12b24

Browse files
authored
Merge pull request #77 from sameeul/fix_javadoc_issue
Update pom.xml
2 parents eacee52 + b85bb83 commit 6f12b24

File tree

1 file changed

+28
-53
lines changed

1 file changed

+28
-53
lines changed

pom.xml

Lines changed: 28 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,18 @@
174174
<artifactId>maven-surefire-plugin</artifactId>
175175
<version>2.22.2</version>
176176
</plugin>
177-
177+
178+
<plugin>
179+
<groupId>org.sonatype.plugins</groupId>
180+
<artifactId>nexus-staging-maven-plugin</artifactId>
181+
<version>1.7.0</version>
182+
<extensions>true</extensions>
183+
<configuration>
184+
<serverId>ossrh</serverId>
185+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
186+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
187+
</configuration>
188+
</plugin>
178189
</plugins>
179190
</build>
180191
<profiles>
@@ -186,61 +197,25 @@
186197
<version.nexus-staging-maven-plugin>1.7.0</version.nexus-staging-maven-plugin>
187198
</properties>
188199
<build>
189-
<pluginManagement>
190-
<plugins>
191-
<plugin>
192-
<artifactId>maven-release-plugin</artifactId>
193-
<version>${version.maven-release-plugin}</version>
194-
<configuration>
195-
<tagNameFormat>@{project.version}</tagNameFormat>
196-
</configuration>
197-
</plugin>
198-
<plugin>
199-
<artifactId>maven-gpg-plugin</artifactId>
200-
<version>${version.maven-gpg-plugin}</version>
201-
<executions>
202-
<execution>
203-
<id>sign-artifacts</id>
204-
<phase>verify</phase>
205-
<goals>
206-
<goal>sign</goal>
207-
</goals>
208-
<configuration>
209-
<gpgArguments>
210-
<arg>--pinentry-mode</arg>
211-
<arg>loopback</arg>
212-
</gpgArguments>
213-
</configuration>
214-
</execution>
215-
</executions>
216-
</plugin>
217-
218-
<plugin>
219-
<groupId>org.sonatype.central</groupId>
220-
<artifactId>central-publishing-maven-plugin</artifactId>
221-
<version>0.3.0</version>
222-
<extensions>true</extensions>
223-
<configuration>
224-
<publishingServerId>central</publishingServerId>
225-
<tokenAuth>true</tokenAuth>
226-
</configuration>
227-
</plugin>
228-
</plugins>
229-
</pluginManagement>
230200
<plugins>
231201
<plugin>
232202
<artifactId>maven-gpg-plugin</artifactId>
233-
</plugin>
234-
<plugin>
235-
<groupId>org.sonatype.plugins</groupId>
236-
<artifactId>nexus-staging-maven-plugin</artifactId>
237-
<version>1.7.0</version>
238-
<extensions>true</extensions>
239-
<configuration>
240-
<serverId>ossrh</serverId>
241-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
242-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
243-
</configuration>
203+
<version>${version.maven-gpg-plugin}</version>
204+
<executions>
205+
<execution>
206+
<id>sign-artifacts</id>
207+
<phase>verify</phase>
208+
<goals>
209+
<goal>sign</goal>
210+
</goals>
211+
<configuration>
212+
<gpgArguments>
213+
<arg>--pinentry-mode</arg>
214+
<arg>loopback</arg>
215+
</gpgArguments>
216+
</configuration>
217+
</execution>
218+
</executions>
244219
</plugin>
245220
</plugins>
246221
</build>

0 commit comments

Comments
 (0)