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.2.0-SNAPSHOT</version>
17 <relativePath>../</relativePath>
19 <artifactId>features-integration</artifactId>
20 <packaging>jar</packaging>
22 <features.file>features.xml</features.file>
25 <!-- dependencies on feature repos -->
27 <groupId>org.opendaylight.controller</groupId>
28 <artifactId>features-mdsal</artifactId>
29 <version>${feature.mdsal.version}</version>
30 <classifier>features</classifier>
34 <groupId>org.opendaylight.controller</groupId>
35 <artifactId>features-adsal</artifactId>
36 <classifier>features</classifier>
40 <groupId>org.opendaylight.controller</groupId>
41 <artifactId>features-nsf</artifactId>
42 <classifier>features</classifier>
46 <groupId>org.opendaylight.openflowplugin</groupId>
47 <artifactId>features-openflowplugin</artifactId>
48 <version>0.0.3-SNAPSHOT</version>
49 <classifier>features</classifier>
53 <groupId>org.opendaylight.l2switch</groupId>
54 <artifactId>features-l2switch</artifactId>
55 <version>0.1.0-SNAPSHOT</version>
56 <classifier>features</classifier>
60 <groupId>org.opendaylight.controller</groupId>
61 <artifactId>features-adsal-compatibility</artifactId>
62 <version>1.4.2-SNAPSHOT</version>
63 <classifier>features</classifier>
66 <!-- test to validate features.xml -->
68 <groupId>org.opendaylight.yangtools</groupId>
69 <artifactId>features-test</artifactId>
70 <version>0.6.2-SNAPSHOT</version>
72 <!-- dependency for opendaylight-karaf-empty for use by testing -->
74 <groupId>org.opendaylight.controller</groupId>
75 <artifactId>opendaylight-karaf-empty</artifactId>
76 <version>1.4.2-SNAPSHOT</version>
83 <directory>src/main/resources</directory>
84 <filtering>true</filtering>
89 <groupId>org.apache.karaf.tooling</groupId>
90 <artifactId>karaf-maven-plugin</artifactId>
91 <version>${karaf.version}</version>
92 <extensions>true</extensions>
95 <id>features-create-kar</id>
97 <goal>features-create-kar</goal>
100 <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
104 <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-resources-plugin</artifactId>
112 <phase>generate-resources</phase>
114 <goal>resources</goal>
120 <groupId>org.codehaus.mojo</groupId>
121 <artifactId>build-helper-maven-plugin</artifactId>
124 <id>attach-artifacts</id>
125 <phase>package</phase>
127 <goal>attach-artifact</goal>
132 <file>${project.build.directory}/classes/${features.file}</file>
134 <classifier>features</classifier>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-surefire-plugin</artifactId>
144 <version>2.16</version>
146 <systemPropertyVariables>
147 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
148 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
149 <karaf.distro.version>1.4.2-SNAPSHOT</karaf.distro.version>
150 </systemPropertyVariables>
152 <dependency>org.opendaylight.yangtools:features-test</dependency>
153 </dependenciesToScan>