0

i want to create a web project that i can run on an application server . So what archetype and groupid i have to choose?

Thank you in advace

1
  • 1
    What framework(s) do you want to use? What servlet spec? What app server? Do you need an archetype? Commented Jul 4, 2012 at 22:37

1 Answer 1

0

An archetype which contains a sample Maven Webapp project.

archetypeGroupId: org.apache.maven.archetypes
archetypeArtifactId :maven-archetype-webapp

If you have preference to some framework/app server you may get more option by using the following command.

mvn archetype:generate
2
  • I used this parameters (archetypeGroupId: org.apache.maven.archetypes archetypeArtifactId :maven-archetype-webapp). but i can't run on a server , Commented Jul 5, 2012 at 7:42
  • That's just for creating the project. To Deploy it to your Server you have to find a Maven plugin for your server. For instance, tomcat:deploy for Tomcat. Commented Jul 5, 2012 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.