blob: 2fb70a4b4d604e222292cdadc558f73914daddc0 [file] [log] [blame]
Skip Wonnell86011b92017-08-15 17:05:27 -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 Wonnell86011b92017-08-15 17:05:27 -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>
26 <artifactId>appc-config-data-services</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080027 <groupId>org.onap.appc</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070028 <version>1.4.0-SNAPSHOT</version>
Skip Wonnell86011b92017-08-15 17:05:27 -050029 </parent>
30 <artifactId>appc-config-data-services-features</artifactId>
31 <name>APPC Data Services Plugin - Features</name>
32
33 <packaging>jar</packaging>
34
35 <dependencies>
36 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080037 <groupId>org.onap.appc</groupId>
Skip Wonnell86011b92017-08-15 17:05:27 -050038 <artifactId>appc-config-data-services-provider</artifactId>
39 <version>${project.version}</version>
40 </dependency>
41
42 <dependency>
43 <groupId>commons-lang</groupId>
44 <artifactId>commons-lang</artifactId>
45 <version>2.6</version>
46 <scope>compile</scope>
47 </dependency>
48
49 <dependency>
50 <groupId>org.opendaylight.mdsal</groupId>
51 <artifactId>features-mdsal</artifactId>
Skip Wonnell86011b92017-08-15 17:05:27 -050052 <classifier>features</classifier>
53 <type>xml</type>
54
55 <scope>runtime</scope>
56 </dependency>
57
58
59 <!-- dependency for opendaylight-karaf-empty for use by testing -->
60 <dependency>
61 <groupId>org.opendaylight.controller</groupId>
62 <artifactId>opendaylight-karaf-empty</artifactId>
63 <version>${odl.karaf.empty.distro.version}</version>
64 <type>zip</type>
65 </dependency>
66
67
68 <dependency>
69 <!-- Required for launching the feature tests -->
70 <groupId>org.opendaylight.odlparent</groupId>
71 <artifactId>features-test</artifactId>
72 <version>${odl.commons.opendaylight.version}</version>
73 <scope>test</scope>
74 </dependency>
75
76 </dependencies>
77
78 <build>
79 <resources>
80 <resource>
81 <filtering>true</filtering>
82 <directory>src/main/resources</directory>
83 </resource>
84 </resources>
85 <plugins>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-resources-plugin</artifactId>
89 <executions>
90 <execution>
91 <id>filter</id>
92 <goals>
93 <goal>resources</goal>
94 </goals>
95 <phase>generate-resources</phase>
96 </execution>
97 </executions>
98 </plugin>
99 <!-- launches the feature test, which validates that your karaf feature
100 can be installed inside of a karaf container. It doesn't validate that your
101 functionality works correctly, just that you have all of the dependent bundles
102 defined correctly. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
103 <version>2.16</version> <configuration> <systemPropertyVariables> <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
104 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
105 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
106 </systemPropertyVariables> <dependenciesToScan> <dependency>org.opendaylight.yangtools:features-test</dependency>
107 </dependenciesToScan> </configuration> </plugin> -->
108 <plugin>
109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>build-helper-maven-plugin</artifactId>
111 <executions>
112 <execution>
113 <id>attach-artifacts</id>
114 <goals>
115 <goal>attach-artifact</goal>
116 </goals>
117 <phase>package</phase>
118 <configuration>
119 <artifacts>
120 <artifact>
121 <file>${project.build.directory}/classes/${features.file}</file>
122 <type>xml</type>
123 <classifier>features</classifier>
124 </artifact>
125 </artifacts>
126 </configuration>
127 </execution>
128 </executions>
129 </plugin>
130 </plugins>
131 </build>
132</project>