1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright © 2014, 2017 Cisco Systems, Inc. and others. All rights reserved.
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
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">
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>bundle-parent</artifactId>
16 <version>4.0.6-SNAPSHOT</version>
17 <relativePath>../bundle-parent</relativePath>
20 <modelVersion>4.0.0</modelVersion>
21 <artifactId>features-test</artifactId>
22 <packaging>bundle</packaging>
23 <name>ODL :: odlparent :: ${project.artifactId}</name>
26 <!-- Dependencies for pax exam karaf container -->
28 <groupId>org.ops4j.pax.exam</groupId>
29 <artifactId>pax-exam-container-karaf</artifactId>
30 <scope>compile</scope>
33 <groupId>org.ops4j.pax.exam</groupId>
34 <artifactId>pax-exam-junit4</artifactId>
35 <scope>compile</scope>
38 <groupId>org.ops4j.pax.exam</groupId>
39 <artifactId>pax-exam</artifactId>
40 <scope>compile</scope>
43 <groupId>org.ops4j.pax.url</groupId>
44 <artifactId>pax-url-aether</artifactId>
45 <scope>compile</scope>
48 <groupId>org.osgi</groupId>
49 <!-- required due to https://jira.opendaylight.org/browse/ODLPARENT-136 -->
50 <artifactId>org.osgi.compendium</artifactId>
53 <groupId>org.apache.karaf.features</groupId>
54 <artifactId>standard</artifactId>
55 <version>${karaf.version}</version>
56 <classifier>features</classifier>
60 <groupId>junit</groupId>
61 <artifactId>junit</artifactId>
62 <scope>compile</scope>
65 <groupId>org.apache.karaf.deployer</groupId>
66 <artifactId>org.apache.karaf.deployer.blueprint</artifactId>
67 <version>${karaf.version}</version>
68 <scope>compile</scope>
71 <groupId>org.apache.karaf.deployer</groupId>
72 <artifactId>org.apache.karaf.deployer.features</artifactId>
73 <version>${karaf.version}</version>
74 <scope>compile</scope>
77 <groupId>org.ops4j.pax.url</groupId>
78 <artifactId>pax-url-wrap</artifactId>
79 <scope>compile</scope>
82 <groupId>org.slf4j</groupId>
83 <artifactId>slf4j-api</artifactId>
84 <scope>compile</scope>
87 <groupId>javax.inject</groupId>
88 <artifactId>javax.inject</artifactId>
89 <scope>compile</scope>
92 <groupId>org.osgi</groupId>
93 <artifactId>org.osgi.core</artifactId>
94 <scope>compile</scope>
97 <groupId>org.opendaylight.odlparent</groupId>
98 <artifactId>opendaylight-karaf-empty</artifactId>
103 <artifactId>*</artifactId>
107 <!-- BEWARE of adding additional dependencies here...
108 It will cause weird issues e.g. in integration/distribution/features/repos/distribution -->
110 <groupId>org.opendaylight.odlparent</groupId>
111 <artifactId>karaf-util</artifactId>
112 <version>${project.version}</version>
115 <groupId>${project.groupId}</groupId>
116 <artifactId>bundles4-test</artifactId>
117 <version>${project.version}</version>
118 <scope>provided</scope>
121 <groupId>org.apache.karaf.bundle</groupId>
122 <artifactId>org.apache.karaf.bundle.core</artifactId>
123 <version>${karaf.version}</version>
124 <scope>provided</scope>
127 <groupId>com.google.guava</groupId>
128 <artifactId>guava</artifactId>
129 <scope>compile</scope>
131 <!-- The following, which are just transitive dependencies of bundles4-test,
132 have to be repeated here so that the Embed-Dependency below for maven-bundle-plugin works: -->
134 <groupId>org.hamcrest</groupId>
135 <artifactId>hamcrest-core</artifactId>
136 <scope>provided</scope>
139 <groupId>org.awaitility</groupId>
140 <artifactId>awaitility</artifactId>
141 <scope>provided</scope>
144 <groupId>cglib</groupId>
145 <artifactId>cglib-nodep</artifactId>
148 <groupId>org.objenesis</groupId>
149 <artifactId>objenesis</artifactId>
153 <!-- Real <scope>test dependencies, just for SingleFeatureTestUnitTest -->
155 <groupId>com.google.truth</groupId>
156 <artifactId>truth</artifactId>
164 <directory>src/main/resources</directory>
165 <filtering>true</filtering>
170 <groupId>org.apache.felix</groupId>
171 <artifactId>maven-bundle-plugin</artifactId>
174 <Embed-Dependency>bundles4-test;inline=true,awaitility;inline=true,hamcrest-core;inline=true</Embed-Dependency>
175 <!-- same as in bundles4-test/pom.xml: -->
176 <Import-Package>!net.sf.cglib.proxy,!org.objenesis,*</Import-Package>
181 <artifactId>maven-checkstyle-plugin</artifactId>
183 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
187 <id>check-license</id>
190 <!-- Skip Apache Licensed files -->
191 org/opendaylight/odlparent/featuretest/CustomBundleUrlStreamHandlerFactory.java