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