blob: 222cf234dca7c2956d3e9e8c6acee31836e89fa2 [file] [log] [blame]
Anand Chaturvedie178b072017-08-14 20:10:36 -04001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell463f70e2018-01-12 10:00:59 -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 -->
Anand Chaturvedie178b072017-08-14 20:10:36 -040023<project xmlns="http://maven.apache.org/POM/4.0.0"
24xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <artifactId>appc-aai-client</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080029 <groupId>org.onap.appc</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070030 <version>1.4.0-SNAPSHOT</version>
Anand Chaturvedie178b072017-08-14 20:10:36 -040031 </parent>
32 <artifactId>appc-aai-client-features</artifactId>
33 <name>APPC AAI Client Plugin - Features</name>
34 <packaging>jar</packaging>
35
36 <dependencies>
37 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080038 <groupId>org.onap.appc</groupId>
Anand Chaturvedie178b072017-08-14 20:10:36 -040039 <artifactId>appc-aai-client-provider</artifactId>
40 <version>${project.version}</version>
41 </dependency>
42
43 <dependency>
44 <groupId>commons-lang</groupId>
45 <artifactId>commons-lang</artifactId>
46 <scope>compile</scope>
47 </dependency>
48
49 <dependency>
50 <groupId>org.opendaylight.mdsal</groupId>
51 <artifactId>features-mdsal</artifactId>
52 <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 <type>zip</type>
64 </dependency>
65
66
67 <dependency>
68 <!-- Required for launching the feature tests -->
69 <groupId>org.opendaylight.odlparent</groupId>
70 <artifactId>features-test</artifactId>
71 <version>${odl.commons.opendaylight.version}</version>
72 <scope>test</scope>
73 </dependency>
74
75 </dependencies>
76
77 <build>
78 <resources>
79 <resource>
80 <filtering>true</filtering>
81 <directory>src/main/resources</directory>
82 </resource>
83 </resources>
84 <plugins>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-resources-plugin</artifactId>
88 <executions>
89 <execution>
90 <id>filter</id>
91 <goals>
92 <goal>resources</goal>
93 </goals>
94 <phase>generate-resources</phase>
95 </execution>
96 </executions>
97 </plugin>
98 <!-- launches the feature test, which validates that your karaf feature
99 can be installed inside of a karaf container. It doesn't validate that your
100 functionality works correctly, just that you have all of the dependent bundles
101 defined correctly. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
102 <version>2.16</version> <configuration> <systemPropertyVariables> <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
103 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
104 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
105 </systemPropertyVariables> <dependenciesToScan> <dependency>org.opendaylight.yangtools:features-test</dependency>
106 </dependenciesToScan> </configuration> </plugin> -->
107 <plugin>
108 <groupId>org.codehaus.mojo</groupId>
109 <artifactId>build-helper-maven-plugin</artifactId>
110 <executions>
111 <execution>
112 <id>attach-artifacts</id>
113 <goals>
114 <goal>attach-artifact</goal>
115 </goals>
116 <phase>package</phase>
117 <configuration>
118 <artifacts>
119 <artifact>
120 <file>${project.build.directory}/classes/${features.file}</file>
121 <type>xml</type>
122 <classifier>features</classifier>
123 </artifact>
124 </artifacts>
125 </configuration>
126 </execution>
127 </executions>
128 </plugin>
129 </plugins>
130 </build>
131</project>