• Post Reply Bookmark Topic Watch Topic
  • New Topic

Maven Ear build  RSS feed

Durgaprasad Guduguntla
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!