Hi all,
I am trying to setup a multi-module project. One module produce a JAR
(jar-module) and another one a WAR which uses jar produced by jar-module.
jar-modules has some configuration files - Spring xml and .property files.
Rather then package them as part of the jar I wanted to deploy them
Hi Alexi,
The way we've done this is to package the applicationContext.xml in the
war - not in the jar. You can do this by adding it to the war's
src/main/resources directory. In order to run unit tests in the jar
module, we have added an applicationContext.xml in the jar's
/Jar-packaging.-Produce-more-artifacts%2C-in-addition-to-jar-tp24375166p24377895.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional
Hi Alexi,
Thanks for clarifying. So what you could do is keep the
applicationContext.xml packaged in your jar and update your war's POM to
use the dependency:unpack mojo to copy it to the right location to be
included in your war.
The dependency plugin page has an example of unpacking