Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The EAR plugin does not currently provide a way of changing the path of included resources.
This is a problem for weblogic server 8.1, if you want to place bundled JARs into the /APP-INF/lib directory, so that they are available to all the other modules contained in the EAR file.
I think the best solution would be to mirror the war.target.path property of the WAR plugin, and create an ear.target.path property.
The Dependency element would look something like the following.
<dependency>
<id>third-party</id>
<version>1.0</version>
<properties>
<ear.target.path>/APP-INF/lib</ear.target.path>
</properties>
</dependency>
A patch to allow dependencies to be added to the EAR file with arbitrary paths.
This implementation is different to the implementation of war.target.path. It uses the ant zipfileset element instead of copying the dependencies to the desired path before adding.