A collection of example applications demonstrating the features of the DeltaSpike project.
Running an example
Switch to the directory of a particular example
Build the project
mvn clean package
Deploy to a Java EE 6+ container, as described in the following sections
Deploying to JBoss EAP / WildFly
JBOSS_HOMEenvironment variable to the path to a JBoss EAP / WildFly installation
Start the container
Deploy the application
$JBOSS_HOME/bin/jboss-cli.sh "connect, deploy path/to/the.war"
Running the functional tests
Some of the examples provide Arquillian functional tests. They are located under the "functional-tests" directory of an example.
To run these tests, you must first build the example
Navigate to the
functional-testsdirectory of the example
Run the tests, optionally adding
-Dremoteto the following command, if the server is already running
mvn clean verify
To run the functional tests of all examples at once, run
mvn clean verify -Pftest
Use the property "jacoco"
mvn clean package -Pftest -Pjacoco