Hi Geoffrey,
Just as a technical side note: there's a property
<outputFileNameMapping> in the WAR plugin which can be used
to define the file name of libraries in the WEB-INF/lib directory.
If it's changed to
${artifact.groupId}-${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension},
you might isolate the higher level Drools POMs from naming issues
arising from similarly named dependencies (since the group ID is
now included in the JAR filename in WEB-INF/lib). The clients are
thereby relieved of the task of changing their identity.
Personally, I find it strange to impose a need to rename modules
to one of my dependencies, just because I / my project happens to
use them together with a similarly named other library. The
dependencies have a unique identity, but artifactId is only part
of it. If you put groupId plus artifactId into the
outputFileNameMapping, the full maven identity of your
dependencies is carried forward into the WEB-INF/lib directory.
My intention is just to make you aware of this (possible)
solution. It's of course up to you to decide which route to
follow.
Best regards
Ansgar
[1]
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
[2]
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#outputFileNameMapping
Am 19.11.2012 11:27, schrieb Geoffrey De Smet: