1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2014 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">
12 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.integration</groupId>
15 <artifactId>root</artifactId>
16 <version>0.5.0-SNAPSHOT</version>
17 <relativePath>../</relativePath>
19 <artifactId>features-integration-test</artifactId>
20 <packaging>jar</packaging>
22 <features.file>features.xml</features.file>
25 <!-- dependencies on feature repos -->
27 <groupId>org.opendaylight.integration</groupId>
28 <artifactId>features-integration-index</artifactId>
29 <version>${project.version}</version>
30 <classifier>features</classifier>
34 <!-- test to validate features.xml -->
36 <groupId>org.opendaylight.odlparent</groupId>
37 <artifactId>features-test</artifactId>
38 <version>${feature.odlparent.version}</version>
41 <groupId>junit</groupId>
42 <artifactId>junit-dep</artifactId>
45 <!-- dependency for opendaylight-karaf-empty for use by testing -->
47 <groupId>org.opendaylight.controller</groupId>
48 <artifactId>opendaylight-karaf-empty</artifactId>
49 <version>${feature.odlparent.version}</version>
56 <directory>src/main/resources</directory>
57 <filtering>true</filtering>
62 <groupId>org.apache.karaf.tooling</groupId>
63 <artifactId>karaf-maven-plugin</artifactId>
64 <extensions>true</extensions>
67 <id>features-create-kar</id>
69 <goal>features-create-kar</goal>
72 <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
76 <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-resources-plugin</artifactId>
84 <phase>generate-resources</phase>
86 <goal>resources</goal>
92 <groupId>org.codehaus.mojo</groupId>
93 <artifactId>build-helper-maven-plugin</artifactId>
96 <id>attach-artifacts</id>
97 <phase>package</phase>
99 <goal>attach-artifact</goal>
104 <file>${project.build.directory}/classes/${features.file}</file>
106 <classifier>features</classifier>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-surefire-plugin</artifactId>
117 <systemPropertyVariables>
118 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
119 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
120 <karaf.distro.version>${feature.odlparent.version}</karaf.distro.version>
121 </systemPropertyVariables>
123 <dependency>org.opendaylight.odlparent:features-test</dependency>
124 </dependenciesToScan>