[ http://jira.codehaus.org/browse/MNG-1461?page=comments#action_50357 ] 

mike perham commented on MNG-1461:
----------------------------------

Stephane, thanks.  Unfortunately I'm limited by my IDE, IBM's Rational Software 
Architect, to keeping the META-INF contents off the project basedir (i.e. 
${basedir}/META-INF.  If you think about it, the plugin does not support this 
layout because resources have to be placed in a subdirectory.  Do you know of 
any way to support this layout?  I've modified the ear plugin to check for the 
existence of a META-INF off the project root directory and automatically copy 
its contents to the EAR's META-INF but I can't think of any cleaner way of 
dealing with it.

> EAR plugin ignores application XML setting
> ------------------------------------------
>
>          Key: MNG-1461
>          URL: http://jira.codehaus.org/browse/MNG-1461
>      Project: Maven 2
>         Type: Bug
>   Components: maven-ear-plugin
>     Versions: 2.0
>     Reporter: mike perham
>     Assignee: Stephane Nicoll

>
>
> In EarMojo.java:
>     /**
>      * The location of the application.xml file to be used within the ear 
> file.
>      *
>      * @parameter 
> expression="${basedir}/src/main/application/META-INF/application.xml"
>      */
>     private File applicationXmlFile;
> I set this and Maven still generates an application.xml file anyways.  
> Checking the code, this variable is never actually referenced anywhere so it 
> appears impossible to use the EAR plugin with a pre-written application.xml.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to