Constantine Gladky
Constantine Gladky

Reputation: 1263

webapp via maven2

Who knows what archetype should be chosen to get such directory layout http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

Upvotes: 1

Views: 81

Answers (1)

ilcavero
ilcavero

Reputation: 3082

any archetype, the directory layout is common for all maven projects, check for any archetype and try i.e. http://docs.codehaus.org/display/MAVENUSER/Archetypes+List

http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

if you don't see the directories created, just create them by hand, maven will recognize them and use their contents as they are intended

Upvotes: 3

Related Questions