Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Frequently Asked Questions

Resources

  1. How do I include other files in my EAR?

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.