All Projects → javaee-samples → javaee7-simple-sample

javaee-samples / javaee7-simple-sample

Licence: other
A simple Java EE 7 Sample

Programming Languages

java
68154 projects - #9 most used programming language

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].