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 <artifactId>appc-chef-adapter</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.0.0</version>
9 <artifactId>appc-chef-adapter-features</artifactId>
10 <name>Chef Adaptor - Features</name>
12 <packaging>jar</packaging>
16 <groupId>org.openecomp.appc</groupId>
17 <artifactId>appc-chef-adapter-bundle</artifactId>
18 <version>${project.version}</version>
22 <groupId>commons-lang</groupId>
23 <artifactId>commons-lang</artifactId>
24 <scope>compile</scope>
28 <groupId>org.opendaylight.mdsal</groupId>
29 <artifactId>features-mdsal</artifactId>
30 <classifier>features</classifier>
32 <scope>runtime</scope>
35 <!-- dependency for opendaylight-karaf-empty for use by testing -->
37 <groupId>org.opendaylight.controller</groupId>
38 <artifactId>opendaylight-karaf-empty</artifactId>
43 <!-- Required for launching the feature tests -->
44 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
45 <!-- <artifactId>features-test</artifactId> -->
46 <!-- <scope>test</scope> -->
47 <!-- </dependency> -->
50 <groupId>org.opendaylight.yangtools</groupId>
51 <artifactId>features-yangtools</artifactId>
52 <classifier>features</classifier>
54 <scope>runtime</scope>
61 <filtering>true</filtering>
62 <directory>src/main/resources</directory>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-resources-plugin</artifactId>
73 <goal>resources</goal>
75 <phase>generate-resources</phase>
79 <!-- launches the feature test, which validates that your karaf feature
80 can be installed inside of a karaf container. It doesn't validate that your
81 functionality works correctly, just that you have all of the dependent bundles
82 defined correctly. -->
84 <!-- <groupId>org.apache.maven.plugins</groupId> -->
85 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
86 <!-- <version>2.16</version> -->
87 <!-- <configuration> -->
88 <!-- <systemPropertyVariables> -->
89 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
90 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
91 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
92 <!-- </systemPropertyVariables> -->
93 <!-- <dependenciesToScan> -->
94 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
95 <!-- </dependenciesToScan> -->
96 <!-- </configuration> -->
99 <groupId>org.codehaus.mojo</groupId>
100 <artifactId>build-helper-maven-plugin</artifactId>
103 <id>attach-artifacts</id>
105 <goal>attach-artifact</goal>
107 <phase>package</phase>
111 <file>${project.build.directory}/classes/${features.file}</file>
113 <classifier>features</classifier>