Refactor release profiles (#3441)
This commit is contained in:
parent
a6e3e6c212
commit
82a16385d1
1 changed files with 62 additions and 54 deletions
|
@ -26,13 +26,6 @@
|
|||
<description>Keycloak Administration UI</description>
|
||||
|
||||
<properties>
|
||||
<jboss.repo.nexusUrl>https://s01.oss.sonatype.org/</jboss.repo.nexusUrl>
|
||||
<jboss.releases.repo.id>jboss-releases-repository</jboss.releases.repo.id>
|
||||
<jboss.releases.repo.url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</jboss.releases.repo.url>
|
||||
<jboss.snapshots.repo.id>jboss-snapshots-repository</jboss.snapshots.repo.id>
|
||||
<jboss.snapshots.repo.url>https://s01.oss.sonatype.org/content/repositories/snapshots/</jboss.snapshots.repo.url>
|
||||
|
||||
<nexus.staging.plugin.version>1.6.13</nexus.staging.plugin.version>
|
||||
<frontend.maven.plugin.version>1.12.1</frontend.maven.plugin.version>
|
||||
<frontend.maven.plugin.nodeVersion>v18.9.0</frontend.maven.plugin.nodeVersion>
|
||||
|
||||
|
@ -65,16 +58,14 @@
|
|||
</developers>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>${jboss.releases.repo.id}</id>
|
||||
<name>JBoss Releases Repository</name>
|
||||
<url>${jboss.releases.repo.url}</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>${jboss.snapshots.repo.id}</id>
|
||||
<name>JBoss Snapshots Repository</name>
|
||||
<url>${jboss.snapshots.repo.url}</url>
|
||||
<id>ossrh</id>
|
||||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
<repository>
|
||||
<id>ossrh</id>
|
||||
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
<dependencies>
|
||||
|
@ -138,6 +129,32 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.8.2</version>
|
||||
<configuration>
|
||||
<retryFailedDeploymentCount>10</retryFailedDeploymentCount>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>nexus</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</serverId>
|
||||
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
|
||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
@ -169,6 +186,7 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>install-tarball</id>
|
||||
<activation>
|
||||
|
@ -233,16 +251,6 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>${nexus.staging.plugin.version}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>${jboss.releases.repo.id}</serverId>
|
||||
<nexusUrl>${jboss.repo.nexusUrl}</nexusUrl>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.eirslett</groupId>
|
||||
<artifactId>frontend-maven-plugin</artifactId>
|
||||
|
|
Loading…
Reference in a new issue