When I use the quick launch of the Maven archetype , it does not create src / main / resources and I have to create it myself. Why is that?
I want src / main / resources to be created automatically.
Is there a better archetype for this?
If you often create projects from quickstart, but require a resource directory, create your own archetype and install it in your repository (local cache or the one used by your team).
The source of the archetype, which you can anonymously and modify, is here:
http://svn.apache.org/viewvc/maven/archetypes/trunk/maven-archetype-quickstart/
maven quickstart webapp maven:
https://github.com/sabram/maven-archetype-quickweb
, , src/main/java, src/main/resources, src/test src/webapp...
, , .
It happened to me. The only solution I found was to create /src/main/resources, as well as /src/main/javafor myself. Other parts maven-archetypework fine for me.
/src/main/resources
/src/main/java
maven-archetype