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

Stephane Nicoll commented on MNG-563:
-------------------------------------

Following a chat on IRC: 

It's done for 1.3 and 1.4 (no 1.2 though).
use ear:genearte-application-xml

> Add generation of application.xml in EAR plugin
> -----------------------------------------------
>
>          Key: MNG-563
>          URL: http://jira.codehaus.org/browse/MNG-563
>      Project: Maven 2
>         Type: New Feature
>   Components: maven-plugins
>     Versions: 2.0-alpha-3
>     Reporter: Vincent Massol

>
>
> It sems the current version in SVN trunk does not support generating the 
> application.xml file. It does support adding EAR modules though. Generating 
> application.xml would allow not having to hardcode the modules nor the 
> version in the application.xml file. For example:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 
> 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd";>
> <application>
>   <display-name>Simple EAR for testing</display-name>
>   <module>
>     <web>
>       <web-uri>simple-war-0.6-SNAPSHOT.war</web-uri>
>       <context-root>/simpleweb</context-root>
>     </web>
>   </module>
> </application>

-- 
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