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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.openecomp.appc</groupId>
7 <artifactId>appc-config-generator</artifactId>
8 <version>1.1.0-SNAPSHOT</version>
10 <artifactId>appc-config-generator-features</artifactId>
11 <name>Config Generator Plugin - Features</name>
13 <packaging>jar</packaging>
19 <groupId>org.openecomp.appc</groupId>
20 <artifactId>appc-config-generator-provider</artifactId>
21 <version>${project.version}</version>
25 <groupId>commons-lang</groupId>
26 <artifactId>commons-lang</artifactId>
27 <version>2.6</version>
28 <scope>compile</scope>
32 <groupId>org.opendaylight.mdsal</groupId>
33 <artifactId>features-mdsal</artifactId>
34 <version>${odl.mdsal.version}</version>
35 <classifier>features</classifier>
38 <scope>runtime</scope>
42 <!-- dependency for opendaylight-karaf-empty for use by testing -->
44 <groupId>org.opendaylight.controller</groupId>
45 <artifactId>opendaylight-karaf-empty</artifactId>
46 <version>${odl.karaf.empty.distro.version}</version>
52 <!-- Required for launching the feature tests -->
53 <groupId>org.opendaylight.odlparent</groupId>
54 <artifactId>features-test</artifactId>
55 <version>${odl.commons.opendaylight.version}</version>
64 <filtering>true</filtering>
65 <directory>src/main/resources</directory>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-resources-plugin</artifactId>
76 <goal>resources</goal>
78 <phase>generate-resources</phase>
82 <!-- launches the feature test, which validates that your karaf feature
83 can be installed inside of a karaf container. It doesn't validate that your
84 functionality works correctly, just that you have all of the dependent bundles
85 defined correctly. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
86 <version>2.16</version> <configuration> <systemPropertyVariables> <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
87 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
88 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
89 </systemPropertyVariables> <dependenciesToScan> <dependency>org.opendaylight.yangtools:features-test</dependency>
90 </dependenciesToScan> </configuration> </plugin> -->
92 <groupId>org.codehaus.mojo</groupId>
93 <artifactId>build-helper-maven-plugin</artifactId>
96 <id>attach-artifacts</id>
98 <goal>attach-artifact</goal>
100 <phase>package</phase>
104 <file>${project.build.directory}/classes/${features.file}</file>
106 <classifier>features</classifier>