https://github.com/javaee-samples/javaee7-simple-sample
A simple Java EE 7 Sample
https://github.com/javaee-samples/javaee7-simple-sample
Last synced: 9 months ago
JSON representation
A simple Java EE 7 Sample
- Host: GitHub
- URL: https://github.com/javaee-samples/javaee7-simple-sample
- Owner: javaee-samples
- Created: 2014-06-24T04:48:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-30T16:43:26.000Z (about 7 years ago)
- Last Synced: 2025-03-24T19:21:53.638Z (9 months ago)
- Language: Java
- Size: 318 KB
- Stars: 27
- Watchers: 9
- Forks: 127
- Open Issues: 2
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
A simple Java EE 7 Sample
=========================
This is a trivial Java EE 7 sample.
. Download WildFly 8.2 from
http://download.jboss.org/wildfly/8.2.0.Final/wildfly-8.2.0.Final.zip
and unzip.
. Start WildFly as: `./bin/standalone.sh`
. Deploy application WAR to WildFly: `mvn wildfly:deploy`
. Install to local Maven repository: `mvn install`
.. repo in '~/.m2/repository'
. Deploy SNAPSHOT version to local Nexus
.. Only binary: `mvn deploy`
.. Binary, including javadoc and sources jars: `mvn deploy -P release`
. Perform RELEASE : `mvn release:prepare release:perform`
.. versions changes and tag are committed to github
.. all tests run
.. WAR is deployed to Wildfly
.. deployment to local Nexus including WAR, javadoc and sources
. Alternatively to deploy RELEASE version (e.g. 2.0) to Nexus without GitHub integration
.. `mvn versions:set -DnewVersion=2.0`
.. `mvn deploy -P release`