diff --git a/.github/settings.xml b/.github/settings.xml
index d2ef38992dc2..e7974ab9bbda 100644
--- a/.github/settings.xml
+++ b/.github/settings.xml
@@ -2,13 +2,47 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
-
-
- jboss-public-repository-group-https
- jboss-public-repository-group
- Jboss public https
- https://repository.jboss.org/nexus/content/groups/public/
-
-
-
+
+
+ update-policy
+
+ true
+
+
+
+ central
+ Maven Central
+ https://repo.maven.apache.org/maven2
+
+ false
+
+
+ interval:43200
+
+
+
+ jboss-public-repository
+ Jboss Public
+ https://repository.jboss.org/nexus/content/groups/public/
+
+ false
+
+
+ interval:43200
+
+
+
+ redhat-enterprise-maven-repository
+ Red Hat Enterprise Maven Repository
+ https://maven.repository.redhat.com/ga/
+
+ false
+
+
+ interval:43200
+
+
+
+
+
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 413ef4c2c6f2..3f7ff455c7aa 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,7 +27,7 @@ jobs:
with:
path: |
~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Build Keycloak
@@ -69,7 +69,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Cleanup org.keycloak artifacts
run: rm -rf ~/.m2/repository/org/keycloak >/dev/null || true
@@ -110,7 +110,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Cleanup org.keycloak artifacts
run: rm -rf ~/.m2/repository/org/keycloak >/dev/null || true
@@ -158,7 +158,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Download built keycloak
@@ -226,7 +226,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Cleanup org.keycloak artifacts
@@ -293,7 +293,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Cleanup org.keycloak artifacts
@@ -343,7 +343,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Cleanup org.keycloak artifacts
run: rm -rf ~/.m2/repository/org/keycloak >/dev/null || true
@@ -392,7 +392,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Cleanup org.keycloak artifacts
run: rm -rf ~/.m2/repository/org/keycloak >/dev/null || true
@@ -464,7 +464,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2/repository
- key: cache-1-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ key: cache-2-${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: cache-1-${{ runner.os }}-m2
- name: Cleanup org.keycloak artifacts
run: rm -rf ~/.m2/repository/org/keycloak >/dev/null || true
diff --git a/adapters/oidc/wildfly/wildfly-adapter/pom.xml b/adapters/oidc/wildfly/wildfly-adapter/pom.xml
index 3bf0811037f1..c57c98199956 100644
--- a/adapters/oidc/wildfly/wildfly-adapter/pom.xml
+++ b/adapters/oidc/wildfly/wildfly-adapter/pom.xml
@@ -30,18 +30,6 @@
Keycloak Wildfly Integration
-
-
-
- jboss-enterprise-maven-repository
- JBoss Enterprise Maven Repository
- https://maven.repository.redhat.com/ga/
-
- false
-
-
-
-
org.jboss.logging
diff --git a/adapters/saml/wildfly/wildfly-adapter/pom.xml b/adapters/saml/wildfly/wildfly-adapter/pom.xml
index 79f340381de6..568bb274f7d0 100755
--- a/adapters/saml/wildfly/wildfly-adapter/pom.xml
+++ b/adapters/saml/wildfly/wildfly-adapter/pom.xml
@@ -30,18 +30,6 @@
Keycloak Wildfly SAML Adapter
-
-
-
- jboss-enterprise-maven-repository
- JBoss Enterprise Maven Repository
- https://maven.repository.redhat.com/ga/
-
- false
-
-
-
-
org.jboss.logging
diff --git a/adapters/spi/jboss-adapter-core/pom.xml b/adapters/spi/jboss-adapter-core/pom.xml
index 746c516ce83b..56668d3dd8cf 100755
--- a/adapters/spi/jboss-adapter-core/pom.xml
+++ b/adapters/spi/jboss-adapter-core/pom.xml
@@ -35,18 +35,6 @@
1.7
-
-
-
- jboss-enterprise-maven-repository
- JBoss Enterprise Maven Repository
- https://maven.repository.redhat.com/ga/
-
- false
-
-
-
-
org.jboss.logging
diff --git a/boms/pom.xml b/boms/pom.xml
index 709fc3b46e0d..44f853ffbe7c 100644
--- a/boms/pom.xml
+++ b/boms/pom.xml
@@ -48,24 +48,7 @@
spi
misc
-
-
-
-
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.5
- true
-
- https://repository.jboss.org/nexus
- jboss-releases-repository
-
-
-
-
-
-
+
nexus-staging
diff --git a/distribution/pom.xml b/distribution/pom.xml
index d3148cc15cbd..1210f5768558 100755
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -47,22 +47,30 @@
-
- jboss-enterprise-maven-repository
- JBoss Enterprise Maven Repository
- https://maven.repository.redhat.com/ga/
+ central
+ Maven Central
+ https://repo.maven.apache.org/maven2
false
- jboss
+ jboss-public-repository
+ Jboss Public
https://repository.jboss.org/nexus/content/groups/public/
false
+
+ redhat-enterprise-maven-repository
+ Red Hat Enterprise Maven Repository
+ https://maven.repository.redhat.com/ga/
+
+ false
+
+
diff --git a/examples/broker/facebook-authentication/pom.xml b/examples/broker/facebook-authentication/pom.xml
index bd22ef3bd504..367a8e277781 100755
--- a/examples/broker/facebook-authentication/pom.xml
+++ b/examples/broker/facebook-authentication/pom.xml
@@ -34,17 +34,6 @@
An example about how to authenticate with Facebook
-
-
- jboss
- jboss repo
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
-
-
-
facebook-authentication
diff --git a/examples/broker/google-authentication/pom.xml b/examples/broker/google-authentication/pom.xml
index 3a92f9eb5079..429bc7e021df 100755
--- a/examples/broker/google-authentication/pom.xml
+++ b/examples/broker/google-authentication/pom.xml
@@ -34,17 +34,6 @@
An example about how to authenticate with Google
-
-
- jboss
- jboss repo
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
-
-
-
google-authentication
diff --git a/examples/broker/saml-broker-authentication/pom.xml b/examples/broker/saml-broker-authentication/pom.xml
index 158e626d4db3..5f9c0e4a475b 100755
--- a/examples/broker/saml-broker-authentication/pom.xml
+++ b/examples/broker/saml-broker-authentication/pom.xml
@@ -34,17 +34,6 @@
An example about how to broker a SAML v2 Identity Provider
-
-
- jboss
- jboss repo
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
-
-
-
saml-broker-authentication
diff --git a/examples/broker/twitter-authentication/pom.xml b/examples/broker/twitter-authentication/pom.xml
index b89699236a71..6860cdccb3a7 100755
--- a/examples/broker/twitter-authentication/pom.xml
+++ b/examples/broker/twitter-authentication/pom.xml
@@ -34,17 +34,6 @@
An example about how to authenticate with Twitter
-
-
- jboss
- jboss repo
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
-
-
-
org.keycloak
diff --git a/examples/cors/database-service/pom.xml b/examples/cors/database-service/pom.xml
index 186f1ce82b04..5b48e0be1609 100755
--- a/examples/cors/database-service/pom.xml
+++ b/examples/cors/database-service/pom.xml
@@ -32,17 +32,6 @@
https://maven.apache.org
-
-
- jboss
- jboss repo
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
-
-
-
org.jboss.resteasy
diff --git a/examples/kerberos/pom.xml b/examples/kerberos/pom.xml
index 6306eee7eff1..a268df6597e9 100755
--- a/examples/kerberos/pom.xml
+++ b/examples/kerberos/pom.xml
@@ -33,17 +33,6 @@
Kerberos Credential Delegation Example
-
-
- jboss
- jboss repo
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
-
-
-
org.jboss.spec.javax.servlet
diff --git a/examples/ldap/pom.xml b/examples/ldap/pom.xml
index e07e5f2e0013..85f39cb52492 100644
--- a/examples/ldap/pom.xml
+++ b/examples/ldap/pom.xml
@@ -31,17 +31,6 @@
war
LDAP Demo Application
-
-
- jboss
- jboss repo
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
-
-
-
org.jboss.spec.javax.servlet
diff --git a/pom.xml b/pom.xml
index 52f3fbdf11d2..8d70df5f1bdb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,7 +115,7 @@
1.1.6
1.5.4.Final
1.5.2
- 5.0.3.Final-redhat-00007
+ 5.0.3.Final
30.1-jre
diff --git a/quarkus/pom.xml b/quarkus/pom.xml
index 80b428610797..51450ba4daff 100644
--- a/quarkus/pom.xml
+++ b/quarkus/pom.xml
@@ -159,10 +159,21 @@
+
+ central
+ Maven Central
+ https://repo.maven.apache.org/maven2
+
+ false
+
+
jboss-public-repository
Jboss Public
https://repository.jboss.org/nexus/content/groups/public/
+
+ false
+