2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.opendaylight.odlparent</groupId>
7 <artifactId>bundle-parent</artifactId>
8 <version>4.0.0</version>
12 <groupId>org.opendaylight.yangtools</groupId>
13 <artifactId>testutils</artifactId>
14 <version>2.1.0-SNAPSHOT</version>
15 <!-- Currently not needed, maybe later: <packaging>bundle</packaging> -->
18 <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
21 <dependencyManagement>
24 <groupId>org.opendaylight.yangtools</groupId>
25 <artifactId>yangtools-artifacts</artifactId>
26 <version>${project.version}</version>
31 </dependencyManagement>
34 <!-- NOTE: The use of <scope> here is a little particular, compared to other standard projects...
36 As this test helper project is intended to itself be used as a <scope>test
37 <dependency> so that the utility code in src/main/java of this project can
38 be used to write src/test/java code in projects using it, all <dependencies>
39 here are <scope>compile here (the default, don't mention it), and NOT <scope>test.
40 (Only a <dependency> which only this project would want to use in its own src/test/java code
41 but not expose to projects depending on it would be <scope>test. However that kind of against
42 the whole point of this project, and currently there no such dependencies here.
45 <groupId>org.slf4j</groupId>
46 <artifactId>slf4j-api</artifactId>
49 <groupId>org.slf4j</groupId>
50 <artifactId>slf4j-simple</artifactId>
54 <groupId>org.mockito</groupId>
55 <artifactId>mockito-core</artifactId>
56 <scope>compile</scope>
59 <groupId>com.google.truth</groupId>
60 <artifactId>truth</artifactId>
63 <groupId>com.google.guava</groupId>
64 <artifactId>guava</artifactId>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-checkstyle-plugin</artifactId>
75 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
79 <groupId>com.github.spotbugs</groupId>
80 <artifactId>spotbugs-maven-plugin</artifactId>
82 <failOnError>true</failOnError>