blob: e318b8d17497a67b79331ef57ad58c53ac07d086 [file] [log] [blame]
Skip Wonnell5166a762017-08-15 19:57:50 -05001<?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>
4 <parent>
5 <groupId>org.openecomp.appc</groupId>
6 <artifactId>appc-config-audit</artifactId>
7 <version>1.1.0-SNAPSHOT</version>
8 </parent>
9 <artifactId>appc-config-audit-features</artifactId>
10 <name>Config Audit Plugin - Features</name>
11
12 <packaging>jar</packaging>
13
14 <dependencies>
15
16 <dependency>
17 <groupId>org.openecomp.appc</groupId>
18 <artifactId>appc-config-audit-provider</artifactId>
19 <version>${project.version}</version>
20 </dependency>
21
22 <dependency>
23 <groupId>commons-lang</groupId>
24 <artifactId>commons-lang</artifactId>
25 <version>2.6</version>
26 <scope>compile</scope>
27 </dependency>
28
29 <dependency>
30 <groupId>org.opendaylight.mdsal</groupId>
31 <artifactId>features-mdsal</artifactId>
Skip Wonnell5166a762017-08-15 19:57:50 -050032 <classifier>features</classifier>
33 <type>xml</type>
34
35 <scope>runtime</scope>
36 </dependency>
37
38
39 <!-- dependency for opendaylight-karaf-empty for use by testing -->
40 <dependency>
41 <groupId>org.opendaylight.controller</groupId>
42 <artifactId>opendaylight-karaf-empty</artifactId>
43 <version>${odl.karaf.empty.distro.version}</version>
44 <type>zip</type>
45 </dependency>
46
47
48 <dependency>
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>
53 <scope>test</scope>
54 </dependency>
55
56 </dependencies>
57
58 <build>
59 <resources>
60 <resource>
61 <filtering>true</filtering>
62 <directory>src/main/resources</directory>
63 </resource>
64 </resources>
65 <plugins>
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-resources-plugin</artifactId>
69 <executions>
70 <execution>
71 <id>filter</id>
72 <goals>
73 <goal>resources</goal>
74 </goals>
75 <phase>generate-resources</phase>
76 </execution>
77 </executions>
78 </plugin>
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.
83 <plugin>
84
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-surefire-plugin</artifactId>
87 <version>2.16</version>
88 <configuration>
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>
94 <dependenciesToScan>
95 <dependency>org.opendaylight.yangtools:features-test</dependency>
96 </dependenciesToScan>
97 </configuration>
98 </plugin>
99 -->
100 <plugin>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>build-helper-maven-plugin</artifactId>
103 <executions>
104 <execution>
105 <id>attach-artifacts</id>
106 <goals>
107 <goal>attach-artifact</goal>
108 </goals>
109 <phase>package</phase>
110 <configuration>
111 <artifacts>
112 <artifact>
113 <file>${project.build.directory}/classes/${features.file}</file>
114 <type>xml</type>
115 <classifier>features</classifier>
116 </artifact>
117 </artifacts>
118 </configuration>
119 </execution>
120 </executions>
121 </plugin>
122 </plugins>
123 </build>
124</project>