keycloak-uncached

Details

diff --git a/dependencies/drools-bom/pom.xml b/dependencies/drools-bom/pom.xml
index 90f31ed..f7fc16c 100644
--- a/dependencies/drools-bom/pom.xml
+++ b/dependencies/drools-bom/pom.xml
@@ -3,9 +3,8 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <parent>
         <groupId>org.keycloak</groupId>
-        <artifactId>keycloak-parent</artifactId>
+        <artifactId>keycloak-dependencies-parent</artifactId>
         <version>5.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/dependencies/pom.xml b/dependencies/pom.xml
index a9dea87..b1f7e56 100755
--- a/dependencies/pom.xml
+++ b/dependencies/pom.xml
@@ -35,16 +35,4 @@
         <module>server-min</module>
         <module>server-all</module>
     </modules>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 </project>
diff --git a/dependencies/server-all/pom.xml b/dependencies/server-all/pom.xml
index f4dc31e..ce02e5b 100755
--- a/dependencies/server-all/pom.xml
+++ b/dependencies/server-all/pom.xml
@@ -19,10 +19,9 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 	<parent>
-		<artifactId>keycloak-parent</artifactId>
+		<artifactId>keycloak-dependencies-parent</artifactId>
 		<groupId>org.keycloak</groupId>
 		<version>5.0.0</version>
-		<relativePath>../../pom.xml</relativePath>
 	</parent>
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/dependencies/server-min/pom.xml b/dependencies/server-min/pom.xml
index ec85c2e..0e163e7 100755
--- a/dependencies/server-min/pom.xml
+++ b/dependencies/server-min/pom.xml
@@ -19,10 +19,9 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 	<parent>
-		<artifactId>keycloak-parent</artifactId>
+		<artifactId>keycloak-dependencies-parent</artifactId>
 		<groupId>org.keycloak</groupId>
 		<version>5.0.0</version>
-		<relativePath>../../pom.xml</relativePath>
 	</parent>
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/distribution/api-docs-dist/pom.xml b/distribution/api-docs-dist/pom.xml
index 07ca089..8ae6a33 100755
--- a/distribution/api-docs-dist/pom.xml
+++ b/distribution/api-docs-dist/pom.xml
@@ -115,6 +115,13 @@
                             <skip>true</skip>
                         </configuration>
                     </plugin>
+                    <plugin>
+                        <groupId>org.sonatype.plugins</groupId>
+                        <artifactId>nexus-staging-maven-plugin</artifactId>
+                        <configuration>
+                            <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
+                        </configuration>
+                    </plugin>
                 </plugins>
             </build>
         </profile>
diff --git a/distribution/downloads/pom.xml b/distribution/downloads/pom.xml
index 530dcfd..0c2d015 100755
--- a/distribution/downloads/pom.xml
+++ b/distribution/downloads/pom.xml
@@ -47,6 +47,13 @@
                         </configuration>
                     </plugin>
                     <plugin>
+                        <groupId>org.sonatype.plugins</groupId>
+                        <artifactId>nexus-staging-maven-plugin</artifactId>
+                        <configuration>
+                            <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
+                        </configuration>
+                    </plugin>
+                    <plugin>
                         <groupId>org.codehaus.mojo</groupId>
                         <artifactId>exec-maven-plugin</artifactId>
                         <executions>
diff --git a/distribution/examples-dist/pom.xml b/distribution/examples-dist/pom.xml
index 896492d..741055d 100755
--- a/distribution/examples-dist/pom.xml
+++ b/distribution/examples-dist/pom.xml
@@ -48,6 +48,13 @@
                         </configuration>
                     </plugin>
                     <plugin>
+                        <groupId>org.sonatype.plugins</groupId>
+                        <artifactId>nexus-staging-maven-plugin</artifactId>
+                        <configuration>
+                            <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
+                        </configuration>
+                    </plugin>
+                    <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-antrun-plugin</artifactId>
                         <inherited>false</inherited>
