Bump versions to 4.0.0-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>odlparent</artifactId>
17     <version>4.0.0-SNAPSHOT</version>
18     <relativePath>../odlparent</relativePath>
19   </parent>
20
21   <artifactId>bundles-test-lib</artifactId>
22   <name>ODL :: odlparent :: ${project.artifactId}</name>
23
24   <properties>
25     <!-- Opt-in to our optional code quality checks -->
26     <pmd.cpd.fail>true</pmd.cpd.fail>                    <!-- Copy/paste detection -->
27     <duplicate-finder.skip>false</duplicate-finder.skip> <!-- Classpath duplicates -->
28   </properties>
29
30   <dependencies>
31     <dependency>
32       <groupId>org.osgi</groupId>
33       <artifactId>org.osgi.core</artifactId>
34       <scope>provided</scope>
35     </dependency>
36     <dependency>
37       <groupId>org.apache.karaf.bundle</groupId>
38       <artifactId>org.apache.karaf.bundle.core</artifactId>
39       <version>${karaf.version}</version>
40       <scope>provided</scope>
41     </dependency>
42     <dependency>
43       <groupId>org.hamcrest</groupId>
44       <artifactId>hamcrest-core</artifactId>
45       <scope>compile</scope>
46     </dependency>
47     <dependency>
48       <groupId>org.awaitility</groupId>
49       <artifactId>awaitility</artifactId>
50       <scope>compile</scope>
51       <exclusions>
52         <exclusion>
53           <groupId>cglib</groupId>
54           <artifactId>cglib-nodep</artifactId>
55         </exclusion>
56         <exclusion>
57           <groupId>org.objenesis</groupId>
58           <artifactId>objenesis</artifactId>
59         </exclusion>
60       </exclusions>
61     </dependency>
62     <!-- BEWARE of adding additional dependencies here...
63          It will cause weird issues e.g. in integration/distribution/features/repos/distribution -->
64     <dependency>
65       <groupId>com.google.truth</groupId>
66       <artifactId>truth</artifactId>
67       <scope>test</scope>
68     </dependency>
69   </dependencies>
70
71   <build>
72     <plugins>
73       <plugin>
74         <artifactId>maven-checkstyle-plugin</artifactId>
75         <configuration>
76           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
77         </configuration>
78       </plugin>
79       <plugin>
80         <groupId>com.github.spotbugs</groupId>
81         <artifactId>spotbugs-maven-plugin</artifactId>
82         <configuration>
83           <failOnError>true</failOnError>
84         </configuration>
85       </plugin>
86     </plugins>
87   </build>
88
89   <!--
90     Maven Site Configuration
91
92     The following configuration is necessary for maven-site-plugin to
93     correctly identify the correct deployment path for OpenDaylight Maven
94     sites.
95   -->
96   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
97
98   <distributionManagement>
99     <site>
100       <id>opendaylight-site</id>
101       <url>${nexus.site.url}/${project.artifactId}/</url>
102     </site>
103   </distributionManagement>
104
105 </project>