Ear resource filtering fails if target destination doesn't exist ----------------------------------------------------------------
Key: MEAR-117 URL: http://jira.codehaus.org/browse/MEAR-117 Project: Maven 2.x Ear Plugin Issue Type: Bug Affects Versions: 2.4 Environment: Windows XP, Maven 2.0.9 Reporter: Eric Miles In our project structure, we have src/main/application/APP-INF/classes and in this folder contains all of our resources. The desired final outcome is to have an ear with APP-INF/classes with the filtered resources. There are no other sources in this ear module so when it is time for the ear plugin to filter, we receive an error similar to the following: Embedded error: C:\projects\hrs2-workspace\hrs2-ear\target\hrs2-ear-2.0.0-SNAPSHOT\APP-INF\app.properties (The system cannot find the path specified) If I create the ${project.build.directory}/${project.build.finalName}/APP-INF/classes directory on disk before I package, I get no error. I would think that the resource mechanism would be responsible for creating the destination in addition to copying/filtering. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira