You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sa...@kmgin.com on 2006/02/07 09:05:04 UTC

Application.xml

Hi ,

I'm getting the following warning  when creating the ear file , 
application.xml is not getting included in the final Ear file.(maven1.x)
 
" selected ear files include a META-INF/application.xml which will be 
ignored (please use appxml attribute to ear task"

Can any one pls help me in figuring out the problem.


Regards
Saravana

Re: Application.xml

Posted by Max Cooper <ma...@maxcooper.com>.
Maven 2 generates the application.xml file for you:
http://maven.apache.org/plugins/maven-ear-plugin/howto.html

-Max

On Tue, 2006-02-07 at 13:35 +0530, Saravanakumar.B@kmgin.com wrote:
> Hi ,
> 
> I'm getting the following warning  when creating the ear file , 
> application.xml is not getting included in the final Ear file.(maven1.x)
>  
> " selected ear files include a META-INF/application.xml which will be 
> ignored (please use appxml attribute to ear task"
> 
> Can any one pls help me in figuring out the problem.
> 
> 
> Regards
> Saravana


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


Re: Application.xml

Posted by John Casey <jd...@yahoo.com>.
You could probably use the appxml attribute, like this:

<build>
   ...
   <plugins>
     <plugin>
       <artifactId>maven-ear-plugin</artifactId>
       <configuration>
         <appxml>/path/to/META-INF/application.xml</appxml>
       </configuration>
     </plugin>
     ...
   </plugins>
</build>

-john

Saravanakumar.B@kmgin.com wrote:
> Hi ,
> 
> I'm getting the following warning  when creating the ear file , 
> application.xml is not getting included in the final Ear file.(maven1.x)
>  
> " selected ear files include a META-INF/application.xml which will be 
> ignored (please use appxml attribute to ear task"
> 
> Can any one pls help me in figuring out the problem.
> 
> 
> Regards
> Saravana

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