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

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

Well, RSA sees that myEar is an EAR project (via an eclipse nature in .project) 
and expects the application.xml file to be in myEar/META-INF.  pom.xml is in 
myEar.  But if I set the source dir as you suggest, the ear will contain itself 
because the myEar/target directory will be recursively included.  Does that 
make more sense?

Exactly.  Your suggestion would solve the problem.

> 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