BUG-8923: create karaf-util
[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>3.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   <dependencies>
25     <dependency>
26       <groupId>org.osgi</groupId>
27       <artifactId>org.osgi.core</artifactId>
28       <scope>provided</scope>
29     </dependency>
30     <dependency>
31       <groupId>org.apache.karaf.bundle</groupId>
32       <artifactId>org.apache.karaf.bundle.core</artifactId>
33       <version>${karaf.version}</version>
34       <scope>provided</scope>
35     </dependency>
36     <dependency>
37       <groupId>org.hamcrest</groupId>
38       <artifactId>hamcrest-core</artifactId>
39       <scope>compile</scope>
40     </dependency>
41     <dependency>
42       <groupId>org.awaitility</groupId>
43       <artifactId>awaitility</artifactId>
44       <scope>compile</scope>
45       <exclusions>
46         <exclusion>
47           <groupId>cglib</groupId>
48           <artifactId>cglib-nodep</artifactId>
49         </exclusion>
50         <exclusion>
51           <groupId>org.objenesis</groupId>
52           <artifactId>objenesis</artifactId>
53         </exclusion>
54       </exclusions>
55     </dependency>
56     <dependency>
57       <groupId>org.opendaylight.odlparent</groupId>
58       <artifactId>karaf-util</artifactId>
59       <version>${project.version}</version>
60     </dependency>
61     <!-- BEWARE of adding additional dependencies here...
62          It will cause weird issues e.g. in integration/distribution/features/repos/distribution -->
63     <dependency>
64       <groupId>com.google.truth</groupId>
65       <artifactId>truth</artifactId>
66       <scope>test</scope>
67     </dependency>
68   </dependencies>
69
70   <build>
71     <plugins>
72       <plugin>
73         <artifactId>maven-checkstyle-plugin</artifactId>
74         <configuration>
75           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
76         </configuration>
77       </plugin>
78       <plugin>
79         <groupId>org.codehaus.mojo</groupId>
80         <artifactId>findbugs-maven-plugin</artifactId>
81         <configuration>
82           <failOnError>true</failOnError>
83         </configuration>
84       </plugin>
85     </plugins>
86   </build>
87
88   <!--
89     Maven Site Configuration
90
91     The following configuration is necessary for maven-site-plugin to
92     correctly identify the correct deployment path for OpenDaylight Maven
93     sites.
94   -->
95   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
96
97   <distributionManagement>
98     <site>
99       <id>opendaylight-site</id>
100       <url>${nexus.site.url}/${project.artifactId}/</url>
101     </site>
102   </distributionManagement>
103
104 </project>