Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Maven webapp with tomcat 5.5

0

51 views

I'm learning Maven and created a sample WebApp with the following command:

mvn archetype:generate \
-DgroupId=org.obliquid \
-DartifactId=test \
-DarchetypeArtifactId=maven-archetype-webapp \
-Dversion=1.0-SNAPSHOT

then ran:

mvn package
mvn tomcat:run

It works but is using tomcat 6.0.29, how can I change to use tomcat 5.5?

asked June 25, 2011 6:24 am CDT
posted via StackOverflow

1 Answer

0
 

I guess this example should answer your question: Adjust Tomcat Version

For Tomcat 5.5 you have to adjust the version (e.g. 5.5.23) and choose the right dependencies (group tomcat instead of org.apache.tomcat).

answered June 25, 2011 7:23 am CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions
Maven tomcat plugin
February 8, 2011