Resources How do I include other files in my EAR?

There are two ways to include other resources in the EAR file

  1. Using the maven.ear.src property, you can specify an entire directory to include, or
  2. Alternatively, you can use the resources element of the project.xml to specify resource across various directories, just as you would for a jar or war project.