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 <groupId>org.openecomp.appc</groupId>
6 <artifactId>appc-config-audit</artifactId>
7 <version>1.1.0-SNAPSHOT</version>
9 <artifactId>appc-config-audit-features</artifactId>
10 <name>Config Audit Plugin - Features</name>
12 <packaging>jar</packaging>
17 <groupId>org.openecomp.appc</groupId>
18 <artifactId>appc-config-audit-provider</artifactId>
19 <version>${project.version}</version>
23 <groupId>commons-lang</groupId>
24 <artifactId>commons-lang</artifactId>
25 <version>2.6</version>
26 <scope>compile</scope>
30 <groupId>org.opendaylight.mdsal</groupId>
31 <artifactId>features-mdsal</artifactId>
32 <classifier>features</classifier>
35 <scope>runtime</scope>
39 <!-- dependency for opendaylight-karaf-empty for use by testing -->
41 <groupId>org.opendaylight.controller</groupId>
42 <artifactId>opendaylight-karaf-empty</artifactId>
43 <version>${odl.karaf.empty.distro.version}</version>
49 <!-- Required for launching the feature tests -->
50 <groupId>org.opendaylight.odlparent</groupId>
51 <artifactId>features-test</artifactId>
52 <version>${odl.commons.opendaylight.version}</version>
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
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-surefire-plugin</artifactId>
87 <version>2.16</version>
89 <systemPropertyVariables>
90 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
91 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
92 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
93 </systemPropertyVariables>
95 <dependency>org.opendaylight.yangtools:features-test</dependency>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>build-helper-maven-plugin</artifactId>
105 <id>attach-artifacts</id>
107 <goal>attach-artifact</goal>
109 <phase>package</phase>
113 <file>${project.build.directory}/classes/${features.file}</file>
115 <classifier>features</classifier>