O'Reilly logo

Maven for Eclipse by Sanjay Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Spicing Up a Maven Project

So far we have built the base, and now we are finally ready to launch the rocket. Rocket! Exciting, isn't it? Let's put our knowledge from previous chapters to practice; we will use Maven to create a simple web application, MyDistance, which lets the user convert distance between different units. In the process of building this application, we will also learn to customize the project's information and generate different artifacts. The topics that will be covered in this chapter are categorized as follows:

  • Creating the MyDistance project
  • Changing the project information
  • Adding dependencies
  • Adding resources
  • The application code
    • Adding a form to obtain an input
    • Adding the servlet
    • Adding a utility class
  • Running an application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required