Setting Up Java EE 7 Projects With Maven 3

Java EE 7 only requires a minimalistic pom.xml (21 lines).

The essential pom.xml was transformed to a maven archetype (=wizard) and submitted to maven central. Now it is available under the group id: com.airhacks and artifact id: javaee7-essentials-archetype.

The archetype can be directly executed with:

mvn archetype:generate -Dfilter=com.airhacks:javaee7-essentials-archetype

See it in action:

The Java EE 7 Essentials Archetype is maintained at:

See also other screencasts at: or subscribe to

See you at Java EE Workshops at MUC Airport, particularly at: Effective Java EE 7!


thx for the clean and easy to use archetype!
All other archetypes had to much going on for a first try at jee apps.

Posted by Timo on November 11, 2015 at 11:49 AM CET #

First, thanks a lot for a no-nonsense tutorial about setting up Java EE 7 with maven.

Given the style of your tutorial, your book is probably what I'm looking for at the moment. My only concern is that it is 4 years old and addresses Java EE 6. I suspect the differences are not enormous, but still - is it reasonably up to date?

To put things into perspective: I'm new to Java (just passed Java SE programmer certification), though I'm not new to (web)programming as such.

Posted by Toomas on September 10, 2016 at 01:19 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments