Skip to content

Commit d6cf9c7

Browse files
committed
Sonatype Central Publisher
1 parent 357021d commit d6cf9c7

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

pom.xml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,6 @@
170170
</plugin>
171171
</plugins>
172172
</build>
173-
<distributionManagement>
174-
<snapshotRepository>
175-
<id>ossrh</id>
176-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
177-
</snapshotRepository>
178-
<repository>
179-
<id>ossrh</id>
180-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
181-
</repository>
182-
</distributionManagement>
183173
<profiles>
184174
<profile>
185175
<id>release</id>
@@ -193,14 +183,12 @@
193183
<plugins>
194184
<plugin>
195185
<groupId>org.apache.maven.plugins</groupId>
196-
<artifactId>maven-gpg-plugin</artifactId>
197-
<version>3.2.7</version>
186+
<artifactId>maven-source-plugin</artifactId>
198187
<executions>
199188
<execution>
200-
<id>sign-artifacts</id>
201-
<phase>verify</phase>
189+
<id>attach-sources</id>
202190
<goals>
203-
<goal>sign</goal>
191+
<goal>jar-no-fork</goal>
204192
</goals>
205193
</execution>
206194
</executions>

0 commit comments

Comments
 (0)