clarin-eric / cmdi-toolkit

GNU General Public License v3.0
7 stars 2 forks source link

Exclude slf4j binding from library #3

Open twagoo opened 8 years ago

twagoo commented 8 years ago

The pom-file declares dependency on the slf4j logback binding. This can be problematic when using the toolkit as a java library. Suggestion: make a build profile for the conversion tool and define the log bindings in that profile only.

benhur1999 commented 8 years ago

Another idea: split library and conversion-tool in two artifacts and only add the dependency to logback to the tool. The library, of course, needs a dependent on slf4j-api (which is fine, IMHO). It's handled in a similar fashion in the cmdi-validator