diff --git a/README.txt b/README.txt
index 7e3de9342..d28c84678 100644
--- a/README.txt
+++ b/README.txt
@@ -56,3 +56,10 @@ To install the archetypes in your local Maven repository run
for example
mvn clean install -pl ccm-cms-archetypes-contenttype -am
+
+Using the managed profiles (example is for testing):
+
+mvn clean test -Djboss.home=/path/to/wildfly/ -DstartupTimeoutInSeconds=180 -Pwildfly-managed-h2-mem
+
+You might need to increase the timeout.
+
diff --git a/ccm-core/pom.xml b/ccm-core/pom.xml
index b4516bbd1..46e8c3bdc 100644
--- a/ccm-core/pom.xml
+++ b/ccm-core/pom.xml
@@ -774,6 +774,167 @@
+
+ wildfly-managed-h2-mem
+
+
+ org.wildfly.arquillian
+ wildfly-arquillian-container-managed
+ test
+
+
+ org.jacoco
+ org.jacoco.core
+ test
+
+
+ org.jboss.arquillian.extension
+ arquillian-jacoco
+ 1.0.0.Alpha9
+
+
+ net.sf.saxon
+ Saxon-HE
+
+
+
+
+
+
+ src/test/resources
+
+
+ src/test/resources-wildfly-remote-h2-mem
+
+
+ ${project.build.directory}/generated-resources
+
+
+
+
+
+ de.jpdigital
+ hibernate5-ddl-maven-plugin
+
+
+ h2
+ postgresql9
+
+
+ org.libreccm
+
+ true
+
+
+
+
+ gen-ddl
+
+ process-classes
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.19.1
+
+ always
+ 999
+ true
+
+ org.jboss.logmanager.LogManager
+
+ false
+
+ org.libreccm.tests.categories.UnitTest,
+ org.libreccm.tests.categories.IntegrationTest
+
+ false
+
+
+
+
+
+
+
+ wildfly-managed-pgsql
+
+
+ org.wildfly.arquillian
+ wildfly-arquillian-container-managed
+ test
+
+
+ org.jacoco
+ org.jacoco.core
+ test
+
+
+ net.sf.saxon
+ Saxon-HE
+
+
+
+
+
+
+ src/test/resources
+
+
+ src/test/resources-wildfly-remote-pgsql
+
+
+ ${project.build.directory}/generated-resources
+
+
+
+
+
+ de.jpdigital
+ hibernate5-ddl-maven-plugin
+
+
+ h2
+ postgresql9
+
+
+ org.libreccm
+
+ true
+
+
+
+
+ gen-ddl
+
+ process-classes
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.19.1
+
+ always
+ 999
+ true
+
+ org.jboss.logmanager.LogManager
+
+ false
+
+ org.libreccm.tests.categories.UnitTest,
+ org.libreccm.tests.categories.IntegrationTest
+
+ false
+
+
+
+
+
+
wildfly-remote-h2-mem
diff --git a/pom.xml b/pom.xml
index 9dcafff68..ac6bec3e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -540,6 +540,18 @@
arquillian-persistence-dbunit
1.0.0.Alpha7
+
+ org.wildfly
+ wildfly-arquillian-container-managed
+ 8.2.1.Final
+ test
+
+
+ org.wildfly.arquillian
+ wildfly-arquillian-container-managed
+ 2.0.2.Final
+ test
+
org.wildfly
wildfly-arquillian-container-remote