Adam Bien's Weblog

Essential JavaEE 7 pom.xml …With 21 LoC

Maven properties make the explicit declaration of compile and war plugins obsolete and shrink a JavaEE 7 pom.xml to 21 lines of XML:

<project xmlns="" xmlns:xsi=""

Start with the minimum, everything else is over engineering, sometimes even "Cargo Cult Programming":

"Cargo cult programming is a style of computer programming that is characterized by the ritual inclusion of code or program structures that serve no real purpose."

From: :-)

See also:

Thanks Arend v. Reinersdorff for the idea!

See you at Java EE Workshops at MUC Airport, particularly at!

NEW dates, new workshop: Java EE 7 Workshops: Bootstrap, Effective, Architectures, JavaScript Bootstrap and HTML 5 December, 7th-11th
NEW: Effective Java EE 7 -- Available For Streaming


A book about rethinking Java EE Patterns


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