Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/puniverse/comsat-mvn-archetype
https://github.com/puniverse/comsat-mvn-archetype
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/puniverse/comsat-mvn-archetype
- Owner: puniverse
- Created: 2014-12-10T14:57:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T06:59:21.000Z (over 9 years ago)
- Last Synced: 2024-06-22T05:03:30.028Z (5 months ago)
- Language: Java
- Size: 1.79 MB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# *comsat-mvn-archetype*
A [Parallel Universe Comsat](http://www.paralleluniverse.co/comsat/) Maven archetype for both Dropwizard embedded and Tomcat standalone Java 1.7+ applications showing how to setup Comsat's fiber-blocking servlets, Jersey (client and server), JDBC, Metrics and Apache HTTP Client. Tomcat 7/8 standalone deployments are managed through Cargo.
## Getting started
```
git clone https://github.com/puniverse/comsat-mvn-archetype
cd comsat-mvn-archetype
mvn install
cd ..
mvn archetype:generate -DarchetypeGroupId=co.paralleluniverse -DarchetypeArtifactId=comsat-mvn-archetype -DarchetypeVersion=0.1.4 -DgroupId=testgrp -DartifactId=testprj
cd testprj
mvn -Ptomcat7x dependency:properties clean verify
mvn -Ptomcat7x dependency:properties package cargo:run # CTRL+C to stop
mvn -Ptomcat8x dependency:properties clean verify
mvn -Ptomcat8x dependency:properties package cargo:run # CTRL+C to stop
mvn -Pdropwizard dependency:properties clean compile exec:exec # CTRL+C to stop
```Other useful properties to set during project generation are `-DjavaVersion=<1.7|1.8> -DquasarVersion= -DcomsatVersion= -Dtomcat7Version= -Dtomcat8Version= -DuseWebXml=`
The result of cargo deployments can be inspected in `target/cargo/configurations`.