Bump versions to 13.0.0-SNAPSHOT
[odlparent.git] / features-test / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright © 2014, 2017 Cisco Systems, 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
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>bundle-parent</artifactId>
16         <version>13.0.0-SNAPSHOT</version>
17         <relativePath>../bundle-parent</relativePath>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>features-test</artifactId>
22     <packaging>bundle</packaging>
23     <name>ODL :: odlparent :: ${project.artifactId}</name>
24
25     <properties>
26         <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
27     </properties>
28
29     <dependencies>
30         <!-- Dependencies for pax exam karaf container -->
31         <dependency>
32             <groupId>org.ops4j.pax.exam</groupId>
33             <artifactId>pax-exam-container-karaf</artifactId>
34             <scope>compile</scope>
35         </dependency>
36         <dependency>
37             <groupId>org.ops4j.pax.exam</groupId>
38             <artifactId>pax-exam-junit4</artifactId>
39             <scope>compile</scope>
40         </dependency>
41         <dependency>
42             <groupId>org.ops4j.pax.exam</groupId>
43             <artifactId>pax-exam</artifactId>
44             <scope>compile</scope>
45         </dependency>
46         <dependency>
47             <groupId>org.ops4j.pax.url</groupId>
48             <artifactId>pax-url-aether</artifactId>
49             <scope>compile</scope>
50         </dependency>
51         <dependency>
52             <groupId>org.osgi</groupId>
53             <!-- required due to https://jira.opendaylight.org/browse/ODLPARENT-136 -->
54             <artifactId>org.osgi.service.resolver</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>org.apache.karaf.features</groupId>
58             <artifactId>standard</artifactId>
59             <version>${karaf.version}</version>
60             <classifier>features</classifier>
61             <type>xml</type>
62         </dependency>
63         <dependency>
64             <groupId>junit</groupId>
65             <artifactId>junit</artifactId>
66             <scope>compile</scope>
67         </dependency>
68         <dependency>
69             <groupId>org.apache.karaf.deployer</groupId>
70             <artifactId>org.apache.karaf.deployer.blueprint</artifactId>
71             <version>${karaf.version}</version>
72             <scope>compile</scope>
73         </dependency>
74         <dependency>
75             <groupId>org.apache.karaf.deployer</groupId>
76             <artifactId>org.apache.karaf.deployer.features</artifactId>
77             <version>${karaf.version}</version>
78             <scope>compile</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.ops4j.pax.url</groupId>
82             <artifactId>pax-url-wrap</artifactId>
83             <scope>compile</scope>
84         </dependency>
85         <dependency>
86             <groupId>org.slf4j</groupId>
87             <artifactId>slf4j-api</artifactId>
88             <scope>compile</scope>
89         </dependency>
90         <dependency>
91             <groupId>com.guicedee.services</groupId>
92             <artifactId>javax.inject</artifactId>
93             <scope>compile</scope>
94         </dependency>
95         <dependency>
96             <groupId>org.osgi</groupId>
97             <artifactId>org.osgi.framework</artifactId>
98             <scope>compile</scope>
99         </dependency>
100         <dependency>
101             <groupId>org.opendaylight.odlparent</groupId>
102             <artifactId>opendaylight-karaf-empty</artifactId>
103             <type>zip</type>
104         </dependency>
105         <!-- BEWARE of adding additional dependencies here...
106              It will cause weird issues e.g. in integration/distribution/features/repos/distribution -->
107         <dependency>
108           <groupId>org.opendaylight.odlparent</groupId>
109           <artifactId>karaf-util</artifactId>
110           <version>${project.version}</version>
111         </dependency>
112         <dependency>
113             <groupId>${project.groupId}</groupId>
114             <artifactId>bundles4-test</artifactId>
115             <version>${project.version}</version>
116             <scope>provided</scope>
117         </dependency>
118         <dependency>
119             <groupId>org.apache.karaf.bundle</groupId>
120             <artifactId>org.apache.karaf.bundle.core</artifactId>
121             <version>${karaf.version}</version>
122             <scope>provided</scope>
123         </dependency>
124         <dependency>
125             <groupId>com.google.guava</groupId>
126             <artifactId>guava</artifactId>
127             <scope>compile</scope>
128         </dependency>
129         <!-- The following, which are just transitive dependencies of bundles4-test,
130              have to be repeated here so that the Embed-Dependency below for maven-bundle-plugin works: -->
131         <dependency>
132             <groupId>org.hamcrest</groupId>
133             <artifactId>hamcrest</artifactId>
134             <scope>provided</scope>
135         </dependency>
136         <dependency>
137             <groupId>org.awaitility</groupId>
138             <artifactId>awaitility</artifactId>
139             <scope>provided</scope>
140             <exclusions>
141                 <exclusion>
142                     <groupId>cglib</groupId>
143                     <artifactId>cglib-nodep</artifactId>
144                 </exclusion>
145                 <exclusion>
146                     <groupId>org.objenesis</groupId>
147                     <artifactId>objenesis</artifactId>
148                 </exclusion>
149             </exclusions>
150         </dependency>
151     </dependencies>
152
153     <build>
154         <resources>
155             <resource>
156                 <directory>src/main/resources</directory>
157                 <filtering>true</filtering>
158             </resource>
159         </resources>
160         <plugins>
161             <plugin>
162                 <groupId>org.apache.felix</groupId>
163                 <artifactId>maven-bundle-plugin</artifactId>
164                 <configuration>
165                   <instructions>
166                     <Embed-Dependency>bundles4-test;inline=true,awaitility;inline=true,hamcrest;inline=true</Embed-Dependency>
167                     <!-- same as in bundles4-test/pom.xml: -->
168                     <Import-Package>!net.sf.cglib.proxy,!org.objenesis,*</Import-Package>
169                   </instructions>
170                 </configuration>
171             </plugin>
172             <plugin>
173                 <artifactId>maven-checkstyle-plugin</artifactId>
174                 <executions>
175                     <execution>
176                         <id>check-license</id>
177                         <configuration>
178                             <excludes>
179                                 <!-- Skip Apache Licensed files -->
180                                 org/opendaylight/odlparent/featuretest/CustomBundleUrlStreamHandlerFactory.java
181                             </excludes>
182                         </configuration>
183                     </execution>
184                 </executions>
185             </plugin>
186         </plugins>
187     </build>
188
189 </project>