This is the base for all standard standalone java based application.
-
Clone this repository.
-
Change the artifactId in your pom.xml with the project name.
-
Run mvn test, you should get "BUILD SUCCESS".
-
Import the project to your ide.
-
Add all your packages and source code to
- src/main/java
-
Add the source code for test into
- src/test/java
-
Clean:
- mvn clean
-
Build:
- mvn compile
- mvn test
- mvn package
- mvn install
- mvn exec:java -Dexec.mainClass="com.example.Class"
- Junit5
- AssertJ
- Mockito