Bump versions to 5.0.2-SNAPSHOT
[odlparent.git] / bundles-test-lib / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2016 Red Hat, Inc. and others. All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.odlparent</groupId>
16     <artifactId>bundle-parent</artifactId>
17     <version>5.0.2-SNAPSHOT</version>
18     <relativePath>../bundle-parent</relativePath>
19   </parent>
20
21   <artifactId>bundles-test-lib</artifactId>
22   <name>ODL :: odlparent :: ${project.artifactId}</name>
23   <packaging>bundle</packaging>
24
25   <properties>
26     <!-- Opt-in to our optional code quality checks -->
27     <pmd.cpd.fail>true</pmd.cpd.fail>                    <!-- Copy/paste detection -->
28     <duplicate-finder.skip>false</duplicate-finder.skip> <!-- Classpath duplicates -->
29   </properties>
30
31   <dependencies>
32     <dependency>
33       <groupId>org.osgi</groupId>
34       <artifactId>org.osgi.core</artifactId>
35       <scope>provided</scope>
36     </dependency>
37     <dependency>
38       <groupId>org.apache.karaf.bundle</groupId>
39       <artifactId>org.apache.karaf.bundle.core</artifactId>
40       <version>${karaf.version}</version>
41       <scope>provided</scope>
42     </dependency>
43     <dependency>
44       <groupId>org.hamcrest</groupId>
45       <artifactId>hamcrest</artifactId>
46       <scope>compile</scope>
47     </dependency>
48     <dependency>
49       <groupId>org.awaitility</groupId>
50       <artifactId>awaitility</artifactId>
51       <scope>compile</scope>
52       <exclusions>
53         <exclusion>
54           <groupId>cglib</groupId>
55           <artifactId>cglib-nodep</artifactId>
56         </exclusion>
57         <exclusion>
58           <groupId>org.objenesis</groupId>
59           <artifactId>objenesis</artifactId>
60         </exclusion>
61       </exclusions>
62     </dependency>
63     <!-- BEWARE of adding additional dependencies here...
64          It will cause weird issues e.g. in integration/distribution/features/repos/distribution -->
65     <dependency>
66       <groupId>com.google.truth</groupId>
67       <artifactId>truth</artifactId>
68       <scope>test</scope>
69     </dependency>
70   </dependencies>
71
72   <build>
73     <plugins>
74       <plugin>
75         <artifactId>maven-checkstyle-plugin</artifactId>
76         <configuration>
77           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
78         </configuration>
79       </plugin>
80       <plugin>
81         <groupId>com.github.spotbugs</groupId>
82         <artifactId>spotbugs-maven-plugin</artifactId>
83         <configuration>
84           <failOnError>true</failOnError>
85         </configuration>
86       </plugin>
87     </plugins>
88   </build>
89
90 </project>