Skip to content

Commit 1d8d71f

Browse files
cicd: Migrate deploy sonatype maven plugin to central-publishing-maven-plugin #TASK-7783
1 parent 7d3df08 commit 1d8d71f

1 file changed

Lines changed: 0 additions & 56 deletions

File tree

pom.xml

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -317,74 +317,18 @@
317317
<id>deploy-maven</id>
318318
<build>
319319
<plugins>
320-
<plugin>
321-
<groupId>org.apache.maven.plugins</groupId>
322-
<artifactId>maven-source-plugin</artifactId>
323-
<version>3.2.0</version>
324-
<executions>
325-
<execution>
326-
<id>attach-sources</id>
327-
<goals>
328-
<goal>jar-no-fork</goal>
329-
</goals>
330-
</execution>
331-
</executions>
332-
</plugin>
333-
<plugin>
334-
<groupId>org.apache.maven.plugins</groupId>
335-
<artifactId>maven-javadoc-plugin</artifactId>
336-
<version>3.3.2</version>
337-
<executions>
338-
<execution>
339-
<id>attach-javadocs</id>
340-
<goals>
341-
<goal>jar</goal>
342-
</goals>
343-
</execution>
344-
</executions>
345-
<configuration>
346-
<doclint>none</doclint>
347-
</configuration>
348-
</plugin>
349-
<plugin>
350-
<groupId>org.apache.maven.plugins</groupId>
351-
<artifactId>maven-gpg-plugin</artifactId>
352-
<version>1.6</version>
353-
<executions>
354-
<execution>
355-
<id>sign-artifacts</id>
356-
<phase>deploy</phase>
357-
<goals>
358-
<goal>sign</goal>
359-
</goals>
360-
<configuration>
361-
<!-- Prevent `gpg` from using pinentry programs -->
362-
<gpgArguments>
363-
<arg>--pinentry-mode</arg>
364-
<arg>loopback</arg>
365-
</gpgArguments>
366-
</configuration>
367-
</execution>
368-
</executions>
369-
</plugin>
370-
<!-- Unified publishing plugin for Sonatype Central (releases & snapshots) -->
371320
<plugin>
372321
<groupId>org.sonatype.central</groupId>
373322
<artifactId>central-publishing-maven-plugin</artifactId>
374323
<version>0.8.0</version>
375324
<extensions>true</extensions>
376325
<configuration>
377-
<!-- Must match the <server><id>ossrh</id> in your settings.xml -->
378326
<publishingServerId>ossrh</publishingServerId>
379-
<!-- Automatically close and release staging repositories -->
380327
<autoPublish>true</autoPublish>
381-
<!-- Wait until artifacts are actually published -->
382328
<waitUntil>published</waitUntil>
383-
<!-- Skip already published components in multimodule builds -->
384329
<ignorePublishedComponents>true</ignorePublishedComponents>
385330
</configuration>
386331
</plugin>
387-
388332
</plugins>
389333
</build>
390334
</profile>

0 commit comments

Comments
 (0)