blob: 4197f94ff25043de5a1f4b535aebcbfaa3ff56a8 [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>
32 <version>${odl.mdsal.version}</version>
33 <classifier>features</classifier>
34 <type>xml</type>
35
36 <scope>runtime</scope>
37 </dependency>
38
39
40 <!-- dependency for opendaylight-karaf-empty for use by testing -->
41 <dependency>
42 <groupId>org.opendaylight.controller</groupId>
43 <artifactId>opendaylight-karaf-empty</artifactId>
44 <version>${odl.karaf.empty.distro.version}</version>
45 <type>zip</type>
46 </dependency>
47
48
49 <dependency>
50 <!-- Required for launching the feature tests -->
51 <groupId>org.opendaylight.odlparent</groupId>
52 <artifactId>features-test</artifactId>
53 <version>${odl.commons.opendaylight.version}</version>
54 <scope>test</scope>
55 </dependency>
56
57 </dependencies>
58
59 <build>
60 <resources>
61 <resource>
62 <filtering>true</filtering>
63 <directory>src/main/resources</directory>
64 </resource>
65 </resources>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-resources-plugin</artifactId>
70 <executions>
71 <execution>
72 <id>filter</id>
73 <goals>
74 <goal>resources</goal>
75 </goals>
76 <phase>generate-resources</phase>
77 </execution>
78 </executions>
79 </plugin>
80 <!-- launches the feature test, which validates that your karaf feature
81 can be installed inside of a karaf container. It doesn't validate that your
82 functionality works correctly, just that you have all of the dependent bundles
83 defined correctly.
84 <plugin>
85
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-surefire-plugin</artifactId>
88 <version>2.16</version>
89 <configuration>
90 <systemPropertyVariables>
91 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
92 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
93 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
94 </systemPropertyVariables>
95 <dependenciesToScan>
96 <dependency>org.opendaylight.yangtools:features-test</dependency>
97 </dependenciesToScan>
98 </configuration>
99 </plugin>
100 -->
101 <plugin>
102 <groupId>org.codehaus.mojo</groupId>
103 <artifactId>build-helper-maven-plugin</artifactId>
104 <executions>
105 <execution>
106 <id>attach-artifacts</id>
107 <goals>
108 <goal>attach-artifact</goal>
109 </goals>
110 <phase>package</phase>
111 <configuration>
112 <artifacts>
113 <artifact>
114 <file>${project.build.directory}/classes/${features.file}</file>
115 <type>xml</type>
116 <classifier>features</classifier>
117 </artifact>
118 </artifacts>
119 </configuration>
120 </execution>
121 </executions>
122 </plugin>
123 </plugins>
124 </build>
125</project>