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>1.8.0-SNAPSHOT</version>
17 <relativePath>../bundle-parent</relativePath>
20 <modelVersion>4.0.0</modelVersion>
21 <artifactId>features4-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.apache.maven.wagon</groupId>
49 <artifactId>wagon-http</artifactId>
50 <version>2.10</version>
51 <scope>compile</scope>
54 <groupId>org.apache.karaf.features</groupId>
55 <artifactId>standard</artifactId>
56 <version>${karaf4.version}</version>
57 <classifier>features</classifier>
61 <groupId>junit</groupId>
62 <artifactId>junit</artifactId>
63 <scope>compile</scope>
66 <groupId>org.apache.karaf.deployer</groupId>
67 <artifactId>org.apache.karaf.deployer.blueprint</artifactId>
68 <version>${karaf4.version}</version>
69 <scope>compile</scope>
72 <groupId>org.apache.karaf.deployer</groupId>
73 <artifactId>org.apache.karaf.deployer.features</artifactId>
74 <version>${karaf4.version}</version>
75 <scope>compile</scope>
78 <groupId>org.ops4j.pax.url</groupId>
79 <artifactId>pax-url-wrap</artifactId>
80 <scope>compile</scope>
83 <groupId>org.slf4j</groupId>
84 <artifactId>slf4j-api</artifactId>
85 <scope>compile</scope>
88 <groupId>javax.inject</groupId>
89 <artifactId>javax.inject</artifactId>
90 <scope>compile</scope>
93 <groupId>org.osgi</groupId>
94 <artifactId>org.osgi.core</artifactId>
95 <scope>compile</scope>
98 <groupId>org.apache.karaf</groupId>
99 <artifactId>apache-karaf</artifactId>
100 <version>${karaf4.version}</version>
103 <!-- BEWARE of adding additional dependencies here...
104 It will cause weird issues e.g. in integration/distribution/features/repos/distribution -->
106 <groupId>${project.groupId}</groupId>
107 <artifactId>bundles4-test</artifactId>
108 <version>${project.version}</version>
109 <scope>provided</scope>
112 <groupId>com.google.guava</groupId>
113 <artifactId>guava</artifactId>
114 <scope>compile</scope>
116 <!-- The following, which are just transitive dependencies of bundles4-test,
117 have to be repeated here so that the Embed-Dependency below for maven-bundle-plugin works: -->
119 <groupId>org.hamcrest</groupId>
120 <artifactId>hamcrest-core</artifactId>
121 <scope>provided</scope>
124 <groupId>org.awaitility</groupId>
125 <artifactId>awaitility</artifactId>
126 <scope>provided</scope>
129 <groupId>cglib</groupId>
130 <artifactId>cglib-nodep</artifactId>
133 <groupId>org.objenesis</groupId>
134 <artifactId>objenesis</artifactId>
138 <!-- Real <scope>test dependencies, just for SingleFeatureTestUnitTest -->
140 <groupId>com.google.truth</groupId>
141 <artifactId>truth</artifactId>
149 <directory>src/main/resources</directory>
150 <filtering>true</filtering>
155 <groupId>org.apache.felix</groupId>
156 <artifactId>maven-bundle-plugin</artifactId>
159 <Embed-Dependency>bundles4-test;inline=true,awaitility;inline=true,hamcrest-core;inline=true</Embed-Dependency>
160 <!-- same as in bundles4-test/pom.xml: -->
161 <Import-Package>!net.sf.cglib.proxy,!org.objenesis,*</Import-Package>
166 <artifactId>maven-checkstyle-plugin</artifactId>
168 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
172 <id>check-license</id>
175 <!-- Skip Apache Licensed files -->
176 org/opendaylight/odlparent/featuretest/CustomBundleUrlStreamHandlerFactory.java
186 Maven Site Configuration
188 The following configuration is necessary for maven-site-plugin to
189 correctly identify the correct deployment path for OpenDaylight Maven
192 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
194 <distributionManagement>
196 <id>opendaylight-site</id>
197 <url>${nexus.site.url}/${project.artifactId}/</url>
199 </distributionManagement>