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.9.1-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>org.apache.karaf.bundle</groupId>
113 <artifactId>org.apache.karaf.bundle.core</artifactId>
114 <version>${karaf4.version}</version>
115 <scope>provided</scope>
118 <groupId>com.google.guava</groupId>
119 <artifactId>guava</artifactId>
120 <scope>compile</scope>
122 <!-- The following, which are just transitive dependencies of bundles4-test,
123 have to be repeated here so that the Embed-Dependency below for maven-bundle-plugin works: -->
125 <groupId>org.hamcrest</groupId>
126 <artifactId>hamcrest-core</artifactId>
127 <scope>provided</scope>
130 <groupId>org.awaitility</groupId>
131 <artifactId>awaitility</artifactId>
132 <scope>provided</scope>
135 <groupId>cglib</groupId>
136 <artifactId>cglib-nodep</artifactId>
139 <groupId>org.objenesis</groupId>
140 <artifactId>objenesis</artifactId>
144 <!-- Real <scope>test dependencies, just for SingleFeatureTestUnitTest -->
146 <groupId>com.google.truth</groupId>
147 <artifactId>truth</artifactId>
155 <directory>src/main/resources</directory>
156 <filtering>true</filtering>
161 <groupId>org.apache.felix</groupId>
162 <artifactId>maven-bundle-plugin</artifactId>
165 <Embed-Dependency>bundles4-test;inline=true,awaitility;inline=true,hamcrest-core;inline=true</Embed-Dependency>
166 <!-- same as in bundles4-test/pom.xml: -->
167 <Import-Package>!net.sf.cglib.proxy,!org.objenesis,*</Import-Package>
172 <artifactId>maven-checkstyle-plugin</artifactId>
174 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
178 <id>check-license</id>
181 <!-- Skip Apache Licensed files -->
182 org/opendaylight/odlparent/featuretest/CustomBundleUrlStreamHandlerFactory.java
192 Maven Site Configuration
194 The following configuration is necessary for maven-site-plugin to
195 correctly identify the correct deployment path for OpenDaylight Maven
198 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
200 <distributionManagement>
202 <id>opendaylight-site</id>
203 <url>${nexus.site.url}/${project.artifactId}/</url>
205 </distributionManagement>