Hey all I recently converted an ant build we had into a maven build.
There's a top level aggregator with sub projects that have various parts of the application - the end result is an EAR file. Within the ear file are several EJB and WAR modules. I noticed with the WAR modules, when I define the web resources as being <configuration> <webResources> <resource> <!-- this is relative to the pom.xml directory --> <directory>WebContent</directory> </resource> </webResources> </configuration> It works correctly for the local project build, but fails in the top level build. Similarly, if I prefix the directory with the project folder first, then it works for the top level but not the individual project. Any thoughts? Should this be happening? John