keycloak-uncached

Fix instructions for deploying demo to use jboss-as:deploy

5/29/2014 10:03:50 AM

Details

diff --git a/examples/demo-template/README.md b/examples/demo-template/README.md
index 2aa1894..8ce7158 100755
--- a/examples/demo-template/README.md
+++ b/examples/demo-template/README.md
@@ -123,28 +123,19 @@ next you must build and deploy
 ```
 cd preconfigured-demo
 mvn clean install
-mvn jboss-as:deploy
 ```
 
-Please note that jboss-as:deploy may fail on Wildfly distributions.  This is because Wildfly 8.0.0.Final has turned
-off a management interface.  You will hae to add this back in order to run the build.  Edit standalone/configuration/standalone.xml
-
-Add the native-itnerface to <management> element's <management-interfaces>:
+On EAP6/AS7 run:
 
-    <management>
-        <management-interfaces>
-            <native-interface security-realm="ManagementRealm">
-                <socket-binding native="management-native"/>
-            </native-interface>
-            ...
-        </management-interfaces>
-    </management>
-
-Then add a socket port mapping for the management interface :
+```
+mvn jboss-as:deploy
+```
 
-    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
-        <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
+Or for WildFly run:
 
+```
+mvn wildfly:deploy
+```
 
 
 Step 5: Login and Observe Apps