Skip to content

Commit

Permalink
Added support for Nexus 3 repositories (keycloak#34138)
Browse files Browse the repository at this point in the history
Closes keycloak#34136

Signed-off-by: Miquel Simon <[email protected]>
  • Loading branch information
miquelsi authored Oct 24, 2024
1 parent e6c9f4a commit 6026044
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
20 changes: 19 additions & 1 deletion boms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 6026044

Please sign in to comment.