diff --git a/README.md b/README.md index 4b1093c..d73eb38 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ System requirements ------------------- All you need to build the quickstarts is Java 7.0 (Java SDK 1.7) or better, Maven 3.0 or better. Each quickstart -produces a web application (WAR) that is designed to be run on JBoss Wildfly 8. +produces a web application (WAR) that is designed to be run on JBoss Wildfly 9. Contents -------- diff --git a/dist/pom.xml b/dist/pom.xml index 93f9de3..2407e0a 100644 --- a/dist/pom.xml +++ b/dist/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.modeshape.quickstarts modeshape-quickstarts-dist - 4.3.0.Final + 4.4-SNAPSHOT ModeShape AS Quickstarts Distribution POM for building the quickstarts distribution. http://www.modeshape.org diff --git a/modeshape-cdi/README.md b/modeshape-cdi/README.md index f5e6221..5cbf726 100644 --- a/modeshape-cdi/README.md +++ b/modeshape-cdi/README.md @@ -12,9 +12,9 @@ System requirements ------------------- All you need to build this project is Java 7.0 (Java SDK 1.7) or better, Maven 3.0 or better. -The application this project produces is designed to be run on JBoss Wildfly 8. +The application this project produces is designed to be run on JBoss Wildfly 9. -Install ModeShape's AS kit into an existing Wildfly 8 server +Install ModeShape's AS kit into an existing Wildfly server ----------------------------------------------------- Before running this demo make sure that you have installed the ModeShape Wildfly kit into an existing JBoss Wildfly server. The simplest way to do this is to follow the instructions provided [here](https://docs.jboss.org/author/display/MODE/Installing+ModeShape+into+AS7) diff --git a/modeshape-cdi/pom.xml b/modeshape-cdi/pom.xml index 558b6b4..2faf494 100644 --- a/modeshape-cdi/pom.xml +++ b/modeshape-cdi/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.modeshape.quickstarts modeshape-cdi - 4.3.0.Final + 4.4-SNAPSHOT war Example of a JSF web application that uses ModeShape via CDI @@ -26,10 +26,10 @@ 2.6 2.12.3 2.3 - 1.0.1.Final + 1.0.2.Final - 4.3.0.Final + 4.4-SNAPSHOT @@ -213,7 +213,7 @@ arq-jbossas-remote - org.wildfly + org.wildfly.arquillian wildfly-arquillian-container-remote diff --git a/modeshape-cdi/src/main/java/org/modeshape/quickstart/cdi/CDIController.java b/modeshape-cdi/src/main/java/org/modeshape/quickstart/cdi/CDIController.java index c774967..40f3da1 100644 --- a/modeshape-cdi/src/main/java/org/modeshape/quickstart/cdi/CDIController.java +++ b/modeshape-cdi/src/main/java/org/modeshape/quickstart/cdi/CDIController.java @@ -16,7 +16,6 @@ package org.modeshape.quickstart.cdi; -import java.util.LinkedHashSet; import java.util.Set; import java.util.TreeSet; import javax.enterprise.context.RequestScoped; diff --git a/modeshape-cli/README.md b/modeshape-cli/README.md index 6210941..f7aed4e 100644 --- a/modeshape-cli/README.md +++ b/modeshape-cli/README.md @@ -12,7 +12,7 @@ System requirements ------------------- All you need to build this project is Java 7.0 (Java SDK 1.7) or better, Maven 3.0 or better. -The application this project produces is designed to be run on JBoss Wildfly 8. +The application this project produces is designed to be run on JBoss Wildfly 9. Install ModeShape's AS kit into an existing JBoss Wildfly server ----------------------------------------------------- diff --git a/modeshape-cli/pom.xml b/modeshape-cli/pom.xml index 403c7b0..8897088 100644 --- a/modeshape-cli/pom.xml +++ b/modeshape-cli/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.modeshape.quickstarts modeshape-cli - 4.3.0.Final + 4.4-SNAPSHOT war Example of a JSF web application that uses CLI scripts to create and remove a repository @@ -26,10 +26,10 @@ 2.6 2.12.3 2.3 - 1.0.1.Final + 1.0.2.Final - 4.3.0.Final + 4.4-SNAPSHOT @@ -200,6 +200,10 @@ + run-scripts-automatically @@ -214,7 +218,7 @@ org.wildfly.plugins wildfly-maven-plugin - + undeploy clean @@ -224,8 +228,8 @@ shutdown - true true + true false @@ -235,16 +239,14 @@ - + create-test-repository execute-commands - shutdown - validate + compile - true @@ -265,7 +267,7 @@ arq-jbossas-remote - org.wildfly + org.wildfly.arquillian wildfly-arquillian-container-remote diff --git a/modeshape-cli/src/main/resources/create-repository.cli b/modeshape-cli/src/main/resources/create-repository.cli index 8a62d8c..7a5b9de 100644 --- a/modeshape-cli/src/main/resources/create-repository.cli +++ b/modeshape-cli/src/main/resources/create-repository.cli @@ -8,19 +8,8 @@ if (outcome != success) of /subsystem=modeshape:read-resource /subsystem=modeshape:add end-if -# Check if the test setup needs creating -if (outcome != success) of /subsystem=infinispan/cache-container=modeshape-test:read-resource - # Setup Infinispan - /subsystem=infinispan/cache-container=modeshape-test:add - /subsystem=infinispan/cache-container=modeshape-test/local-cache=test-cli:add - /subsystem=infinispan/cache-container=modeshape-test/local-cache=test-cli/transaction=TRANSACTION:add(mode=NON_XA) - /subsystem=infinispan/cache-container=modeshape-test/local-cache=test-cli/locking=LOCKING:add(isolation=READ_COMMITTED) - /subsystem=infinispan/cache-container=modeshape-test/local-cache=test-cli/file-store=FILE_STORE:add(path="modeshape/store/test-cli",passivation=false,purge=false) -end-if - # Add the test repository if (outcome != success) of /subsystem=modeshape/repository=test-cli:read-resource - /subsystem=modeshape/repository=test-cli:add(cache-container="modeshape-test") + /subsystem=modeshape/repository=test-cli:add(cache-config="modeshape/sample-cache-config.xml",cache-name="sample") + :reload end-if - -:reload diff --git a/modeshape-cli/src/main/resources/remove-repository.cli b/modeshape-cli/src/main/resources/remove-repository.cli index 163da5f..7f32b1d 100644 --- a/modeshape-cli/src/main/resources/remove-repository.cli +++ b/modeshape-cli/src/main/resources/remove-repository.cli @@ -1,12 +1,6 @@ # Remove the test repository if it exists if (outcome == success) of /subsystem=modeshape/repository=test-cli:read-resource /subsystem=modeshape/repository=test-cli:remove + :reload end-if -# Remove the Infinispan cache container -if (outcome == success) of /subsystem=infinispan/cache-container=modeshape-test:read-resource - # Setup Infinispan - /subsystem=infinispan/cache-container=modeshape-test:remove -end-if - -:reload \ No newline at end of file diff --git a/modeshape-clustering/README.md b/modeshape-clustering/README.md index 39d62f4..ebb11af 100644 --- a/modeshape-clustering/README.md +++ b/modeshape-clustering/README.md @@ -28,11 +28,11 @@ Start 2 JBoss Wildfly instances with the set of provided configurations (see abo 1. Copy the `standalone` folder from the root of the quickstart into the `JBOSS_HOME`folder 2. Open a command line and navigate to the root of the JBoss server directory. -3. Start the `master` server: +3. Start the first server: For Linux: JBOSS_HOME/bin/standalone.sh -c standalone-modeshape-node1.xml For Windows: JBOSS_HOME\bin\standalone.bat -c standalone-modeshape-node1.xml -4. Start the `slave` server: +4. Start the second server: For Linux: JBOSS_HOME/bin/standalone.sh -c standalone-modeshape-node2.xml For Windows: JBOSS_HOME\bin\standalone.bat -c standalone-modeshape-node2.xml diff --git a/modeshape-clustering/pom.xml b/modeshape-clustering/pom.xml index 6601423..aa45e7a 100644 --- a/modeshape-clustering/pom.xml +++ b/modeshape-clustering/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.modeshape.quickstarts modeshape-clustering - 4.3.0.Final + 4.4-SNAPSHOT war Example of a JSF web application that uses several clustered ModeShape servers @@ -26,10 +26,10 @@ 2.6 2.12.3 2.3 - 1.0.1.Final + 1.0.2.Final - 4.3.0.Final + 4.4-SNAPSHOT @@ -213,7 +213,7 @@ arq-wildfly-remote - org.wildfly + org.wildfly.arquillian wildfly-arquillian-container-remote diff --git a/modeshape-clustering/standalone/configuration/standalone-modeshape-node1.xml b/modeshape-clustering/standalone/configuration/standalone-modeshape-node1.xml index 723b132..24ac37d 100644 --- a/modeshape-clustering/standalone/configuration/standalone-modeshape-node1.xml +++ b/modeshape-clustering/standalone/configuration/standalone-modeshape-node1.xml @@ -1,7 +1,6 @@ - - + @@ -22,26 +21,26 @@ - + + + - - - + @@ -50,7 +49,7 @@ - + @@ -63,7 +62,7 @@ - + @@ -86,9 +85,8 @@ - - + @@ -129,10 +127,10 @@ - + - + @@ -141,10 +139,11 @@ - + - + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE @@ -162,12 +161,10 @@ - + - + false - true - false @@ -182,22 +179,23 @@ - + - + - + + - + @@ -217,10 +215,48 @@ + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -228,7 +264,7 @@ - + @@ -248,39 +284,44 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -295,10 +336,10 @@ - + - + @@ -306,12 +347,20 @@ - + - + + + + + + + + + @@ -344,41 +393,38 @@ - - + - - - - - + + - + + - + + - + - - + + - - true + ${jboss.bind.address:127.0.0.1} @@ -397,11 +443,15 @@ + + - @@ -420,5 +470,4 @@ - \ No newline at end of file diff --git a/modeshape-clustering/standalone/configuration/standalone-modeshape-node2.xml b/modeshape-clustering/standalone/configuration/standalone-modeshape-node2.xml index fed0edf..9c6335c 100644 --- a/modeshape-clustering/standalone/configuration/standalone-modeshape-node2.xml +++ b/modeshape-clustering/standalone/configuration/standalone-modeshape-node2.xml @@ -1,7 +1,6 @@ - - + @@ -22,26 +21,26 @@ - + + + - - - + @@ -50,7 +49,7 @@ - + @@ -63,7 +62,7 @@ - + @@ -86,9 +85,8 @@ - - + @@ -129,10 +127,10 @@ - + - + @@ -141,10 +139,11 @@ - + - + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE @@ -162,12 +161,10 @@ - + - + false - true - false @@ -182,22 +179,23 @@ - + - + - + + - + @@ -217,10 +215,48 @@ + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -228,7 +264,7 @@ - + @@ -248,38 +284,43 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -295,10 +336,10 @@ - + - + @@ -306,12 +347,20 @@ - + - + + + + + + + + + @@ -344,41 +393,38 @@ - - + - - - - - + + - + + - + + - + - - + + - - true + ${jboss.bind.address:127.0.0.1} @@ -397,11 +443,15 @@ + + - @@ -420,5 +470,4 @@ - \ No newline at end of file diff --git a/modeshape-ejb/README.md b/modeshape-ejb/README.md index 4682f58..cbd7878 100644 --- a/modeshape-ejb/README.md +++ b/modeshape-ejb/README.md @@ -12,7 +12,7 @@ System requirements ------------------- All you need to build this project is Java 7.0 (Java SDK 1.7) or better, Maven 3.0 or better. -The application this project produces is designed to be run on JBoss Wildfly 8. +The application this project produces is designed to be run on JBoss Wildfly 9. Install ModeShape's AS kit into an existing JBoss Wildfly server ----------------------------------------------------- diff --git a/modeshape-ejb/pom.xml b/modeshape-ejb/pom.xml index e926a17..1237800 100644 --- a/modeshape-ejb/pom.xml +++ b/modeshape-ejb/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.modeshape.quickstarts modeshape-ejb - 4.3.0.Final + 4.4-SNAPSHOT war Example of web application that uses ModeShape via EJBs @@ -26,10 +26,10 @@ 2.6 2.12.3 2.3 - 1.0.1.Final + 1.0.2.Final - 4.3.0.Final + 4.4-SNAPSHOT @@ -225,7 +225,7 @@ arq-jbossas-remote - org.wildfly + org.wildfly.arquillian wildfly-arquillian-container-remote diff --git a/modeshape-federation/README.md b/modeshape-federation/README.md index 5c83783..b816e05 100644 --- a/modeshape-federation/README.md +++ b/modeshape-federation/README.md @@ -12,7 +12,7 @@ System requirements ------------------- All you need to build this project is Java 7.0 (Java SDK 1.7) or better, Maven 3.0 or better. -The application this project produces is designed to be run on JBoss Wildfly 8. +The application this project produces is designed to be run on JBoss Wildfly 9. Install ModeShape's Wildfly kit into an existing JBoss Wildfly server --------------------------------------------------------------- diff --git a/modeshape-federation/pom.xml b/modeshape-federation/pom.xml index fe21f3e..f54be42 100644 --- a/modeshape-federation/pom.xml +++ b/modeshape-federation/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.modeshape.quickstarts modeshape-federation - 4.3.0.Final + 4.4-SNAPSHOT war Example of a JSF web application that uses ModeShape in Federated mode @@ -26,10 +26,10 @@ 2.6 2.12.3 2.3 - 1.0.1.Final + 1.0.2.Final - 4.3.0.Final + 4.4-SNAPSHOT @@ -213,7 +213,7 @@ arq-jbossas-remote - org.wildfly + org.wildfly.arquillian wildfly-arquillian-container-remote diff --git a/modeshape-federation/standalone/configuration/standalone-modeshape-federation.xml b/modeshape-federation/standalone/configuration/standalone-modeshape-federation.xml index 68835de..84b59f0 100644 --- a/modeshape-federation/standalone/configuration/standalone-modeshape-federation.xml +++ b/modeshape-federation/standalone/configuration/standalone-modeshape-federation.xml @@ -1,30 +1,6 @@ - + - - - + @@ -43,12 +19,14 @@ - + + + @@ -56,7 +34,7 @@ - + @@ -65,7 +43,7 @@ - + @@ -102,7 +80,7 @@ - + @@ -143,10 +121,10 @@ - + - + @@ -155,10 +133,11 @@ - + - + + jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE @@ -168,7 +147,6 @@ sa - jdbc:jcr:jndi:jcr?repositoryName=artifacts modeshape @@ -191,10 +169,8 @@ - + false - true - false @@ -209,15 +185,16 @@ - + - + + @@ -244,11 +221,55 @@ + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -271,7 +292,7 @@ - + @@ -309,11 +330,20 @@ - + + - + + + + + + + + + @@ -346,36 +376,37 @@ - - + - - - - - + + - + + + - + - + - + + + + + - - true + ${jboss.bind.address:127.0.0.1} @@ -398,7 +429,7 @@ diff --git a/modeshape-servlet/README.md b/modeshape-servlet/README.md index af4c933..3e0d8d2 100644 --- a/modeshape-servlet/README.md +++ b/modeshape-servlet/README.md @@ -12,7 +12,7 @@ System requirements ------------------- All you need to build this project is Java 7.0 (Java SDK 1.7) or better, Maven 3.0 or better. -The application this project produces is designed to be run on JBoss Wildfly 8. +The application this project produces is designed to be run on JBoss Wildfly 9. Install ModeShape's Wildfly kit into an existing JBoss Wildfly server ----------------------------------------------------- diff --git a/modeshape-servlet/pom.xml b/modeshape-servlet/pom.xml index c461065..9d017ac 100644 --- a/modeshape-servlet/pom.xml +++ b/modeshape-servlet/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.modeshape.quickstarts modeshape-servlet - 4.3.0.Final + 4.4-SNAPSHOT war Example of web application that uses ModeShape @@ -29,7 +29,7 @@ 1.0.1.Final - 4.3.0.Final + 4.4-SNAPSHOT 1.14.1-beta @@ -211,7 +211,7 @@ arq-jbossas-remote - org.wildfly + org.wildfly.arquillian wildfly-arquillian-container-remote diff --git a/pom.xml b/pom.xml index 17a99c2..d77837e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.modeshape.quickstarts modeshape-quickstarts - 4.3.0.Final + 4.4-SNAPSHOT ModeShape Wildfly Quickstarts Top-Level POM for building all of the quickstarts. http://www.modeshape.org