blob: f55d4d9606b0c993c5c6d80fa12a636bf3bdf127 [file] [log] [blame]
Skip Wonnell5166a762017-08-15 19:57:50 -05001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell8c4b89b2018-01-12 09:24:03 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 Copyright (C) 2017 Amdocs
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
21 ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 -->
Skip Wonnell5166a762017-08-15 19:57:50 -050023<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">
24 <modelVersion>4.0.0</modelVersion>
25 <parent>
Patrick Brady07567592017-12-13 11:09:30 -080026 <groupId>org.onap.appc</groupId>
Skip Wonnell5166a762017-08-15 19:57:50 -050027 <artifactId>appc-config-audit</artifactId>
Patrick Brady84d0a252018-05-22 10:42:55 -070028 <version>1.4.0-SNAPSHOT</version>
Skip Wonnell5166a762017-08-15 19:57:50 -050029 </parent>
30 <artifactId>appc-config-audit-features</artifactId>
31 <name>Config Audit Plugin - Features</name>
32
33 <packaging>jar</packaging>
34
35 <dependencies>
36
37 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080038 <groupId>org.onap.appc</groupId>
Skip Wonnell5166a762017-08-15 19:57:50 -050039 <artifactId>appc-config-audit-provider</artifactId>
40 <version>${project.version}</version>
41 </dependency>
42
43 <dependency>
44 <groupId>commons-lang</groupId>
45 <artifactId>commons-lang</artifactId>
46 <version>2.6</version>
47 <scope>compile</scope>
48 </dependency>
49
50 <dependency>
51 <groupId>org.opendaylight.mdsal</groupId>
52 <artifactId>features-mdsal</artifactId>
Skip Wonnell5166a762017-08-15 19:57:50 -050053 <classifier>features</classifier>
54 <type>xml</type>
55
56 <scope>runtime</scope>
57 </dependency>
58
59
60 <!-- dependency for opendaylight-karaf-empty for use by testing -->
61 <dependency>
62 <groupId>org.opendaylight.controller</groupId>
63 <artifactId>opendaylight-karaf-empty</artifactId>
64 <version>${odl.karaf.empty.distro.version}</version>
65 <type>zip</type>
66 </dependency>
67
68
69 <dependency>
70 <!-- Required for launching the feature tests -->
71 <groupId>org.opendaylight.odlparent</groupId>
72 <artifactId>features-test</artifactId>
73 <version>${odl.commons.opendaylight.version}</version>
74 <scope>test</scope>
75 </dependency>
76
77 </dependencies>
78
79 <build>
80 <resources>
81 <resource>
82 <filtering>true</filtering>
83 <directory>src/main/resources</directory>
84 </resource>
85 </resources>
86 <plugins>
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-resources-plugin</artifactId>
90 <executions>
91 <execution>
92 <id>filter</id>
93 <goals>
94 <goal>resources</goal>
95 </goals>
96 <phase>generate-resources</phase>
97 </execution>
98 </executions>
99 </plugin>
100 <!-- launches the feature test, which validates that your karaf feature
101 can be installed inside of a karaf container. It doesn't validate that your
102 functionality works correctly, just that you have all of the dependent bundles
103 defined correctly.
104 <plugin>
105
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-surefire-plugin</artifactId>
108 <version>2.16</version>
109 <configuration>
110 <systemPropertyVariables>
111 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
112 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
113 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
114 </systemPropertyVariables>
115 <dependenciesToScan>
116 <dependency>org.opendaylight.yangtools:features-test</dependency>
117 </dependenciesToScan>
118 </configuration>
119 </plugin>
120 -->
121 <plugin>
122 <groupId>org.codehaus.mojo</groupId>
123 <artifactId>build-helper-maven-plugin</artifactId>
124 <executions>
125 <execution>
126 <id>attach-artifacts</id>
127 <goals>
128 <goal>attach-artifact</goal>
129 </goals>
130 <phase>package</phase>
131 <configuration>
132 <artifacts>
133 <artifact>
134 <file>${project.build.directory}/classes/${features.file}</file>
135 <type>xml</type>
136 <classifier>features</classifier>
137 </artifact>
138 </artifacts>
139 </configuration>
140 </execution>
141 </executions>
142 </plugin>
143 </plugins>
144 </build>
145</project>