Hello, Well, you could always configure your pom.xml :)
Particularly, configuring ${project.build.testResources} would solve your problem. Point it to the same directory as your min resources directory. :) Refer to http://maven.apache.org/maven-model/maven.html Cheers! Nap On 2/5/06, Michael Masters <[EMAIL PROTECTED]> wrote: > > when I create a project with: > mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp > -DarchetypeArtifactId=maven-archetype-webapp > > the directory structure is: > > my-webapp/ > |-- pom.xml > `-- src > `-- main > |-- resources > `-- webapp > |-- WEB-INF > | `-- web.xml > `-- index.jsp > > It seems to me that resources is on the outside of webapp b/c the webapp > directory is the exploded format for the war. This makes sense, but I'm > wondering if the resources directory can also be accessed if I create a > my-webapp/src/main/java directory. This seems to be out of place from the > standard location, which would be my-webapp/src/main/java/resources. > > > The main reason I ask this is because I would like to have one resources > directory that both test and webapp could use. I'm using spring and I > would > like to have only one set of xml config files for the test and webapp, but > I > don't really want to break the standard. Also, if I have to break the > standard, then what would be the best way of doing it? > > > thanks in advance, > Mike > >