Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFLY-19077] Add maven central to archetype poms that declared JBoss Nexus as a repository #81

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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