Skip to content

Commit

Permalink
making split for packages release servers via profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
psenin-sanofi committed Dec 27, 2021
1 parent af72498 commit 1997503
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions pom.xml
@@ -1,5 +1,4 @@
<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 https://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 https://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -89,15 +88,10 @@

<distributionManagement>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/jMotif/SAX</url>
</snapshotRepository>
</repository>
</distributionManagement>

<build>
Expand Down Expand Up @@ -316,6 +310,22 @@
</plugins>
</build>
</profile>

<profile>
<id>mavenCentral</id>
<distributionManagement>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>

</profiles>

<reporting>
Expand Down Expand Up @@ -343,4 +353,4 @@
</plugins>
</reporting>

</project>
</project>

0 comments on commit 1997503

Please sign in to comment.