Skinny WAR done right
In a previous post, I wrote about how to create skinny WAR with Maven the DRY way: it was not the DRYier way to do it, as was demonstrated to me this week by my colleague Olivier Chapiteau (credit where credit is due).
His solution is far more elegant; it is reproduced below for reference’s sake.
... ... ch.frankel.blog.ear-war war-example 1.0.0 war ch.frankel.blog.ear-war war-example pom 1.0.0
That’s it! The beauty lies in using the WAR’s POM as a dependency as well as the WAR itself: it’s simple, DRY and effective.