Skip to content

Basic Maven project with Logback (and slf4j bridges configured correctly)

License

Notifications You must be signed in to change notification settings

jvwilge/logback-slf4j-base-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logback-slf4j-base-project

Basic Maven project with :

  • Java 17
  • Logback (and slf4j bridges configured correctly)
    • Version 1.4.x+ of Logback implies the use of the jakarta.* namespace instead of javax.*
  • JUnit 5, Mockito and AssertJ
  • Plugins configured for PIT, Jacoco, Enforcer, Failsafe and Surefire
  • Owasp dependency check (when using maven profile cve)

You can use this project as a base for an archetype :

mvn archetype:create-from-project
cd target/generated-sources/archetype/
mvn install

Now go to the directory where you want to start your new project and run the command and follow the instructions :
(and look for local -> net.jvw:sample-project-archetype (sample-project-archetype))

mvn archetype:generate -DarchetypeCatalog=local

source: https://devcanvas.org/2015/11/17/create-your-own-maven-archetype/

Remove everything above the following line since you don't need these instructions after your finished

Your project name here

Checking for vulnerabilities

To run the Maven build with the Owasp dependency check enabled run :

mvn -Pcve clean verify

This will result in a report in a report in target/dependency-check-report.html

About

Basic Maven project with Logback (and slf4j bridges configured correctly)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages