One of the most compelling features of m2eclipse is the ability to quickly generate new Maven projects using the New Maven project wizard. This post and the associated video demonstrate the steps to create a simple Maven project using the New Maven project wizard to select the Maven Quickstart archetype.
To create a simple project using the New Maven project wizard:
1. Select File - New Project. This should display the New Project dialog.
2. In the New Project Dialog, expand the Maven folder, and select Maven Project.
3. Click Next. The next screen provides options for customizing the location of your new Maven project. If you are storing the new project in your workspace, you can supply the directory on this page.
4. Click Next. The next screen lists all of the available Maven Archetypes, select the Maven Quickstart Archetype which should be listed under the group id org.apache.maven.archetypes.
5. Click Next. On the next screen, supply a Group Id, Artifact Id, and Version for your new project.
6. Click Finish and m2eclipse will use the Maven Quickstart Archetype to generate a new Maven project in your Eclipse workspace.
For more information, go to http://m2eclipse.sonatype.org
@PilotRiaz I know, but what's the point of Maven Install then?
SamDecrock 5 months ago
@SamDecrock You need to do Run As Java Application. Pop up dialog will show, select App Test and it will run. You will see Hello World in the consolse
PilotRiaz 5 months ago
Thanks for the simple quick tutorial.
creativefeather 6 months ago
Why don't I see
"Hello World!"
in the console after running "maven install"???
SamDecrock 7 months ago
really good video for beginners
windofnight 1 year ago