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-iaas-adapter</artifactId>
6 <groupId>org.openecomp.appc</groupId>
7 <version>1.2.0-SNAPSHOT</version>
9 <artifactId>appc-iaas-adapter-features</artifactId>
10 <name>IaaS Adaptor - Features</name>
12 <packaging>jar</packaging>
16 <groupId>org.openecomp.appc</groupId>
17 <artifactId>appc-iaas-adapter-bundle</artifactId>
18 <version>${project.version}</version>
22 <groupId>org.opendaylight.mdsal</groupId>
23 <artifactId>features-mdsal</artifactId>
24 <classifier>features</classifier>
26 <scope>runtime</scope>
29 <!-- dependency for opendaylight-karaf-empty for use by testing -->
31 <groupId>org.opendaylight.controller</groupId>
32 <artifactId>opendaylight-karaf-empty</artifactId>
37 <groupId>org.opendaylight.yangtools</groupId>
38 <artifactId>features-yangtools</artifactId>
39 <classifier>features</classifier>
41 <scope>runtime</scope>
48 <filtering>true</filtering>
49 <directory>src/main/resources</directory>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-resources-plugin</artifactId>
60 <goal>resources</goal>
62 <phase>generate-resources</phase>
66 <!-- launches the feature test, which validates that your karaf feature
67 can be installed inside of a karaf container. It doesn't validate that your
68 functionality works correctly, just that you have all of the dependent bundles
69 defined correctly. -->
71 <!-- <groupId>org.apache.maven.plugins</groupId> -->
72 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
73 <!-- <version>2.16</version> -->
74 <!-- <configuration> -->
75 <!-- <systemPropertyVariables> -->
76 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
77 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
78 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
79 <!-- </systemPropertyVariables> -->
80 <!-- <dependenciesToScan> -->
81 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
82 <!-- </dependenciesToScan> -->
83 <!-- </configuration> -->
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>build-helper-maven-plugin</artifactId>
90 <id>attach-artifacts</id>
92 <goal>attach-artifact</goal>
94 <phase>package</phase>
98 <file>${project.build.directory}/classes/${features.file}</file>
100 <classifier>features</classifier>