Create a new project
- Use the default maven archetype:
- Accept default project (note: the number will change from time to time, it is 670 in this example)
- Accept the default version
- Enter a group id (e.g., com.shoe)
- Enter artifact (project name, e.g., paginator)
- Enter default package (e.g., com.shoe.paginator
<enter>
)
- Confirm the configuration
Check the project
- Change to directory created (e.g., cd paginator)
Modernize the project
- Edit pom.xml
- Change JUnit version to 4.12
- Modify the target Java version (paste above :
- Remove source files created by mvn archetype:generate above
Optionally create a git repo out of this directory
You are ready to open pom.xml in an ide
Creating Empty Project
Comments