The resources directory for ears is called application, that is, src/main/application. Not src/main/resources. Unless you've overridden the default.
As for why it "suddenly stopped working" -- I'd assume you ran mvn -U and got an update on maven-ear-plugin. Perhaps your older version used src/main/resources, but the docs show src/main/application is the default: http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html I don't know when (or if) this changed -- check JIRA perhaps for m-ear-p? Wayne On 8/22/07, Mike Darretta <[EMAIL PROTECTED]> wrote: > I am having issues with the resources tag for my pom.xml for maven > 2.0.2. The configuration is below: > > <resources> > <resource> > <directory>${basedir}/src/main/resources</directory> > <filtering>true</filtering> > </resource> > </resources> > > The directory structure is fine, and filtering works. Yet, the files are > not being transferred to the top-level of the ear file (the default > location). > > The worst part is that this has worked for months, but suddenly stopped > working! Is there an internal maven configuration that may have been > corrupted that has caused this issue? I have already tried to reinstall > maven 2.0.2 and blew away my .m2 directory. > > Thank you. > Mike Darretta > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
