1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.controller</groupId>
6 <artifactId>commons.opendaylight</artifactId>
7 <version>1.6.0-SNAPSHOT</version>
8 <relativePath>../../../../opendaylight/commons/opendaylight</relativePath>
10 <artifactId>extras-features</artifactId>
11 <packaging>kar</packaging>
12 <name>${project.artifactId}</name>
13 <description>Base Features POM</description>
15 <features.file>features.xml</features.file>
16 <netty3.version>3.9.2.Final</netty3.version>
21 <filtering>true</filtering>
22 <directory>src/main/resources</directory>
27 <groupId>org.apache.karaf.tooling</groupId>
28 <artifactId>karaf-maven-plugin</artifactId>
29 <version>${karaf.version}</version>
30 <extensions>true</extensions>
33 <id>features-create-kar</id>
35 <goal>features-create-kar</goal>
38 <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
42 <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-resources-plugin</artifactId>
51 <goal>resources</goal>
53 <phase>generate-resources</phase>
58 <groupId>org.codehaus.mojo</groupId>
59 <artifactId>build-helper-maven-plugin</artifactId>
62 <id>attach-artifacts</id>
64 <goal>attach-artifact</goal>
66 <phase>package</phase>
70 <file>${project.build.directory}/classes/${features.file}</file>
72 <classifier>features</classifier>