blob: 78125c283d9f38a29ea2c636eb378118d433ffb8 [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell8c4b89b2018-01-12 09:24:03 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClungf6332bd2018-06-13 13:07:38 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnell8c4b89b2018-01-12 09:24:03 -06007 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=========================================================
Skip Wonnell8c4b89b2018-01-12 09:24:03 -060021 -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080022<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">
23 <parent>
24 <artifactId>appc-netconf-adapter</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080025 <groupId>org.onap.appc</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070026 <version>1.4.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080027 </parent>
28 <modelVersion>4.0.0</modelVersion>
29
30 <artifactId>appc-netconf-adapter-features</artifactId>
31 <packaging>jar</packaging>
32
33 <dependencies>
34 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080035 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080036 <artifactId>appc-netconf-adapter-bundle</artifactId>
37 <version>${project.version}</version>
38 </dependency>
39
40 <dependency>
41 <groupId>commons-lang</groupId>
42 <artifactId>commons-lang</artifactId>
43 <scope>compile</scope>
44 </dependency>
45
46 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -070047 <groupId>org.opendaylight.mdsal</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080048 <artifactId>features-mdsal</artifactId>
49 <classifier>features</classifier>
50 <type>xml</type>
51 <scope>runtime</scope>
52 </dependency>
53
54 <!-- dependency for opendaylight-karaf-empty for use by testing -->
55 <dependency>
56 <groupId>org.opendaylight.controller</groupId>
57 <artifactId>opendaylight-karaf-empty</artifactId>
58 <type>zip</type>
59 </dependency>
60
61 <!-- <dependency>-->
62 <!-- Required for launching the feature tests -->
63 <!-- <groupId>org.opendaylight.yangtools</groupId>
64 <artifactId>features-test</artifactId>
65 <scope>test</scope>
66 </dependency>-->
67
68 <dependency>
69 <groupId>org.opendaylight.yangtools</groupId>
70 <artifactId>features-yangtools</artifactId>
71 <classifier>features</classifier>
72 <type>xml</type>
73 <scope>runtime</scope>
74 </dependency>
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. -->
102 <!-- <plugin> -->
103 <!-- <groupId>org.apache.maven.plugins</groupId> -->
104 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
105 <!-- <version>2.16</version> -->
106 <!-- <configuration> -->
107 <!-- <systemPropertyVariables> -->
108 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
109 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
110 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
111 <!-- </systemPropertyVariables> -->
112 <!-- <dependenciesToScan> -->
113 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
114 <!-- </dependenciesToScan> -->
115 <!-- </configuration> -->
116 <!-- </plugin> -->
117 <plugin>
118 <groupId>org.codehaus.mojo</groupId>
119 <artifactId>build-helper-maven-plugin</artifactId>
120 <executions>
121 <execution>
122 <id>attach-artifacts</id>
123 <goals>
124 <goal>attach-artifact</goal>
125 </goals>
126 <phase>package</phase>
127 <configuration>
128 <artifacts>
129 <artifact>
130 <file>${project.build.directory}/classes/${features.file}</file>
131 <type>xml</type>
132 <classifier>features</classifier>
133 </artifact>
134 </artifacts>
135 </configuration>
136 </execution>
137 </executions>
138 </plugin>
139 </plugins>
140 </build>
141
142</project>