when I use maven in my project, I dont install Jetty so is Jetty embedded in maven? how about others like Tomcat or glassfish
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Maven itself does not embed Jetty.
There is this Maven plugin called:
jetty-maven-pluginwhich embeds jetty for fast development lifecycle.There is also a Tomcat Maven Plugin… you guessed it… it embeds tomcat… if you use the tomcat:run goal that is… it also has goals that will deploy to your own install of tomcat though so it does not limit itself to embedding.
I think there is a Glassfish Maven Plugin that does not embed glassfish but does provide goals to use an existing installation.
There is also the cargo maven plugin which can provision some containers and run application on those containers