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">
4 <artifactId>appc-netconf-adapter</artifactId>
5 <groupId>org.openecomp.appc</groupId>
6 <version>1.1.0-SNAPSHOT</version>
8 <modelVersion>4.0.0</modelVersion>
10 <artifactId>appc-netconf-adapter-features</artifactId>
11 <packaging>jar</packaging>
15 <groupId>org.openecomp.appc</groupId>
16 <artifactId>appc-netconf-adapter-bundle</artifactId>
17 <version>${project.version}</version>
21 <groupId>commons-lang</groupId>
22 <artifactId>commons-lang</artifactId>
23 <scope>compile</scope>
27 <groupId>org.opendaylight.controller</groupId>
28 <artifactId>features-mdsal</artifactId>
29 <classifier>features</classifier>
31 <scope>runtime</scope>
34 <!-- dependency for opendaylight-karaf-empty for use by testing -->
36 <groupId>org.opendaylight.controller</groupId>
37 <artifactId>opendaylight-karaf-empty</artifactId>
42 <!-- Required for launching the feature tests -->
43 <!-- <groupId>org.opendaylight.yangtools</groupId>
44 <artifactId>features-test</artifactId>
49 <groupId>org.opendaylight.yangtools</groupId>
50 <artifactId>features-yangtools</artifactId>
51 <classifier>features</classifier>
53 <scope>runtime</scope>
60 <filtering>true</filtering>
61 <directory>src/main/resources</directory>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-resources-plugin</artifactId>
72 <goal>resources</goal>
74 <phase>generate-resources</phase>
78 <!-- launches the feature test, which validates that your karaf feature
79 can be installed inside of a karaf container. It doesn't validate that your
80 functionality works correctly, just that you have all of the dependent bundles
81 defined correctly. -->
83 <!-- <groupId>org.apache.maven.plugins</groupId> -->
84 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
85 <!-- <version>2.16</version> -->
86 <!-- <configuration> -->
87 <!-- <systemPropertyVariables> -->
88 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
89 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
90 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
91 <!-- </systemPropertyVariables> -->
92 <!-- <dependenciesToScan> -->
93 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
94 <!-- </dependenciesToScan> -->
95 <!-- </configuration> -->
98 <groupId>org.codehaus.mojo</groupId>
99 <artifactId>build-helper-maven-plugin</artifactId>
102 <id>attach-artifacts</id>
104 <goal>attach-artifact</goal>
106 <phase>package</phase>
110 <file>${project.build.directory}/classes/${features.file}</file>
112 <classifier>features</classifier>