David Blevins created TOMEE-3721:
------------------------------------
Summary: Remove dependencies between tomee-webapp modules
Key: TOMEE-3721
URL: https://issues.apache.org/jira/browse/TOMEE-3721
Project: TomEE
Issue Type: Task
Components: TomEE Build
Reporter: David Blevins
Assignee: David Blevins
Fix For: 8.0.7
When one webapp module (war) depends on another webapp module (war), we
sometimes get duplicate jars in the final webapp. This seems to only happen
for snapshots.
For example:
{code:java}
$ unzip -l apache-tomee-8.0.7-20210417.052409-158-plume.zip | grep cxf-core
1431799 04-17-2021 05:23
apache-tomee-plume-8.0.7-SNAPSHOT/lib/cxf-core-3.5.0-SNAPSHOT.jar
1431799 04-17-2021 05:23
apache-tomee-plume-8.0.7-SNAPSHOT/lib/cxf-core-3.5.0-20210417.035622-203.jar
{code}
Removing the dependency between each webapp fixes the issue. This also means
we must copy the maven dependencies from the root tomee-webapp module into each
of the previously dependent webapp modules.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)