Skip to content

Commit 288c1c1

Browse files
committed
Add Nexus staging plugin in appropriate profile
1 parent 46be685 commit 288c1c1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,25 @@
415415
<id>ossrh-release</id>
416416
<build>
417417
<plugins>
418+
<plugin>
419+
<groupId>org.sonatype.plugins</groupId>
420+
<artifactId>nexus-staging-maven-plugin</artifactId>
421+
<version>${nexus-staging-maven-plugin.version}</version>
422+
<executions>
423+
<execution>
424+
<id>default-deploy</id>
425+
<phase>deploy</phase>
426+
<goals>
427+
<goal>deploy</goal>
428+
</goals>
429+
</execution>
430+
</executions>
431+
<configuration>
432+
<serverId>ossrh</serverId>
433+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
434+
<skipStaging>false</skipStaging>
435+
</configuration>
436+
</plugin>
418437
<plugin>
419438
<groupId>org.apache.maven.plugins</groupId>
420439
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)