Skip to content

ksjithin/javaee7-simple-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple Java EE 7 Sample

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%