A simple Java EE 7 Sample
Clone or download
Latest commit 9ef152e Sep 20, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main adding 'all' beans.xml Feb 17, 2015
.gitignore adding gitignore Nov 16, 2014
README.asciidoc reorganizing Mar 5, 2015
pom.xml cleaning up whitespace Sep 19, 2015


A simple Java EE 7 Sample

This is a trivial Java EE 7 sample.

  1. Download WildFly 8.2 from http://download.jboss.org/wildfly/8.2.0.Final/wildfly-8.2.0.Final.zip and unzip.

  2. Start WildFly as: ./bin/standalone.sh

  3. Deploy application WAR to WildFly: mvn wildfly:deploy

  4. Install to local Maven repository: mvn install

    1. repo in ~/.m2/repository

  5. Deploy SNAPSHOT version to local Nexus

    1. Only binary: mvn deploy

    2. Binary, including javadoc and sources jars: mvn deploy -P release

  6. Perform RELEASE : mvn release:prepare release:perform

    1. versions changes and tag are committed to github

    2. all tests run

    3. WAR is deployed to Wildfly

    4. deployment to local Nexus including WAR, javadoc and sources

  7. Alternatively to deploy RELEASE version (e.g. 2.0) to Nexus without GitHub integration

    1. mvn versions:set -DnewVersion=2.0

    2. mvn deploy -P release