You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dale Wyttenbach (JIRA)" <ji...@codehaus.org> on 2005/06/20 16:52:52 UTC

[jira] Commented: (MPEAR-23) need to be able to set location of resources within the EAR file

    [ http://jira.codehaus.org/browse/MPEAR-23?page=comments#action_41707 ] 

Dale Wyttenbach commented on MPEAR-23:
--------------------------------------

Has anyone verified that this solution addresses the problem for WL 8.1?  I was unable to get an EAR to deploy without modifying the generated application.xml and manually add the "APP-INF/lib" path info:

<module>
    <java>APP-INF/lib/foo.jar</java>
 </module>

Shouldn't the plugin do this automatically given that I have defined this property in the jar dependency?

<ear.bundle.dir>APP-INF/lib</ear.bundle.dir>

> need to be able to set location of resources within the EAR file
> ----------------------------------------------------------------
>
>          Key: MPEAR-23
>          URL: http://jira.codehaus.org/browse/MPEAR-23
>      Project: maven-ear-plugin
>         Type: New Feature
>     Reporter: Wiley Fuller
>     Assignee: Felipe Leme
>     Priority: Minor
>      Fix For: 1.6
>  Attachments: ejb-target-path-patch.txt, maven.xml, project.xml
>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org