Skip to content

Commit

Permalink
Define deploy2Maven profile
Browse files Browse the repository at this point in the history
  • Loading branch information
segabriel committed Jan 12, 2021
1 parent 4fdb2de commit c2a07d8
Showing 1 changed file with 40 additions and 13 deletions.
53 changes: 40 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,6 @@
</repository>
</repositories>

<profiles>
<profile>
<id>deploy2Github</id>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/scalecube/scalecube-cluster</url>
</repository>
</distributionManagement>
</profile>
</profiles>

<scm>
<url>https://github.com/scalecube/scalecube-cluster</url>
<connection>scm:git:https://github.com/scalecube/scalecube-cluster.git</connection>
Expand Down Expand Up @@ -150,4 +137,44 @@
</dependencies>
</dependencyManagement>

<profiles>
<profile>
<id>deploy2Github</id>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/scalecube/scalecube-cluster</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>deploy2Maven</id>
<distributionManagement>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit c2a07d8

Please sign in to comment.