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.yangtools</groupId>
15 <artifactId>yangtools-parent</artifactId>
16 <version>0.6.2-SNAPSHOT</version>
17 <relativePath>../parent/pom.xml</relativePath>
19 <artifactId>features-yangtools</artifactId>
20 <packaging>pom</packaging>
22 <features.file>features.xml</features.file>
27 <directory>src/main/resources</directory>
28 <filtering>true</filtering>
33 <groupId>org.apache.karaf.tooling</groupId>
34 <artifactId>karaf-maven-plugin</artifactId>
35 <version>${karaf.version}</version>
36 <extensions>true</extensions>
39 <id>features-create-kar</id>
41 <goal>features-create-kar</goal>
44 <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
48 <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-resources-plugin</artifactId>
56 <phase>generate-resources</phase>
58 <goal>resources</goal>
64 <groupId>org.codehaus.mojo</groupId>
65 <artifactId>build-helper-maven-plugin</artifactId>
68 <id>attach-artifacts</id>
69 <phase>package</phase>
71 <goal>attach-artifact</goal>
76 <file>${project.build.directory}/classes/${features.file}</file>
78 <classifier>features</classifier>