I would like to update the open source war file in Maven with some additional class files and jar files. I also need to replace one configuration file with my own.
The easiest way I see for this is to copy over the Java source files and configuration files from the base war file and check them in my source repository. This will work, but this requires duplicating the source and configuration files. Thus, I would like to create a basic war file, check only this war file, and then run the maven assembly, which adds my class files, additional jar files and replaces one configuration file in the base war. The result of the Maven build will be one war file.
Does anyone have any suggestions on how I can do this with Maven?
By the way, the base file from jUDDI is a judo war. I think the answer to the problem does not depend on the specific war file.
source share