How to add an extra Java library

1- Identify the library you need on maven

2- Check the compatibility with Simplicité’s librabries

  1. Add the maven-enforcer-plugin to your project’s pom.xml :
  1. save existing dependecy collisions
mvn validate > dep-errors-1.log
  1. add the library you’re interested in to your project’s pom.xml :
  1. save new collisions:
mvn validate > dep-errors-2.log
  1. compare existing collisions to new collisions:
diff dep-errors-1.log dep-errors-2.log
  1. analyse the results:


3- Add the library to your project