Bump to odlparent-3.1.5-SNAPSHOT
[yangtools.git] / common / testutils / pom.xml
1 <?xml version="1.0"?>
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>
4
5     <parent>
6         <groupId>org.opendaylight.odlparent</groupId>
7         <artifactId>bundle-parent</artifactId>
8         <version>3.1.5-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.opendaylight.yangtools</groupId>
13     <artifactId>testutils</artifactId>
14     <version>2.0.15-SNAPSHOT</version>
15     <!-- Currently not needed, maybe later: <packaging>bundle</packaging> -->
16
17     <dependencyManagement>
18         <dependencies>
19             <dependency>
20                 <groupId>org.opendaylight.yangtools</groupId>
21                 <artifactId>yangtools-artifacts</artifactId>
22                 <version>${project.version}</version>
23                 <scope>import</scope>
24                 <type>pom</type>
25             </dependency>
26         </dependencies>
27     </dependencyManagement>
28
29     <dependencies>
30         <!-- NOTE: The use of <scope> here is a little particular, compared to other standard projects...
31
32              As this test helper project is intended to itself be used as a <scope>test
33              <dependency> so that the utility code in src/main/java of this project can
34              be used to write src/test/java code in projects using it, all <dependencies>
35              here are <scope>compile here (the default, don't mention it), and NOT <scope>test.
36              (Only a <dependency> which only this project would want to use in its own src/test/java code
37              but not expose to projects depending on it would be <scope>test.  However that kind of against
38              the whole point of this project, and currently there no such dependencies here.
39          -->
40         <dependency>
41             <groupId>org.slf4j</groupId>
42             <artifactId>slf4j-api</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>org.slf4j</groupId>
46             <artifactId>slf4j-simple</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>junit</groupId>
50             <artifactId>junit</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.mockito</groupId>
54             <artifactId>mockito-core</artifactId>
55             <scope>compile</scope>
56         </dependency>
57         <dependency>
58             <groupId>com.google.truth</groupId>
59             <artifactId>truth</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>com.google.guava</groupId>
63             <artifactId>guava</artifactId>
64         </dependency>
65
66     </dependencies>
67
68     <build>
69         <plugins>
70             <plugin>
71                 <groupId>org.apache.maven.plugins</groupId>
72                 <artifactId>maven-checkstyle-plugin</artifactId>
73                 <configuration>
74                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
75                 </configuration>
76             </plugin>
77         </plugins>
78     </build>
79
80 </project>