Skip to content

Commit

Permalink
add profiles and distro mgmt for mvn release
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdaffurn committed Sep 10, 2024
1 parent 83d0783 commit a0f9b4c
Showing 1 changed file with 82 additions and 24 deletions.
106 changes: 82 additions & 24 deletions jvm-runtime/ftl-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -293,32 +293,90 @@
</plugins>
</build>
</profile>
<profile>
<id>sign-artifacts</id>
<build>
<plugins>
<plugin>
<groupId>org.simplify4u.plugins</groupId>
<artifactId>sign-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- https://central.sonatype.org/publish/publish-maven/#deployment -->
<id>ossrh</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh-releases</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh-snapshots</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<!-- Sonatype's OSSRH - replicates to Maven Central within 30min of publish -->
<repository>
<id>ossrh-releases</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>

<repositories>
<repository>
<id>tbd-oss-thirdparty</id>
<name>tbd-oss-thirdparty</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<url>https://blockxyz.jfrog.io/artifactory/tbd-oss-thirdparty-maven2/</url>
</repository>
<repository>
<id>tbd-oss-snapshots</id>
<name>tbd-oss-snapshots</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>https://blockxyz.jfrog.io/artifactory/tbd-oss-snapshots-maven2/</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>tbd-oss-releases</id>
<name>TBD OSS Releases Repository</name>
<url>https://blockxyz.jfrog.io/artifactory/tbd-oss-releases-maven2</url>
<layout>default</layout>
</repository>
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<id>tbd-oss-snapshots</id>
<name>TBD OSS Snapshots Repository</name>
<url>https://blockxyz.jfrog.io/artifactory/tbd-oss-snapshots-maven2</url>
<layout>default</layout>
</snapshotRepository>
</distributionManagement>

<repositories>
<repository>
<id>tbd-oss-thirdparty</id>
<name>tbd-oss-thirdparty</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<url>https://blockxyz.jfrog.io/artifactory/tbd-oss-thirdparty-maven2/</url>
</repository>
<repository>
<id>tbd-oss-snapshots</id>
<name>tbd-oss-snapshots</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>https://blockxyz.jfrog.io/artifactory/tbd-oss-snapshots-maven2/</url>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
Expand Down

0 comments on commit a0f9b4c

Please sign in to comment.