Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 902 Bytes

README.asciidoc

File metadata and controls

24 lines (21 loc) · 902 Bytes

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