diff --git a/examples/demo-template/pom.xml b/examples/demo-template/pom.xml
index 6a7b49e..d9b9867 100755
--- a/examples/demo-template/pom.xml
+++ b/examples/demo-template/pom.xml
@@ -30,17 +30,6 @@
     <artifactId>keycloak-examples-demo-parent</artifactId>
     <packaging>pom</packaging>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
     <modules>
         <!-- <module>server</module> -->
         <module>customer-app</module>

examples/pom.xml 7(+7 -0)

diff --git a/examples/pom.xml b/examples/pom.xml
index 1eb5779..0e6f2b9 100755
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -40,6 +40,13 @@
                         <skip>true</skip>
                     </configuration>
                 </plugin>
+                <plugin>
+                    <groupId>org.sonatype.plugins</groupId>
+                    <artifactId>nexus-staging-maven-plugin</artifactId>
+                    <configuration>
+                        <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
+                    </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>
diff --git a/examples/saml/pom.xml b/examples/saml/pom.xml
index 2e6929d..4ee03c6 100755
--- a/examples/saml/pom.xml
+++ b/examples/saml/pom.xml
@@ -30,17 +30,6 @@
     <artifactId>keycloak-examples-saml-parent</artifactId>
     <packaging>pom</packaging>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
     <modules>
         <module>post-with-signature</module>
         <module>post-with-encryption</module>
diff --git a/model/infinispan/pom.xml b/model/infinispan/pom.xml
index cddd230..ec0fdd4 100755
--- a/model/infinispan/pom.xml
+++ b/model/infinispan/pom.xml
@@ -19,10 +19,9 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <parent>
-        <artifactId>keycloak-parent</artifactId>
+        <artifactId>keycloak-model-pom</artifactId>
         <groupId>org.keycloak</groupId>
         <version>5.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/model/jpa/pom.xml b/model/jpa/pom.xml
index 5b330f9..5396947 100755
--- a/model/jpa/pom.xml
+++ b/model/jpa/pom.xml
@@ -19,10 +19,9 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <parent>
-        <artifactId>keycloak-parent</artifactId>
+        <artifactId>keycloak-model-pom</artifactId>
         <groupId>org.keycloak</groupId>
         <version>5.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 

model/pom.xml 11(+0 -11)

diff --git a/model/pom.xml b/model/pom.xml
index b70e61f..778a29e 100755
--- a/model/pom.xml
+++ b/model/pom.xml
@@ -30,17 +30,6 @@
     <artifactId>keycloak-model-pom</artifactId>
     <packaging>pom</packaging>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
     <modules>
         <module>jpa</module>
         <module>infinispan</module>

release.sh 4(+2 -2)

diff --git a/release.sh b/release.sh
index a651afc..51b4e24 100755
--- a/release.sh
+++ b/release.sh
@@ -8,14 +8,14 @@ echo "--------------------------------------------------------------------------
 echo "Building:"
 echo ""
 
-mvn -Pjboss-release -DskipTests clean install
+mvn -Pjboss-release -DskipTests -DskipTestsuite clean install
 
 
 echo "------------------------------------------------------------------------------------------------------------"
 echo "Deploying:"
 echo ""
 
-mvn -Pjboss-release,nexus-staging -DretryFailedDeploymentCount=10 -DskipTests -DautoReleaseAfterClose=true deploy
+mvn -Pjboss-release,nexus-staging -DretryFailedDeploymentCount=10 -DskipTests -DskipTestsuite -DautoReleaseAfterClose=true deploy
 
 
 echo "------------------------------------------------------------------------------------------------------------"
diff --git a/testsuite/pom.xml b/testsuite/pom.xml
index 98066e6..9de894c 100755
--- a/testsuite/pom.xml
+++ b/testsuite/pom.xml
@@ -66,6 +66,13 @@
                             <skip>true</skip>
                         </configuration>
                     </plugin>
+                    <plugin>
+                        <groupId>org.sonatype.plugins</groupId>
+                        <artifactId>nexus-staging-maven-plugin</artifactId>
+                        <configuration>
+                            <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
+                        </configuration>
+                    </plugin>
                 </plugins>
             </build>
             <modules>