aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven Ear build Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven Ear build" Watch "Maven Ear build" New topic
Author

Maven Ear build

Durgaprasad Guduguntla
Ranch Hand

Joined: Oct 20, 2003
Posts: 99
Hi

I am new to Maven. I am using Maven Ear plugin to generate Ear for my J2EE application. I want the Maven to pickup my application.xml file while packaging the ear. But I could not able to pickup my application.xml file. I have kept the application.xml file in the default location as stated in theEar Plugin Documentation - ${maven.src.dir}/application/META-INF/application.xml.

My build directory structure is as follows:



As it is not picking up the application.xml file, I tried defining its location with property maven.ear.appxmlin my project.properties file. Still it is ignoring this path.

Can someone help me out as to where can I put application.xml file to pickup while packaging the ear.


Thanks,<br />Durgaprasad<br />SCJP1.4, SCWCD1.4, SCBCD1.3,<br />SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven Ear build