maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snakelocks <snakelo...@googlemail.com>
Subject newbie question - creating web projects
Date Fri, 18 Jul 2008 14:27:26 GMT

When I create a web project using:
 mvn archetype:create \
    -DarchetypeGroupId=org.apache.maven.archetypes \
    -DarchetypeArtifactId=maven-archetype-webapp \
    -DgroupId=com.mycompany.app \
    -DartifactId=my-webapp

I do not get the src/main/java folder created.

But I do get this created when I create a 'regular' project using:
 mvn archetype:create \
  -DarchetypeGroupId=org.apache.maven.archetypes \
  -DgroupId=com.mycompany.app \
  -DartifactId=my-app
But then, of course, I don't get me src/main/resources and src/main/webapp
etc.

How do I create a web project AND have a src/main/java created as a base
from which to develop?
-- 
View this message in context: http://www.nabble.com/newbie-question---creating-web-projects-tp18530489p18530489.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message