Skip to content

Commit

Permalink
Added nexus-staging-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-v committed Jan 12, 2021
1 parent 08f8437 commit 137684b
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.scalecube</groupId>
Expand Down Expand Up @@ -55,6 +57,8 @@
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-dependency-plugin.version>3.1.2</maven-dependency-plugin.version>
<versions-maven-plugin.version>2.7</versions-maven-plugin.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>

<!-- check style configuration -->
<checkstyle.config.location>google_checks.xml</checkstyle.config.location>
Expand Down Expand Up @@ -192,8 +196,19 @@
<releaseProfiles>release</releaseProfiles>
<tagNameFormat>release-@{project.version}</tagNameFormat>
<goals>deploy</goals>
<username>${env.GITHUB_ACTOR}</username>
<password>${env.GITHUB_TOKEN}</password>
<!-- <username>${env.GITHUB_ACTOR}</username>-->
<!-- <password>${env.GITHUB_TOKEN}</password>-->
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
Expand All @@ -211,7 +226,7 @@
<message>The reactor is not valid</message>
<ignoreModuleDependencies>true</ignoreModuleDependencies>
</reactorModuleConvergence>
<dependencyConvergence />
<dependencyConvergence/>
</rules>
</configuration>
</execution>
Expand Down Expand Up @@ -407,6 +422,10 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</profile>
</profiles>

Expand Down

0 comments on commit 137684b

Please sign in to comment.