Hi,

Is there a way in maven to generate a web project with java, resources, and
webapp folders running the archtype goal. Maven suggest to create a multi
project module with:

multi-project
 |-- pom.xml
 |-- my-app
 |-- my-web-app

by creating a multi project pom file and then running:

mvn archetype:create \
  -DgroupId=some-group-id \
  -DartifactId=my-app

which generates:

my-app
|-- pom.xml
|--src
   '-- main
      '-- java

and then:

mvn archetype:create \
  -DarchetypeArtifactId=maven-archetype-webapp \
  -DgroupId=some-group-id \
  -DartifactId=my-web-app

which generates:

my-web-app
|-- pom.xml
|-- src
    '--main
      '-- resources
      '-- webapp

But i would like to get this structure

web-app
|-- pom.xml
|-- src
    '--main
      '-- java
      '-- resources
      '-- webapp

from running the archtype goal on.



cheers, Piotr

Reply via email to