Switch to OSSRH (#2334)
This commit is contained in:
parent
878e78f84c
commit
2fec454098
2 changed files with 46 additions and 5 deletions
|
@ -25,6 +25,12 @@
|
||||||
<description>Keycloak Administration UI</description>
|
<description>Keycloak Administration UI</description>
|
||||||
|
|
||||||
<properties>
|
<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.12</nexus.staging.plugin.version>
|
<nexus.staging.plugin.version>1.6.12</nexus.staging.plugin.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -64,10 +70,15 @@
|
||||||
<id>nexus-staging</id>
|
<id>nexus-staging</id>
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>jboss-releases-repository</id>
|
<id>${jboss.releases.repo.id}</id>
|
||||||
<name>JBoss Releases Repository</name>
|
<name>JBoss Releases Repository</name>
|
||||||
<url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
|
<url>${jboss.releases.repo.url}</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>${jboss.snapshots.repo.id}</id>
|
||||||
|
<name>JBoss Snapshots Repository</name>
|
||||||
|
<url>${jboss.snapshots.repo.url}</url>
|
||||||
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
@ -78,6 +89,36 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>gpg</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
|
<version>3.0.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>sign-artifacts</id>
|
||||||
|
<phase>verify</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>sign</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<gpgArguments>
|
||||||
|
<arg>--batch</arg>
|
||||||
|
<arg>--pinentry-mode</arg>
|
||||||
|
<arg>loopback</arg>
|
||||||
|
</gpgArguments>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -89,8 +130,8 @@
|
||||||
<version>${nexus.staging.plugin.version}</version>
|
<version>${nexus.staging.plugin.version}</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<nexusUrl>https://repository.jboss.org/nexus</nexusUrl>
|
<serverId>${jboss.releases.repo.id}</serverId>
|
||||||
<serverId>jboss-releases-repository</serverId>
|
<nexusUrl>${jboss.repo.nexusUrl}</nexusUrl>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
|
@ -7,7 +7,7 @@ echo "--------------------------------------------------------------------------
|
||||||
echo "Building:"
|
echo "Building:"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
mvn --file=./keycloak-theme/pom.xml -Pnexus-staging -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy
|
mvn --file=./keycloak-theme/pom.xml -Pnexus-staging,gpg -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy
|
||||||
|
|
||||||
echo "------------------------------------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------------------------------------"
|
||||||
echo "Create tag:"
|
echo "Create tag:"
|
||||||
|
|
Loading…
Reference in a new issue