Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 2.28 KB

File metadata and controls

56 lines (41 loc) · 2.28 KB

Java          Junit5          AssertJ     Maven

Java 21 + JUnit 5 + AssertJ: Quick Start Maven Archetype

Maven archetype to create a quick start project configured for Java 21, Junit 5 and AssertJ.

Install archetype in local repository

Once you have cloned the repository locally. Just run the maven command below to install the archetype.

mvn clean install

Example using the archetype

When the archetype has been installed locally you can create a project using the command below. Just replace the parameter values with the actual values you want to use.

 mvn archetype:generate -DarchetypeGroupId=com.wtech.archetypes \
                        -DarchetypeArtifactId=java21-junit5-assertj-maven-archetype \
                        -DarchetypeVersion=1.0.0-SNAPSHOT \
                        -DgroupId=com.wtech.app \
                        -DartifactId=a-test-project \
                        -Dversion=1.0.0-SNAPSHOT \
                        -DinteractiveMode=false

References

Author

License

  • This project is released under the Apache 2.0 License. See the LICENSE file for details.
  • Copyright © 2024 Wallace Espindola.