Skip to content

Commit

Permalink
[kie-issues#628] Change JBoss Nexus to Apache Nexus. (#3251)
Browse files Browse the repository at this point in the history
  • Loading branch information
baldimir authored Oct 16, 2023
1 parent 079748b commit 1e27725
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .ci/jenkins/tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<id>apache-public-repository-group</id>
<name>Apache Public Repository Group</name>
<url>https://repository.apache.org/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
Expand Down
41 changes: 20 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@
<name>Kogito Runtimes</name>
<description>Kogito Runtimes</description>


<url>http://kogito.kie.org</url>
<inceptionYear>2019</inceptionYear>
<organization>
<name>JBoss by Red Hat</name>
<url>http://www.jboss.org/</url>
<name>The Apache Software Foundation</name>
<url>https://apache.org/</url>
</organization>

<licenses>
Expand All @@ -34,9 +33,9 @@
</licenses>

<scm>
<connection>scm:git:https://github.com/kiegroup/kogito-runtimes.git</connection>
<developerConnection>scm:git:[email protected]:kiegroup/kogito-runtimes.git</developerConnection>
<url>https://github.com/kiegroup/kogito-runtimes</url>
<connection>scm:git:https://github.com/apache/incubator-kie-kogito-runtimes.git</connection>
<developerConnection>scm:git:[email protected]:apache/incubator-kie-kogito-runtimes.git</developerConnection>
<url>https://github.com/apache/incubator-kie-kogito-runtimes</url>
</scm>

<developers>
Expand All @@ -58,24 +57,24 @@
<!-- distributionManagement section -->
<distributionManagement>
<repository>
<id>jboss-releases-repository</id>
<name>JBoss Releases Repository</name>
<url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
<id>apache-release-staging-repository</id>
<name>Apache Release Staging Repository</name>
<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshot Repository</name>
<url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
<id>apache-snapshots-repository</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

<repositories>
<!-- Bootstrap repository to locate the parent pom when the parent pom
has not been build locally. -->
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<id>apache-public-repository-group</id>
<name>Apache Public Repository Group</name>
<url>https://repository.apache.org/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
Expand All @@ -91,10 +90,10 @@
<pluginRepositories>
<pluginRepository>
<!-- Duplicating the Maven Central repository here (as it is already coming from Super POM) makes the build much faster,
as the Maven Central is now treated as the first (default) repository (because it is before the JBoss.org one).
as the Maven Central is now treated as the first (default) repository (because it is before the Apache Nexus one).
Artifacts with release (fixed) versions are being downloaded primarily from there. Without the central being the
first repository the JBoss.org Nexus would be contacted first and since it is quite slow it slows down the build.
We use JBoss.org repo only to download our SNAPSHOTs. -->
first repository the Apache Nexus would be contacted first and since it is quite slow it slows down the build.
We use Apache Nexus repo only to download our SNAPSHOTs. -->
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
Expand All @@ -104,9 +103,9 @@
</snapshots>
</pluginRepository>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<id>apache-public-repository-group</id>
<name>Apache Public Repository Group</name>
<url>https://repository.apache.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
Expand Down

0 comments on commit 1e27725

Please sign in to comment.