diff --git a/README.md b/README.md
index 9ef86b1..4b1093c 100644
--- a/README.md
+++ b/README.md
@@ -4,14 +4,14 @@ ModeShape Quickstarts
What is it?
-----------
-ModeShape quickstarts are a collection of self-contained projects, that demonstrate how to use ModeShape when installed as part of JBoss EAP.
+ModeShape quickstarts are a collection of self-contained projects, that demonstrate how to use ModeShape when installed as part of JBoss AS.
Each quickstart is a small, specific, focused, working example that can be used as a reference for your own project.
System requirements
-------------------
-All you need to build the quickstarts is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better. Each quickstart
-produces a web application (WAR) that is designed to be run on JBoss Enterprise Application Platform 6.
+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.
Contents
--------
@@ -19,7 +19,7 @@ Contents
The following quickstarts are available:
* [modeshape-cdi](modeshape-cdi) - shows how you use CDI to inject various ModeShape JCR object instances
-* [modeshape-cli](modeshape-cli) - shows how you use the JBoss EAP CLI to configure a ModeShape subsystem
+* [modeshape-cli](modeshape-cli) - shows how you use the JBoss AS CLI to configure a ModeShape subsystem
* [modeshape-clustering](modeshape-clustering) - shows how you can configure multiple ModeShape nodes to run in a cluster
* [modeshape-ejb](modeshape-ejb) - shows how you can use ModeShape from different types of EJBs
* [modeshape-servlet](modeshape-servlet) - shows how you can use ModeShape from a standard web application Servlet
diff --git a/dist/pom.xml b/dist/pom.xml
index 1522aae..5f030cf 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -4,7 +4,7 @@
org.modeshape.quickstarts
modeshape-quickstarts-dist
3.7.1.Final
- ModeShape EAP Quickstarts Distribution
+ ModeShape AS Quickstarts Distribution
POM for building the quickstarts distribution.
http://www.modeshape.org
pom
diff --git a/dist/src/main/assembly/assembly.xml b/dist/src/main/assembly/assembly.xml
index 6e836ae..554b9a5 100644
--- a/dist/src/main/assembly/assembly.xml
+++ b/dist/src/main/assembly/assembly.xml
@@ -1,7 +1,6 @@
-
+
dist
modeshape-quickstarts-${project.version}
diff --git a/modeshape-cdi/README.md b/modeshape-cdi/README.md
index f8fbf91..b8688db 100644
--- a/modeshape-cdi/README.md
+++ b/modeshape-cdi/README.md
@@ -11,15 +11,15 @@ a JSF application, using only CDI.
System requirements
-------------------
-All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
-The application this project produces is designed to be run on JBoss Enterprise Application Platform 6.
+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.
-Install ModeShape's EAP kit into an existing JBoss EAP 6 server
+Install ModeShape's AS kit into an existing Wildfly 8 server
-----------------------------------------------------
-Before running this demo make sure that you have installed the ModeShape EAP kit into an existing JBoss EAP 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)
-Start JBoss EAP with the ModeShape configuration
+Start JBoss Wildfly with the ModeShape configuration
--------------------------------------------------------------------------------
1. Open a command line and navigate to the root of the JBoss server directory.
diff --git a/modeshape-cdi/pom.xml b/modeshape-cdi/pom.xml
index 0c46d33..1d87ead 100644
--- a/modeshape-cdi/pom.xml
+++ b/modeshape-cdi/pom.xml
@@ -4,7 +4,7 @@
4.0.0
org.modeshape.quickstarts
modeshape-cdi
- 3.7.1.Final
+ 4.0-SNAPSHOT
war
Example of a JSF web application that uses ModeShape via CDI
@@ -13,8 +13,8 @@
UTF-8
- 1.6
- 1.6
+ 1.7
+ 1.7
2.4
@@ -29,7 +29,7 @@
7.4.Final
- 3.7.1.Final
+ 4.0-SNAPSHOT
@@ -40,7 +40,7 @@
specify the versions of any of those modules.-->
org.modeshape.bom
- modeshape-bom-jbosseap
+ modeshape-bom-jbossas
${version.modeshape}
pom
import
@@ -92,6 +92,7 @@
junit
test
+
org.jboss.arquillian.junit
arquillian-junit-container
@@ -213,9 +214,8 @@
arq-jbossas-remote
- org.jboss.as
- jboss-as-arquillian-container-remote
- test
+ org.wildfly
+ 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 39e313b..cafe4ec 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
@@ -1,6 +1,6 @@
package org.modeshape.quickstart.cdi;
-import java.util.Collections;
+import java.util.LinkedHashSet;
import java.util.Set;
import java.util.TreeSet;
import javax.enterprise.context.RequestScoped;
@@ -28,7 +28,7 @@ public class CDIController {
private String parentPath = "/";
private String newNodeName;
- private Set children = Collections.emptySet();
+ private Set children = new TreeSet<>();
/**
* Sets a name for a new node to create.
@@ -79,7 +79,7 @@ public Set getChildren() {
* Loads the children nodes of the node located at {@link CDIController#parentPath}
*/
public void loadChildren() {
- children = new TreeSet();
+ children = new TreeSet<>();
if (parentPath == null || parentPath.trim().length() == 0) {
FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(
"The absolute path of the parent node is required"));
diff --git a/modeshape-cli/README.md b/modeshape-cli/README.md
index d8c32d8..20f23a6 100644
--- a/modeshape-cli/README.md
+++ b/modeshape-cli/README.md
@@ -11,15 +11,15 @@ a JSF application, after the ModeShape subsystem and the repository have be set
System requirements
-------------------
-All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
-The application this project produces is designed to be run on JBoss Enterprise Application Platform 6.
+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.
-Install ModeShape's EAP kit into an existing JBoss EAP 6 server
+Install ModeShape's AS kit into an existing JBoss Wildfly server
-----------------------------------------------------
-Before running this demo make sure that you have installed the ModeShape EAP kit into an existing JBoss EAP server.
+Before running this demo make sure that you have installed the ModeShape AS 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)
-Start JBoss EAP with the default configuration
+Start Wildfly with the default configuration
--------------------------------------------------------------------------------
1. Open a command line and navigate to the root of the JBoss server directory.
@@ -34,8 +34,8 @@ Run the CLI script that creates the demo repository
1. Open a command line and navigate to the root of the JBoss server directory.
2. The following shows the command line which runs the script that creates the repository:
- For Linux: JBOSS_HOME/bin/jboss-cli.sh -c --file QUICKSTART_ROOT/src/main/resources/create-repository.cli
- For Windows: JBOSS_HOME\bin\jboss-cli.bat -c --file QUICKSTART_ROOT\src\main\resources\create-repository.cli
+ For Linux: JBOSS_HOME/bin/jboss-cli.sh -c --file=QUICKSTART_ROOT/src/main/resources/create-repository.cli
+ For Windows: JBOSS_HOME\bin\jboss-cli.bat -c --file=QUICKSTART_ROOT\src\main\resources\create-repository.cli
Build and Deploy the Quickstart
-------------------------
diff --git a/modeshape-cli/pom.xml b/modeshape-cli/pom.xml
index cb3ca5f..c9ba635 100644
--- a/modeshape-cli/pom.xml
+++ b/modeshape-cli/pom.xml
@@ -4,7 +4,7 @@
4.0.0
org.modeshape.quickstarts
modeshape-cli
- 3.7.1.Final
+ 4.0-SNAPSHOT
war
Example of a JSF web application that uses CLI scripts to create and remove a repository
@@ -13,8 +13,8 @@
UTF-8
- 1.6
- 1.6
+ 1.7
+ 1.7
2.4
@@ -29,7 +29,7 @@
7.4.Final
- 3.7.1.Final
+ 4.0-SNAPSHOT
@@ -40,7 +40,7 @@
specify the versions of any of those modules.-->
org.modeshape.bom
- modeshape-bom-jbosseap
+ modeshape-bom-jbossas
${version.modeshape}
pom
import
@@ -260,9 +260,8 @@
arq-jbossas-remote
- org.jboss.as
- jboss-as-arquillian-container-remote
- test
+ org.wildfly
+ 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 c3eb4a6..62b1ee4 100644
--- a/modeshape-cli/src/main/resources/create-repository.cli
+++ b/modeshape-cli/src/main/resources/create-repository.cli
@@ -14,7 +14,7 @@ if (outcome != success) of /subsystem=infinispan/cache-container=modeshape-test:
/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/file-store=FILE_STORE:add(path="modeshape/store/test-cli",relative-to="jboss.server.data.dir",passivation=false,purge=false)
+ /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
diff --git a/modeshape-clustering/README.md b/modeshape-clustering/README.md
index e0ac7ba..e0ce12b 100644
--- a/modeshape-clustering/README.md
+++ b/modeshape-clustering/README.md
@@ -20,16 +20,16 @@ is the distributed JMS configuration, with the __JMS provider configured for Hig
System requirements
-------------------
-All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
-The application this project produces is designed to be run on JBoss Enterprise Application Platform 6.
+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.
-Install ModeShape's EAP kit into an existing JBoss EAP 6 server
+Install ModeShape's Wildfly kit into an existing JBoss Wildfly server
---------------------------------------------------------------
-Before running this demo make sure that you have installed the ModeShape EAP kit into an existing JBoss EAP 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)
-Start 2 JBoss EAP instances with either set of provided configurations (see above)
+Start 2 JBoss Wildfly instances with either set of provided configurations (see above)
--------------------------------------------------------------------------------------
1. Copy the `standalone-modeshape-master.xml` and `standalone-modeshape-slave.xml` configuration files from the root of the quickstart
diff --git a/modeshape-clustering/pom.xml b/modeshape-clustering/pom.xml
index b8c2b5a..f8851c6 100644
--- a/modeshape-clustering/pom.xml
+++ b/modeshape-clustering/pom.xml
@@ -4,7 +4,7 @@
4.0.0
org.modeshape.quickstarts
modeshape-clustering
- 3.7.1.Final
+ 4.0-SNAPSHOT
war
Example of a JSF web application that uses several clustered ModeShape servers
@@ -13,8 +13,8 @@
UTF-8
- 1.6
- 1.6
+ 1.7
+ 1.7
2.4
@@ -29,7 +29,7 @@
7.4.Final
- 3.7.1.Final
+ 4.0-SNAPSHOT
@@ -40,7 +40,7 @@
specify the versions of any of those modules.-->
org.modeshape.bom
- modeshape-bom-jbosseap
+ modeshape-bom-jbossas
${version.modeshape}
pom
import
@@ -214,9 +214,8 @@
arq-jbossas-remote
- org.jboss.as
- jboss-as-arquillian-container-remote
- test
+ org.wildfly
+ wildfly-arquillian-container-remote
diff --git a/modeshape-clustering/src/main/java/org/modeshape/quickstart/clustering/ClusteringController.java b/modeshape-clustering/src/main/java/org/modeshape/quickstart/clustering/ClusteringController.java
index ced8157..e388268 100644
--- a/modeshape-clustering/src/main/java/org/modeshape/quickstart/clustering/ClusteringController.java
+++ b/modeshape-clustering/src/main/java/org/modeshape/quickstart/clustering/ClusteringController.java
@@ -36,7 +36,7 @@ public class ClusteringController {
private String newNodeName;
private String nodeNamePattern;
- private Set nodes = Collections.emptySet();
+ private Set nodes = new TreeSet();
/**
* Sets a name for a new node to create.
diff --git a/modeshape-clustering/standalone-modeshape-master-jms.xml b/modeshape-clustering/standalone-modeshape-master-jms.xml
index 899f2b8..6a3ed78 100644
--- a/modeshape-clustering/standalone-modeshape-master-jms.xml
+++ b/modeshape-clustering/standalone-modeshape-master-jms.xml
@@ -1,6 +1,6 @@
-
+
@@ -8,13 +8,16 @@
+
+
+
@@ -23,11 +26,12 @@
-
+
+
+
-
@@ -42,6 +46,9 @@
+
+
+
@@ -53,27 +60,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
-
-
+
-
+
-
+
@@ -104,11 +132,26 @@
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
- jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
+ jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
h2
sa
@@ -122,19 +165,34 @@
-
-
+
+
-
+
false
true
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
@@ -144,19 +202,19 @@
-
-
-
+
+
-
-
+
-
-
+
+
+
+
-
+
@@ -166,27 +224,78 @@
-
+
+
+
+
+
+
+
+ false
+ true
+ NIO
+ 2
+
+
+
+
+
+
+
+
+
+ jms.queue.DLQ
+ jms.queue.ExpiryQueue
+ 0
+ 10485760
+ BLOCK
+ 10
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
-
-
+
+
+
-
-
+
+
+
+
-
+
@@ -219,17 +328,16 @@
-
-
+
-
+
-
+
@@ -245,58 +353,16 @@
-
+
-
-
-
- false
- true
- NIO
- 2
-
-
-
-
-
-
-
-
-
- jms.queue.DLQ
- jms.queue.ExpiryQueue
- 0
- 10485760
- BLOCK
- 10
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -305,26 +371,19 @@
-
-
+
+
-
-
-
-
-
-
-
-
+
-
-
+
+
-
+
@@ -351,15 +410,15 @@
-
-
+
+
-
+
@@ -368,13 +427,23 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
true
@@ -387,9 +456,8 @@
-
+
-
@@ -397,30 +465,41 @@
+
+
-
-
+
-
-
-
-
-
+
+
+
+
+
+
+
-
+
+
+
+
-
-
-
+
\ No newline at end of file
diff --git a/modeshape-clustering/standalone-modeshape-master.xml b/modeshape-clustering/standalone-modeshape-master.xml
index d630ca8..7f6c35b 100644
--- a/modeshape-clustering/standalone-modeshape-master.xml
+++ b/modeshape-clustering/standalone-modeshape-master.xml
@@ -1,6 +1,6 @@
-
+
@@ -23,9 +23,11 @@
-
+
+
+
@@ -41,6 +43,9 @@
+
+
+
@@ -52,27 +57,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
-
-
+
-
+
-
+
@@ -103,11 +129,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
- jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
+ jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
h2
sa
@@ -121,19 +162,34 @@
-
-
+
+
-
+
false
true
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
@@ -143,19 +199,19 @@
-
-
-
+
+
-
-
+
-
-
+
+
+
+
-
+
@@ -165,23 +221,30 @@
-
+
+
+
+
+
-
-
+
+
+
-
-
+
+
+
-
-
+
+
+
@@ -195,7 +258,7 @@
-
+
@@ -215,16 +278,16 @@
-
+
-
+
-
+
@@ -240,16 +303,15 @@
-
+
-
-
+
@@ -258,26 +320,26 @@
-
-
+
+
-
+
-
+
-
-
+
+
-
+
@@ -304,15 +366,15 @@
-
-
+
+
-
+
@@ -321,13 +383,24 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
true
@@ -340,9 +413,8 @@
-
+
-
@@ -350,29 +422,32 @@
+
+
-
-
-
-
-
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/modeshape-clustering/standalone-modeshape-slave-jms.xml b/modeshape-clustering/standalone-modeshape-slave-jms.xml
index e1adb5a..2ff5b55 100644
--- a/modeshape-clustering/standalone-modeshape-slave-jms.xml
+++ b/modeshape-clustering/standalone-modeshape-slave-jms.xml
@@ -1,6 +1,6 @@
-
+
@@ -8,13 +8,16 @@
+
+
+
@@ -23,11 +26,12 @@
-
+
+
+
-
@@ -42,6 +46,9 @@
+
+
+
@@ -53,27 +60,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
-
-
+
-
+
-
+
@@ -104,11 +132,26 @@
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
- jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
+ jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
h2
sa
@@ -122,19 +165,34 @@
-
-
+
+
-
+
false
true
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
@@ -144,19 +202,19 @@
-
-
-
+
+
-
-
+
-
-
+
+
+
+
-
+
@@ -166,23 +224,58 @@
-
+
+
+
+
+
+
+
+ false
+ false
+
+
+ org.hornetq.core.remoting.impl.netty.NettyConnectorFactory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
-
-
+
+
+
-
-
+
+
+
@@ -201,7 +294,7 @@
-
+
@@ -220,17 +313,16 @@
-
-
+
-
+
-
+
@@ -246,43 +338,16 @@
-
+
-
-
-
- false
- false
-
-
- org.hornetq.core.remoting.impl.netty.NettyConnectorFactory
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -291,26 +356,19 @@
-
-
+
+
-
-
-
-
-
-
-
-
+
-
-
+
+
-
+
@@ -337,15 +395,15 @@
-
-
+
+
-
+
@@ -354,13 +412,23 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
true
@@ -373,9 +441,8 @@
-
+
-
@@ -383,29 +450,41 @@
+
+
-
-
+
-
-
-
-
-
+
+
+
+
+
+
+
-
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/modeshape-clustering/standalone-modeshape-slave.xml b/modeshape-clustering/standalone-modeshape-slave.xml
index 44b10b1..f9d5a24 100644
--- a/modeshape-clustering/standalone-modeshape-slave.xml
+++ b/modeshape-clustering/standalone-modeshape-slave.xml
@@ -1,6 +1,6 @@
-
+
@@ -23,9 +23,11 @@
-
+
+
+
@@ -41,6 +43,9 @@
+
+
+
@@ -52,27 +57,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
-
-
+
-
+
-
+
@@ -103,11 +129,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
- jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
+ jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
h2
sa
@@ -121,19 +162,34 @@
-
-
+
+
-
+
false
true
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
@@ -143,19 +199,19 @@
-
-
-
+
+
-
-
+
-
-
+
+
+
+
-
+
@@ -165,23 +221,30 @@
-
+
+
+
+
+
-
-
+
+
+
-
-
+
+
+
-
-
+
+
+
@@ -195,7 +258,7 @@
-
+
@@ -215,16 +278,16 @@
-
+
-
+
-
+
@@ -240,16 +303,15 @@
-
+
-
-
+
@@ -258,26 +320,26 @@
-
-
+
+
-
+
-
+
-
-
+
+
-
+
@@ -304,15 +366,15 @@
-
-
+
+
-
+
@@ -321,13 +383,24 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
true
@@ -340,9 +413,8 @@
-
+
-
@@ -350,29 +422,32 @@
+
+
-
-
-
-
-
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/modeshape-ejb/README.md b/modeshape-ejb/README.md
index bd99ba2..0294683 100644
--- a/modeshape-ejb/README.md
+++ b/modeshape-ejb/README.md
@@ -11,15 +11,15 @@ types of EJBs via a JSF application.
System requirements
-------------------
-All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
-The application this project produces is designed to be run on JBoss Enterprise Application Platform 6.
+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.
-Install ModeShape's EAP kit into an existing JBoss EAP 6 server
+Install ModeShape's AS kit into an existing JBoss Wildfly server
-----------------------------------------------------
-Before running this demo make sure that you have installed the ModeShape EAP kit into an existing JBoss EAP server.
+Before running this demo make sure that you have installed the ModeShape AS 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)
-Start JBoss EAP with the ModeShape configuration
+Start JBoss with the ModeShape configuration
--------------------------------------------------------------------------------
1. Open a command line and navigate to the root of the JBoss server directory.
diff --git a/modeshape-ejb/pom.xml b/modeshape-ejb/pom.xml
index 8982902..f5d83f2 100644
--- a/modeshape-ejb/pom.xml
+++ b/modeshape-ejb/pom.xml
@@ -4,17 +4,17 @@
4.0.0
org.modeshape.quickstarts
modeshape-ejb
- 3.7.1.Final
+ 4.0-SNAPSHOT
war
Example of web application that uses ModeShape via EJBs
- A simple self-contained example web application that uses different EJBs to retrieve repositories managed within EAP.
+ A simple self-contained example web application that uses different EJBs to retrieve repositories managed within AS.
UTF-8
- 1.6
- 1.6
+ 1.7
+ 1.7
2.4
@@ -29,7 +29,7 @@
7.4.Final
- 3.7.1.Final
+ 4.0-SNAPSHOT
1.14.1-beta
@@ -41,7 +41,7 @@
specify the versions of any of those modules.-->
org.modeshape.bom
- modeshape-bom-jbosseap
+ modeshape-bom-jbossas
${version.modeshape}
pom
import
@@ -227,9 +227,8 @@
arq-jbossas-remote
- org.jboss.as
- jboss-as-arquillian-container-remote
- test
+ org.wildfly
+ wildfly-arquillian-container-remote
diff --git a/modeshape-federation/README.md b/modeshape-federation/README.md
index 5f2e972..9e94641 100644
--- a/modeshape-federation/README.md
+++ b/modeshape-federation/README.md
@@ -11,16 +11,16 @@ Federated repository.
System requirements
-------------------
-All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
-The application this project produces is designed to be run on JBoss Enterprise Application Platform 6.
+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.
-Install ModeShape's EAP kit into an existing JBoss EAP 6 server
+Install ModeShape's Wildfly kit into an existing JBoss Wildfly server
---------------------------------------------------------------
-Before running this demo make sure that you have installed the ModeShape EAP kit into an existing JBoss EAP 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)
-Start a JBoss EAP instance with the provided configuration file (see above)
+Start a JBoss Wildfly instance with the provided configuration file (see above)
---------------------------------------------------------------------------
1. Copy the `standalone-modeshape-federation.xml` file from the root of the quickstart into the `JBOSS_HOME/standalone/configuration`
diff --git a/modeshape-federation/pom.xml b/modeshape-federation/pom.xml
index 9aed311..7f2576e 100644
--- a/modeshape-federation/pom.xml
+++ b/modeshape-federation/pom.xml
@@ -4,7 +4,7 @@
4.0.0
org.modeshape.quickstarts
modeshape-federation
- 3.7.1.Final
+ 4.0-SNAPSHOT
war
Example of a JSF web application that uses ModeShape in Federated mode
@@ -13,8 +13,8 @@
UTF-8
- 1.6
- 1.6
+ 1.7
+ 1.7
2.4
@@ -29,7 +29,7 @@
7.4.Final
- 3.7.1.Final
+ 4.0-SNAPSHOT
@@ -40,7 +40,7 @@
specify the versions of any of those modules.-->
org.modeshape.bom
- modeshape-bom-jbosseap
+ modeshape-bom-jbossas
${version.modeshape}
pom
import
@@ -214,9 +214,8 @@
arq-jbossas-remote
- org.jboss.as
- jboss-as-arquillian-container-remote
- test
+ org.wildfly
+ wildfly-arquillian-container-remote
diff --git a/modeshape-federation/settings.xml b/modeshape-federation/settings.xml
deleted file mode 100644
index 9031246..0000000
--- a/modeshape-federation/settings.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
- jboss-public-repository
-
-
- jboss-public-repository-group
- JBoss Public Maven Repository Group
- http://repository.jboss.org/nexus/content/groups/public/
- default
-
- true
- never
-
-
- true
- never
-
-
-
-
-
- jboss-public-repository-group
- JBoss Public Maven Repository Group
- http://repository.jboss.org/nexus/content/groups/public/
- default
-
- true
- never
-
-
- true
- never
-
-
-
-
-
-
- jboss-public-repository
-
-
diff --git a/modeshape-federation/standalone-modeshape-federation.xml b/modeshape-federation/standalone-modeshape-federation.xml
index f955007..0f377a6 100644
--- a/modeshape-federation/standalone-modeshape-federation.xml
+++ b/modeshape-federation/standalone-modeshape-federation.xml
@@ -1,10 +1,32 @@
-
+
+
+
-
-
@@ -17,18 +39,18 @@
-
-
-
-
+
+
+
+
@@ -37,6 +59,9 @@
+
+
+
@@ -48,26 +73,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -98,131 +145,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
- jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
+
+ jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
h2
sa
sa
+
+
+ jdbc:jcr:jndi:jcr?repositoryName=artifacts
+ modeshape
+ extra
+
+ admin
+ admin
+
+
org.h2.jdbcx.JdbcDataSource
+
+ org.modeshape.jdbc.LocalJcrDriver
+
-
-
+
+
-
+
false
true
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
-
+
+
-
-
+
+
-
+
-
-
+
+
+
+
-
+
+
+
-
-
- false
- true
- NIO
- 2
-
-
-
-
-
-
-
-
-
- jms.queue.DLQ
- jms.queue.ExpiryQueue
- 0
- 10485760
- BLOCK
- 10
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ named "modeshape" (other names require specifying the container names in each repository configuration
+ -->
@@ -254,42 +289,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -309,50 +310,28 @@
-
+
-
-
+
+
-
-
+
+
-
+
-
-
-
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
@@ -379,15 +358,15 @@
-
-
+
+
-
+
@@ -396,26 +375,36 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
true
${jboss.bind.address:127.0.0.1}
-
+
-
+
@@ -428,29 +417,20 @@
-
+
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
diff --git a/modeshape-servlet/README.md b/modeshape-servlet/README.md
index 573678c..2f4c4c7 100644
--- a/modeshape-servlet/README.md
+++ b/modeshape-servlet/README.md
@@ -11,15 +11,15 @@ JNDI API.
System requirements
-------------------
-All you need to build this project is Java 6.0 (Java SDK 1.6) or better, Maven 3.0 or better.
-The application this project produces is designed to be run on JBoss Enterprise Application Platform 6.
+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.
-Install ModeShape's EAP kit into an existing JBoss EAP 6 server
+Install ModeShape's Wildfly kit into an existing JBoss Wildfly server
-----------------------------------------------------
-Before running this demo make sure that you have installed the ModeShape EAP kit into an existing JBoss EAP 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)
-Start JBoss EAP with the ModeShape configuration
+Start JBoss Wildfly with the ModeShape configuration
--------------------------------------------------------------------------------
1. Open a command line and navigate to the root of the JBoss server directory.
diff --git a/modeshape-servlet/pom.xml b/modeshape-servlet/pom.xml
index acb757c..51230b7 100644
--- a/modeshape-servlet/pom.xml
+++ b/modeshape-servlet/pom.xml
@@ -4,17 +4,17 @@
4.0.0
org.modeshape.quickstarts
modeshape-servlet
- 3.7.1.Final
+ 4.0-SNAPSHOT
war
Example of web application that uses ModeShape
- A simple self-contained example web application that uses a servlet to retrieve a repository managed within EAP.
+ A simple self-contained example web application that uses a servlet to retrieve a repository managed within AS.
UTF-8
- 1.6
- 1.6
+ 1.7
+ 1.7
2.4
@@ -29,7 +29,7 @@
7.4.Final
- 3.7.1.Final
+ 4.0-SNAPSHOT
1.14.1-beta
@@ -41,7 +41,7 @@
specify the versions of any of those modules.-->
org.modeshape.bom
- modeshape-bom-jbosseap
+ modeshape-bom-jbossas
${version.modeshape}
pom
import
@@ -212,9 +212,8 @@
arq-jbossas-remote
- org.jboss.as
- jboss-as-arquillian-container-remote
- test
+ org.wildfly
+ wildfly-arquillian-container-remote
diff --git a/modeshape-servlet/src/test/java/org/modeshape/quickstart/servlet/RepositoryServletTest.java b/modeshape-servlet/src/test/java/org/modeshape/quickstart/servlet/RepositoryServletTest.java
index 464edbe..e1afd96 100644
--- a/modeshape-servlet/src/test/java/org/modeshape/quickstart/servlet/RepositoryServletTest.java
+++ b/modeshape-servlet/src/test/java/org/modeshape/quickstart/servlet/RepositoryServletTest.java
@@ -24,7 +24,6 @@ public class RepositoryServletTest {
@Deployment
public static WebArchive createDeployment() {
return ShrinkWrap.create(WebArchive.class, "modeshape-servlet-test.war").addClass(RepositoryServlet.class)
- .addAsWebInfResource(new File("src/main/webapp/WEB-INF/jboss-web.xml"))
.addAsWebInfResource(new File("src/main/webapp/WEB-INF/jboss-deployment-structure.xml"))
.addAsWebInfResource(new File("src/test/resources/log4j.properties"))
.addAsWebResource(new File("src/main/webapp/dblue106.gif"))
@@ -39,7 +38,7 @@ public void shouldExecuteQuery() throws Exception {
HttpRequestFactory requestFactory = new NetHttpTransport().createRequestFactory();
Assert.assertEquals(200,
requestFactory.buildGetRequest(new GenericUrl(
- "http://localhost:8080/modeshape-servlet/session.do?repository=sample&path=/"))
+ "http://localhost:8080/modeshape-servlet-test/session.do?repository=sample&path=/"))
.execute().getStatusCode());
}
}
diff --git a/pom.xml b/pom.xml
index 3eb14c9..383b7be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,8 +4,8 @@
4.0.0
org.modeshape.quickstarts
modeshape-quickstarts
- 3.7-SNAPSHOT
- ModeShape EAP Quickstarts
+ 4.0-SNAPSHOT
+ ModeShape AS Quickstarts
Top-Level POM for building all of the quickstarts.
http://www.modeshape.org
pom