Skip to content

Commit

Permalink
[WFLY-19077] Add maven central to archetype poms that declared JBoss …
Browse files Browse the repository at this point in the history
…Nexus as a repository
  • Loading branch information
soul2zimate committed Feb 29, 2024
1 parent 439c2c6 commit 454b95a
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,27 @@
<maven.compiler.release>${maven.compiler.release}</maven.compiler.release>
</properties>

<!-- the JBoss community and Red Hat GA Maven repositories -->
<!--
Repositories are defined in the order that they should be used.
(1) Maven central, (2) JBoss community
By default maven central is used last, so it is redefined here to
force it to be used first.
-->
<repositories>
<repository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
<repository>
<releases>
<updatePolicy>never</updatePolicy>
Expand All @@ -67,6 +86,19 @@
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
<pluginRepository>
<releases>
</releases>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,27 @@
<maven.compiler.release>${maven.compiler.release}</maven.compiler.release>
</properties>

<!-- the JBoss community and Red Hat GA Maven repositories -->
<!--
Repositories are defined in the order that they should be used.
(1) Maven central, (2) JBoss community
By default maven central is used last, so it is redefined here to
force it to be used first.
-->
<repositories>
<repository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
<repository>
<releases>
<enabled>true</enabled>
Expand All @@ -78,6 +97,19 @@
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
<pluginRepository>
<releases>
<enabled>true</enabled>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,27 @@
<maven.compiler.release>${maven.compiler.release}</maven.compiler.release>
</properties>

<!-- the JBoss community and Red Hat GA Maven repositories -->
<!--
Repositories are defined in the order that they should be used.
(1) Maven central, (2) JBoss community
By default maven central is used last, so it is redefined here to
force it to be used first.
-->
<repositories>
<repository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
<repository>
<releases>
<enabled>true</enabled>
Expand All @@ -70,6 +89,19 @@
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
<pluginRepository>
<releases>
<enabled>true</enabled>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,64 @@
<maven.compiler.release>${maven.compiler.release}</maven.compiler.release>
</properties>

<!--
Repositories are defined in the order that they should be used.
(1) Maven central, (2) JBoss community
By default maven central is used last, so it is redefined here to
force it to be used first.
-->
<repositories>
<repository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
<repository>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<updatePolicy>never</updatePolicy>
</snapshots>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Main Apache Maven Repository</name>
<url>https://repo.maven.apache.org/maven2/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
<pluginRepository>
<releases>
</releases>
<snapshots>
</snapshots>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>

<build>
<!-- Maven will append the version to the finalName (which is the name
Expand Down

0 comments on commit 454b95a

Please sign in to comment.