Maven archetype for a Spring library (Java 8 + Spring 4.3.1.RELEASE).
Install the archetype to your local Maven repository with mvn clean install
.
Create projects from the archetype.
mvn archetype:generate -DarchetypeGroupId=com.kytkemo \
-DarchetypeArtifactId=spring-library \
-DarchetypeVersion=1.2.3 \
-DgroupId=com.yourcompany \
-DartifactId=ProjectName \
-Dpackage=com.yourcompany.projectname
After creating a project from the archetype you can do the following tasks.
Run tests with mvn test
.
Create a package with mvn package
.