Added support for Nexus 3 repositories (#34138)
Closes #34136 Signed-off-by: Miquel Simon <msimonma@redhat.com>
This commit is contained in:
parent
e6c9f4a1f7
commit
602604459d
2 changed files with 40 additions and 1 deletions
20
boms/pom.xml
20
boms/pom.xml
|
@ -47,6 +47,7 @@
|
|||
<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.name>keycloak</jboss.releases.repo.name>
|
||||
<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>
|
||||
|
@ -65,7 +66,7 @@
|
|||
<version>1.6.13</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>jboss-releases-repository</serverId>
|
||||
<serverId>${jboss.releases.repo.id}</serverId>
|
||||
<nexusUrl>${jboss.repo.nexusUrl}</nexusUrl>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
@ -115,5 +116,22 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>nexus3-staging</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nxrm3-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>${jboss.releases.repo.id}</serverId>
|
||||
<nexusUrl>${jboss.repo.nexusUrl}</nexusUrl>
|
||||
<repository>${jboss.releases.repo.name}</repository>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
21
pom.xml
21
pom.xml
|
@ -47,6 +47,7 @@
|
|||
|
||||
<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.name>keycloak</jboss.releases.repo.name>
|
||||
<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>
|
||||
|
@ -191,6 +192,7 @@
|
|||
<jmeter.analysis.plugin.version>1.0.4</jmeter.analysis.plugin.version>
|
||||
<wildfly.plugin.version>5.0.0.Final</wildfly.plugin.version>
|
||||
<nexus.staging.plugin.version>1.6.13</nexus.staging.plugin.version>
|
||||
<nexus3.staging.plugin.version>1.0.7</nexus3.staging.plugin.version>
|
||||
<frontend.plugin.version>1.15.0</frontend.plugin.version>
|
||||
<docker.maven.plugin.version>0.40.3</docker.maven.plugin.version>
|
||||
<verifier.plugin.version>1.1</verifier.plugin.version>
|
||||
|
@ -1675,6 +1677,25 @@
|
|||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>nexus3-staging</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nxrm3-maven-plugin</artifactId>
|
||||
<version>${nexus3.staging.plugin.version}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>${jboss.releases.repo.id}</serverId>
|
||||
<nexusUrl>${jboss.repo.nexusUrl}</nexusUrl>
|
||||
<repository>${jboss.releases.repo.name}</repository>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>gpg</id>
|
||||
<build>
|
||||
|
|
Loading…
Reference in a new issue