@@ -6,56 +6,29 @@ I don't plan to write any formal documentation, read the code. The [Java EE 7 Es
66
77## How to run ? ##
88
9- ### Maven Plugins (WildFly) ###
10-
11- #### One time ####
12-
13- 1 . `` git clone https://github.com/wildfly/wildfly-maven-plugin ``
14- 2 . `` cd wildfly-maven-plugin ``
15- 3 . `` mvn install ``
16-
17- #### For each sample ####
18-
19- 1 . `` mvn package -DskipTests ``
20- 2 . `` mvn wildfly:start wildfly:deploy-only test -P wildfly ``
21-
22- ### Maven Plugins (GlassFish) ###
23-
24- #### For each sample ####
25-
26- 1 . `` mvn package -DskipTests ``
27- 2 . `` mvn embedded-glassfish:deploy test -P glassfish ``
28-
29- ### NetBeans ###
30-
31- 1 . Open the sample in [ NetBeans 7.4] ( http://netbeans.org )
32- 2 . Click on "Run" (sample is built and deployed on GlassFish 4, main page shows up). NetBeans do not support WildFly yet.
33- 3 . Main page provides feature name, how to run the sample, and displays the output
34-
35- ### JBoss Tools (Eclipse) ###
36-
37- ### IntelliJ ###
38-
39- ### Arquillian ###
40-
419Samples are tested on Wildfly and GlassFish using the Arquillian ecosystem.
4210
4311Only one profile can be active at a given time otherwise there will be dependency conflicts.
4412
4513There are 3 available profiles:
4614
4715* `` wildfly-managed-arquillian ``
48- The default profile and it will install a Wildfly server and start up the server pr sample.
16+ The default profile and it will install a Wildfly server and start up the server per sample.
4917 Useful for CI servers.
5018
5119* `` wildfly-remote-arquillian ``
5220 This profile requires you to start up a Wildfly server outside of the build. Each sample will then
5321 reuse this instance to run the tests.
54- Useful for development to avoid the server start up cost pr sample.
22+ Useful for development to avoid the server start up cost per sample.
5523
5624* `` glassfish-embedded-arquillian ``
5725 This profile uses the GlassFish embedded server and runs in the same JVM as the TestClass.
58- Useful for development, but has the downside of server startup pr sample.
26+ Useful for development, but has the downside of server startup per sample.
27+
28+ * `` glassfish-remote-arquillian ``
29+ This profile requires you to start up a GlassFish server outside of the build. Each sample will then
30+ reuse this instance to run the tests.
31+ Useful for development to avoid the server start up cost per sample.
5932
6033To run them in the console do:
6134
@@ -65,12 +38,6 @@ When developing and runing them from IDE, remember to activate the profile befor
6538
6639To learn more about Arquillian please refer to the [ Arquillian Guides] ( http://arquillian.org/guides/ )
6740
68- ### Manual ###
69-
70- 1 . `` mvn clean package -DskipTests ``
71- 2 . Deploy on GlassFish using `` asadmin deploy target/XXX.war `` or deploy on Wildfly using `` TBD ``
72- 3 . Access http://localhost:8080/XXX/ (main page shows up)
73-
7441## List of Samples ##
7542
7643The following script will generate the complete list of samples.
0 commit comments