Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seratch/spring-jersey-archetype
mvn archetype:generate -DarchetypeCatalog=http://seratch.github.com/mvn-repo/releases
https://github.com/seratch/spring-jersey-archetype
Last synced: about 1 month ago
JSON representation
mvn archetype:generate -DarchetypeCatalog=http://seratch.github.com/mvn-repo/releases
- Host: GitHub
- URL: https://github.com/seratch/spring-jersey-archetype
- Owner: seratch
- Created: 2011-09-29T03:59:09.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-19T10:03:50.000Z (over 11 years ago)
- Last Synced: 2024-08-25T00:53:02.476Z (3 months ago)
- Language: Java
- Homepage:
- Size: 162 KB
- Stars: 7
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Jersey(JAX-RS) application template with Spring Framework
## spring-jersey-archetype
### Jersey Server (1.17.1)
[http://jersey.java.net/nonav/documentation/1.17/user-guide.html](http://jersey.java.net/nonav/documentation/1.17/user-guide.html)
### Spring Framework (3.2.2.RELEASE)
[http://static.springsource.org/spring/docs/3.2.2.RELEASE/spring-framework-reference/html/](http://static.springsource.org/spring/docs/3.2.2.RELEASE/spring-framework-reference/html/)
## How to use
````sh
mvn archetype:generate -DarchetypeCatalog=http://seratch.github.com/mvn-repo/releases
``````sh
Choose archetype:
1: http://seratch.github.com/mvn-repo/releases -> spring-jersey-archetype (Jersey App Template with Spring Framework)
Choose a number: : 4
Choose version:
1: 1.10
2: 1.11
3: 1.16
4: 1.17.1
Choose a number: 3:
Define value for property 'groupId': : com.example
Define value for property 'artifactId': : spring-jersey-example
Define value for property 'version': 1.0-SNAPSHOT:
Define value for property 'package': com.example:
Confirm properties configuration:
groupId: com.example
artifactId: spring-jersey-example
version: 1.0-SNAPSHOT
package: com.example
Y: y
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Thu Sep 29 13:04:07 JST 2011
[INFO] Final Memory: 11M/27M
[INFO] ------------------------------------------------------------------------
```````sh
cd spring-jersey-example
mvn jetty:run
curl http://localhost:8080/
```