1 <?xml version="1.0" encoding="UTF-8"?>
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.controller</groupId>
6 <artifactId>commons.opendaylight</artifactId>
7 <version>1.4.2-SNAPSHOT</version>
8 <relativePath>../../opendaylight/commons/opendaylight</relativePath>
10 <artifactId>base-features</artifactId>
11 <packaging>pom</packaging>
12 <name>${project.artifactId}</name>
13 <description>Base Features POM</description>
15 <features.file>features.xml</features.file>
20 <filtering>true</filtering>
21 <directory>src/main/resources</directory>
26 <groupId>org.apache.karaf.tooling</groupId>
27 <artifactId>karaf-maven-plugin</artifactId>
28 <version>${karaf.version}</version>
29 <extensions>true</extensions>
32 <id>features-create-kar</id>
34 <goal>features-create-kar</goal>
37 <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
41 <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-resources-plugin</artifactId>
50 <goal>resources</goal>
52 <phase>generate-resources</phase>
57 <groupId>org.codehaus.mojo</groupId>
58 <artifactId>build-helper-maven-plugin</artifactId>
61 <id>attach-artifacts</id>
63 <goal>attach-artifact</goal>
65 <phase>package</phase>
69 <file>${project.build.directory}/classes/${features.file}</file>
71 <classifier>features</classifier>