Monday, 26 August 2013

Creating Maven WAR Overlays building with ANT

Creating Maven WAR Overlays building with ANT

My team is currently looking at moving from using "vendor branches" to
utilizing Maven WAR Overlays to build a java-based ERP application. Part
of this means I will be trying to overlay multiple war files for core
code, enhancements, mods, etc.
The application itself natively builds in ANT, so I created a standard POM
that calls the AntRun plugin and performs a "headless-ant" task to build
the .war
My question is, since I am utilizing Maven (via Jenkins) to build this,
will I be able to leverage the Maven WAR overlay functionality when this
application is natively building with ANT, or does the application need to
natively build in Maven?
My thought process is that I can just add the other WAR files as
dependencies to my other POM's as I've added the dependencies to my Maven
'wrapper' POM.
Any help or input on this would be greatly appreciated.

No comments:

Post a Comment