Skip to content

Commit d7eafa2

Browse files
authored
Merge pull request #17 from mxenabled/mc/update_maven_plugin
Remove profiles and update maven gpg version
2 parents 8c0d0eb + 193ad84 commit d7eafa2

1 file changed

Lines changed: 13 additions & 43 deletions

File tree

pom.xml

Lines changed: 13 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
3131
</developer>
3232
</developers>
3333

34+
<distributionManagement>
35+
<snapshotRepository>
36+
<id>ossrh</id>
37+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
38+
</snapshotRepository>
39+
<repository>
40+
<id>ossrh</id>
41+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
42+
</repository>
43+
</distributionManagement>
44+
3445
<build>
3546
<plugins>
3647
<plugin>
@@ -40,14 +51,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
4051
<extensions>true</extensions>
4152
<configuration>
4253
<serverId>ossrh</serverId>
43-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
54+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
4455
<autoReleaseAfterClose>true</autoReleaseAfterClose>
4556
</configuration>
4657
</plugin>
4758
<plugin>
4859
<groupId>org.apache.maven.plugins</groupId>
4960
<artifactId>maven-gpg-plugin</artifactId>
50-
<version>1.5</version>
61+
<version>3.0.1</version>
5162
<executions>
5263
<execution>
5364
<id>sign-artifacts</id>
@@ -216,47 +227,6 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
216227
</plugins>
217228
</build>
218229

219-
<distributionManagement>
220-
<snapshotRepository>
221-
<id>ossrh</id>
222-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
223-
</snapshotRepository>
224-
<repository>
225-
<id>ossrh</id>
226-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
227-
</repository>
228-
</distributionManagement>
229-
230-
<profiles>
231-
<profile>
232-
<id>sign-artifacts</id>
233-
<build>
234-
<plugins>
235-
<plugin>
236-
<groupId>org.apache.maven.plugins</groupId>
237-
<artifactId>maven-gpg-plugin</artifactId>
238-
<version>1.5</version>
239-
<executions>
240-
<execution>
241-
<id>sign-artifacts</id>
242-
<phase>verify</phase>
243-
<goals>
244-
<goal>sign</goal>
245-
</goals>
246-
</execution>
247-
</executions>
248-
<configuration>
249-
<gpgArguments>
250-
<arg>--pinentry-mode</arg>
251-
<arg>loopback</arg>
252-
</gpgArguments>
253-
</configuration>
254-
</plugin>
255-
</plugins>
256-
</build>
257-
</profile>
258-
</profiles>
259-
260230
<dependencies>
261231
<dependency>
262232
<groupId>io.swagger</groupId>

0 commit comments

Comments
 (0)