-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: alloy-1.0.0, alloy-2.0.0, alloy-3.0.0, portal-1.0.0, portal-2.0.0, portal-3.0.0, bridge-impl-2.0.0, bridge-impl-3.0.0, metal-1.0.0, bridge-impl-4.0.0, bridge-impl-5.0.0
-
Fix Version/s: alloy-2.0.0, alloy-3.0.0, bridge-impl-3.0.0, metal-1.0.0, bridge-impl-4.0.0, bridge-impl-5.0.0
-
Labels:None
{markdown}
When the Liferay Faces Showcase Wars are built, they will occasionally contain multiple copies of the same jar dependencies. This is because the wars copy the jars from their dependent wars which is incorrect.
In order to fix this, *`WEB-INF/lib/`** should be added to the list of `dependentWarExcludes` in the webapps' and portlets' *`pom.xml`* files, and necessary dependencies should be included via *`pom.xml`* dependencies.{markdown}
When the Liferay Faces Showcase Wars are built, they will occasionally contain multiple copies of the same jar dependencies. This is because the wars copy the jars from their dependent wars which is incorrect.
In order to fix this, *`WEB-INF/lib/`** should be added to the list of `dependentWarExcludes` in the webapps' and portlets' *`pom.xml`* files, and necessary dependencies should be included via *`pom.xml`* dependencies.{markdown}