Remove junit compile scope dependency from util module
KeePassJava2 has a compile time dependency to junit. This is because the util module declares it. Maybe you could define the dependency to the util module as test scope.
Which version are you using? See #71
I'm including
<dependency>
<groupId>org.linguafranca.pwdb</groupId>
<artifactId>KeePassJava2-jackson</artifactId>
<version>2.2.4</version>
</dependency>
junit is a transitive dependency:
KeePassJava2-kdbx -> database -> util -> junit
What you could do is to add util as a test scope dependency to all modules (except for the examples where it has to be a runtime dependency).
I've created a PR for this.
Hi Roman
Thanks for this and thanks for the PR. I am reluctant to keep maintaining 2.2 and would very much prefer if folks were to move to V3 https://github.com/jorabin/KeePassJava2/tree/v3 and if any changes are made to 2.2 then there probably need to be parallel changes to V3. However V3 dependencies work in a different way to V2 and I recall making changes so that there was no runtime dependency on junit.
thanks