Java Reference
In-Depth Information
choice, and you can easily run the examples contained in this topic using this pat-
tern; however, when it comes to enterprise solutions, it's no surprise that almost
every project is now Maven-based. Some of the benefits that you will achieve when
turning to Maven projects include a well-defined dependency structure, the enforce-
ment of a project's build best practices, and project modular design, just to mention
a few.
Note
In order to integrate Maven with Eclipse, you need to install the Maven Integra-
tion for the Eclipse plugin. This can be done in a minute by navigating to
Help
|
Eclipse Market Place
and from there search and install the
Maven Integration
for Eclipse
(m2e) plugin which will need restarting Eclipse thereafter.
So let's create our first Maven project directly from Eclipse. Navigate to
File
|
New
|
Other
|
Maven Project
:
Click on
Next
; you will be taken to the following intermediary screen: