keycloak-memoizeit
Changes
.travis.yml 3(+1 -2)
examples/basic-auth/pom.xml 3(+3 -0)
examples/kerberos/pom.xml 3(+3 -0)
examples/ldap/pom.xml 5(+4 -1)
pom.xml 3(+3 -0)
travis-run-tests.sh 22(+11 -11)
Details
.travis.yml 3(+1 -2)
diff --git a/.travis.yml b/.travis.yml
index cb32d21..57147b0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,6 @@ env:
- TESTS=group2
- TESTS=group3
- TESTS=group4
- - TESTS=adapter
- TESTS=old
jdk:
@@ -26,7 +25,7 @@ before_script:
- export MAVEN_SKIP_RC=true
install:
- - travis_wait 60 mvn install -Pdistribution -DskipTests=true -B -V -q
+ - travis_wait 60 mvn install --no-snapshot-updates -Pdistribution -DskipTests=true -B -V -q
script:
- ./travis-run-tests.sh $TESTS
examples/basic-auth/pom.xml 3(+3 -0)
diff --git a/examples/basic-auth/pom.xml b/examples/basic-auth/pom.xml
index b7553c7..375576f 100755
--- a/examples/basic-auth/pom.xml
+++ b/examples/basic-auth/pom.xml
@@ -39,6 +39,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/broker/facebook-authentication/pom.xml b/examples/broker/facebook-authentication/pom.xml
index dfa55d5..679da11 100755
--- a/examples/broker/facebook-authentication/pom.xml
+++ b/examples/broker/facebook-authentication/pom.xml
@@ -39,6 +39,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/broker/google-authentication/pom.xml b/examples/broker/google-authentication/pom.xml
index 9d35f9d..c756369 100755
--- a/examples/broker/google-authentication/pom.xml
+++ b/examples/broker/google-authentication/pom.xml
@@ -39,6 +39,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/broker/saml-broker-authentication/pom.xml b/examples/broker/saml-broker-authentication/pom.xml
index 7f5007d..3a8d8a0 100755
--- a/examples/broker/saml-broker-authentication/pom.xml
+++ b/examples/broker/saml-broker-authentication/pom.xml
@@ -39,6 +39,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/broker/twitter-authentication/pom.xml b/examples/broker/twitter-authentication/pom.xml
index 9621d70..cd9a29b 100755
--- a/examples/broker/twitter-authentication/pom.xml
+++ b/examples/broker/twitter-authentication/pom.xml
@@ -39,6 +39,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/cors/database-service/pom.xml b/examples/cors/database-service/pom.xml
index 6ce9768..62362ca 100755
--- a/examples/cors/database-service/pom.xml
+++ b/examples/cors/database-service/pom.xml
@@ -37,6 +37,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/demo-template/admin-access-app/pom.xml b/examples/demo-template/admin-access-app/pom.xml
index 9804f42..05d6f5a 100755
--- a/examples/demo-template/admin-access-app/pom.xml
+++ b/examples/demo-template/admin-access-app/pom.xml
@@ -36,6 +36,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/demo-template/customer-app/pom.xml b/examples/demo-template/customer-app/pom.xml
index 7653d76..3b506e6 100755
--- a/examples/demo-template/customer-app/pom.xml
+++ b/examples/demo-template/customer-app/pom.xml
@@ -36,6 +36,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/demo-template/customer-app-filter/pom.xml b/examples/demo-template/customer-app-filter/pom.xml
index 38ae270..ffd6087 100755
--- a/examples/demo-template/customer-app-filter/pom.xml
+++ b/examples/demo-template/customer-app-filter/pom.xml
@@ -36,6 +36,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/demo-template/database-service/pom.xml b/examples/demo-template/database-service/pom.xml
index d5e0b6e..c096926 100755
--- a/examples/demo-template/database-service/pom.xml
+++ b/examples/demo-template/database-service/pom.xml
@@ -37,6 +37,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/demo-template/example-ear/pom.xml b/examples/demo-template/example-ear/pom.xml
index edfc4ab..ad1e7e5 100755
--- a/examples/demo-template/example-ear/pom.xml
+++ b/examples/demo-template/example-ear/pom.xml
@@ -36,6 +36,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/demo-template/offline-access-app/pom.xml b/examples/demo-template/offline-access-app/pom.xml
index 6f185c3..4fec256 100755
--- a/examples/demo-template/offline-access-app/pom.xml
+++ b/examples/demo-template/offline-access-app/pom.xml
@@ -36,6 +36,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/examples/demo-template/product-app/pom.xml b/examples/demo-template/product-app/pom.xml
index 6426043..c9d2090 100755
--- a/examples/demo-template/product-app/pom.xml
+++ b/examples/demo-template/product-app/pom.xml
@@ -36,6 +36,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
examples/kerberos/pom.xml 3(+3 -0)
diff --git a/examples/kerberos/pom.xml b/examples/kerberos/pom.xml
index a2f16f4..74276bf 100755
--- a/examples/kerberos/pom.xml
+++ b/examples/kerberos/pom.xml
@@ -38,6 +38,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
examples/ldap/pom.xml 5(+4 -1)
diff --git a/examples/ldap/pom.xml b/examples/ldap/pom.xml
index 498b222..32d05d4 100644
--- a/examples/ldap/pom.xml
+++ b/examples/ldap/pom.xml
@@ -36,6 +36,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
@@ -101,4 +104,4 @@
</profile>
</profiles>
-</project>
\ No newline at end of file
+</project>
pom.xml 3(+3 -0)
diff --git a/pom.xml b/pom.xml
index 72a4c4a..25e150b 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1350,6 +1350,9 @@
<repository>
<id>jboss</id>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
diff --git a/testsuite/integration-arquillian/test-apps/js-database/pom.xml b/testsuite/integration-arquillian/test-apps/js-database/pom.xml
index 04e6049..49de1a9 100644
--- a/testsuite/integration-arquillian/test-apps/js-database/pom.xml
+++ b/testsuite/integration-arquillian/test-apps/js-database/pom.xml
@@ -18,6 +18,9 @@
<id>jboss</id>
<name>jboss repo</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
@@ -68,4 +71,4 @@
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
travis-run-tests.sh 22(+11 -11)
diff --git a/travis-run-tests.sh b/travis-run-tests.sh
index f3adebf..4db6307 100755
--- a/travis-run-tests.sh
+++ b/travis-run-tests.sh
@@ -1,40 +1,40 @@
#!/bin/bash -e
if [ $1 == "old" ]; then
- mvn test -B -f testsuite/integration
- mvn test -B -f testsuite/jetty
- mvn test -B -f testsuite/tomcat6
- mvn test -B -f testsuite/tomcat7
- mvn test -B -f testsuite/tomcat8
+ mvn test -B --no-snapshot-updates -f testsuite/integration
+ mvn test -B --no-snapshot-updates -f testsuite/jetty
+ mvn test -B --no-snapshot-updates -f testsuite/tomcat6
+ mvn test -B --no-snapshot-updates -f testsuite/tomcat7
+ mvn test -B --no-snapshot-updates -f testsuite/tomcat8
fi
if [ $1 == "group1" ]; then
cd testsuite/integration-arquillian/tests/base
- mvn test -B -Dtest=org.keycloak.testsuite.ad*.**.*Test
+ mvn test -B --no-snapshot-updates -Dtest=org.keycloak.testsuite.ad*.**.*Test
fi
if [ $1 == "group2" ]; then
cd testsuite/integration-arquillian/tests/base
- mvn test -B -Dtest=org.keycloak.testsuite.ac*.**.*Test,org.keycloak.testsuite.b*.**.*Test,org.keycloak.testsuite.cli*.**.*Test,org.keycloak.testsuite.co*.**.*Test
+ mvn test -B --no-snapshot-updates -Dtest=org.keycloak.testsuite.ac*.**.*Test,org.keycloak.testsuite.b*.**.*Test,org.keycloak.testsuite.cli*.**.*Test,org.keycloak.testsuite.co*.**.*Test
fi
if [ $1 == "group3" ]; then
cd testsuite/integration-arquillian/tests/base
- mvn test -B -Dtest=org.keycloak.testsuite.d*.**.*Test,org.keycloak.testsuite.e*.**.*Test,org.keycloak.testsuite.f*.**.*Test,org.keycloak.testsuite.i*.**.*Test
+ mvn test -B --no-snapshot-updates -Dtest=org.keycloak.testsuite.d*.**.*Test,org.keycloak.testsuite.e*.**.*Test,org.keycloak.testsuite.f*.**.*Test,org.keycloak.testsuite.i*.**.*Test
fi
if [ $1 == "group4" ]; then
cd testsuite/integration-arquillian/tests/base
- mvn test -B -Dtest=org.keycloak.testsuite.k*.**.*Test,org.keycloak.testsuite.m*.**.*Test,org.keycloak.testsuite.o*.**.*Test,org.keycloak.testsuite.s*.**.*Test
+ mvn test -B --no-snapshot-updates -Dtest=org.keycloak.testsuite.k*.**.*Test,org.keycloak.testsuite.m*.**.*Test,org.keycloak.testsuite.o*.**.*Test,org.keycloak.testsuite.s*.**.*Test
fi
if [ $1 == "adapter" ]; then
cd testsuite/integration-arquillian/tests/other/adapters
- mvn test -B
+ mvn test -B --no-snapshot-updates
fi
if [ $1 == "console" ]; then
cd testsuite/integration-arquillian/tests/other/console
- mvn test -B
+ mvn test -B --no-snapshot-updates
fi