Make sure same dependency version is used throughout - including 3rd party transitive ones
<spring.version>5.0.7.RELEASE</spring.version>
<jgit.version>5.0.1.201806211838-r</jgit.version>
<junit.version>4.12</junit.version>
+ <bytebuddy.version>1.8.15</bytebuddy.version>
+
<surefire.plugin.version>2.22.0</surefire.plugin.version>
<!-- See https://pmd.github.io/ for available latest version -->
<pmd.version>6.5.0</pmd.version>
<version>1.1.3</version>
</dependency>
+ <!-- Transitive dependencies by various 3rd party packages -->
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.6</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.6</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2.2</version>
+ </dependency>
+
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
+
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.20.0</version>
</dependency>
+ <!-- Used by mockito -->
+ <dependency>
+ <groupId>net.bytebuddy</groupId>
+ <artifactId>byte-buddy</artifactId>
+ <version>${bytebuddy.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.bytebuddy</groupId>
+ <artifactId>byte-buddy-agent</artifactId>
+ <version>${bytebuddy.version}</version>
+ </dependency>
+
<dependency>
<groupId>net.sf.jpam</groupId>
<artifactId>jpam</artifactId>
