Book Image

Maven for Eclipse

By : Sanjay Shah
Book Image

Maven for Eclipse

By: Sanjay Shah

Overview of this book

<p>Starting with an exploration of the Maven architecture and its installation, you will then learn how to install m2eclipse, which provides Maven integration with Eclipse. Furthermore, the book guides you through the stages of project creation, including building, testing, and executing the projects.</p> <p>You will learn to customize your projects by demonstrating different core concepts of the Maven project structure. Nevertheless, you will also become familiar with the build lifecycles that generate the required artifacts. Moreover, it will also guide you through the process of handling multimodule projects and working with them effectively.</p> <p>By the end of this book, you will have a good understanding of m2eclipse and will be able to use it efficiently with ease.</p>
Table of Contents (14 chapters)
Maven for Eclipse
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Other features in m2eclipse


The following steps have to be performed in order to understand the other features of m2eclipse. Right-click on the Maven project and navigate to the Maven menu item. Then, you can see the available features as shown in the following screenshot:

If you see the screenshot, the available features are as follows:

  • Add Dependency

  • Add Plugin

  • New Maven Module Project

  • Download JavaDoc

  • Download Sources

  • Update Project

  • Disable Workspace Resolution

  • Disable Maven Nature

Similarly, right-click on Maven Dependencies and navigate to the Maven menu item. The available features seen are shown in the following screenshot:

The available features are as follows:

  • Download JavaDoc

  • Download Sources

  • Exclude Maven Artifact

  • Open POM

  • Open JavaDoc

  • Import Project(s) from SCM

In the sections to follow, we will collectively discuss these features.

Add Dependency

It allows us to add dependencies to the Maven project. The screenshot for this is shown as follows:

Up until now, we have been...