The version 1.3
javaee7-essentials-archetype comes with two features:
- beans.xml for Java EE 7 and bean-discovery-mode="all" is created
JAXRSConfigurationclass mapped to the "resources" path enables JAX-RS
Create a project directly from the IDE (in NetBeans: New Project -> Maven -> Project From Archetype. Choose
com.airhacks as groupId in the search box).
Or use the CLI:
mvn archetype:generate -Dfilter=com.airhacks:javaee7-essentials-archetype
If you like to stay lean without
JAXRSConfiguration, choose the version v1.2.
The archetype's source is available at: https://github.com/AdamBien/javaee7-essentials-archetype. The project can be also directly cloned from: https://github.com/AdamBien/javaee-essentials-pom
airhacks.fm the podcast:
Stay in touch: airhacks.news.