<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <classpathDependencyExcludes>
- <!-- Removes com.sun.jersey from testing classpath so there is no conflict with org.glassfish.jersey -->
- <classpathDependencyExclude>com.sun.jersey</classpathDependencyExclude>
- </classpathDependencyExcludes>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <!-- TODO Remove the dependencies when upgrading to odlparent 3.1.1 or later -->
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>findbugs</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ </dependencies>
<configuration>
<failOnError>true</failOnError>
</configuration>