Showing posts with label Maven archetypes. Show all posts
Showing posts with label Maven archetypes. Show all posts

How to create a simple Java project with Maven 3?

0 comments
Managing your project with Maven gives you a lot of advantages. You can automatically compile, pack into JAR or run tests on your project. You can also manage your project dependencies with almost no effort. To create JAR project I will use a powerful Maven capability called archetypes. Maven gives you a possibility to predefine your project template (archetype in Maven terminology), so that for different projects you can use different archetypes. Maven also comes with predefined archetypes for creating different projects like simple JAR or J2EE project.