blob: 1ab42efada46ba14e47b98bc9e0f57c0c40c04aa [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnelleb27ca32018-01-12 10:17:57 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClungfb3eec22018-06-14 10:17:19 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnelleb27ca32018-01-12 10:17:57 -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 Wonnelleb27ca32018-01-12 10:17:57 -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 <modelVersion>4.0.0</modelVersion>
24 <parent>
25 <artifactId>appc-provider</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080026 <groupId>org.onap.appc</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070027 <version>1.4.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080028 </parent>
29 <name>appc-provider-features</name>
30 <artifactId>appc-provider-features</artifactId>
31
32 <packaging>jar</packaging>
33
34 <dependencies>
35 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080036 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080037 <artifactId>appc-provider-model</artifactId>
38 <version>${project.version}</version>
39 </dependency>
40
41 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080042 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080043 <artifactId>appc-provider-bundle</artifactId>
44 <classifier>config</classifier>
45 <type>xml</type>
46 <version>${project.version}</version>
47 </dependency>
48
49 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080050 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080051 <artifactId>appc-provider-bundle</artifactId>
52 <version>${project.version}</version>
53 </dependency>
54
55 <dependency>
56 <groupId>org.opendaylight.mdsal</groupId>
57 <artifactId>features-mdsal</artifactId>
58 <classifier>features</classifier>
59 <type>xml</type>
60
61 <scope>runtime</scope>
62 </dependency>
63
64
65
66 <!-- dependency for opendaylight-karaf-empty for use by testing -->
67<!-- <dependency> -->
68<!-- <groupId>org.opendaylight.controller</groupId> -->
69<!-- <artifactId>opendaylight-karaf-empty</artifactId> -->
70<!-- <type>zip</type> -->
71<!-- </dependency> -->
72
73
74<!-- <dependency> -->
75<!-- Required for launching the feature tests -->
76<!-- <groupId>org.opendaylight.yangtools</groupId> -->
77<!-- <artifactId>features-test</artifactId> -->
78<!-- <scope>test</scope> -->
79<!-- </dependency> -->
80
81 <dependency>
82 <groupId>org.opendaylight.yangtools</groupId>
83 <artifactId>features-yangtools</artifactId>
84 <classifier>features</classifier>
85 <type>xml</type>
86 <scope>runtime</scope>
87 </dependency>
88 </dependencies>
89
90 <build>
91 <resources>
92 <resource>
93 <filtering>true</filtering>
94 <directory>src/main/resources</directory>
95 </resource>
96 </resources>
97 <plugins>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-resources-plugin</artifactId>
101 <executions>
102 <execution>
103 <id>filter</id>
104 <goals>
105 <goal>resources</goal>
106 </goals>
107 <phase>generate-resources</phase>
108 </execution>
109 </executions>
110 </plugin>
111 <plugin>
112 <!-- launches the feature test, which validates that your karaf feature
113 can be installed inside of a karaf container. It doesn't validate that your
114 functionality works correctly, just that you have all of the dependent bundles
115 defined correctly. -->
116 <!-- Skipping ODL feature test -->
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-surefire-plugin</artifactId>
119 <configuration>
120 <systemPropertyVariables>
121 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
122 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
123 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
124 </systemPropertyVariables>
125 <dependenciesToScan>
126 <dependency>org.opendaylight.yangtools:features-test</dependency>
127 </dependenciesToScan>
128 <classpathDependencyExcludes>
129 <!-- The dependencies which bring in AbstractDataBrokerTest class
130 brings in a second PaxExam container which results in the feature tests failing
131 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
132 TestContainer ..." This excludes the container we don't want to use. -->
133 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
134 </classpathDependencyExcludes>
135 <skipTests>true</skipTests>
136 </configuration>
137 </plugin>
138 <plugin>
139 <groupId>org.codehaus.mojo</groupId>
140 <artifactId>build-helper-maven-plugin</artifactId>
141 <executions>
142 <execution>
143 <id>attach-artifacts</id>
144 <goals>
145 <goal>attach-artifact</goal>
146 </goals>
147 <phase>package</phase>
148 <configuration>
149 <artifacts>
150 <artifact>
151 <file>${project.build.directory}/classes/${features.file}</file>
152 <type>xml</type>
153 <classifier>features</classifier>
154 </artifact>
155 </artifacts>
156 </configuration>
157 </execution>
158 </executions>
159 </plugin>
160
161 </plugins>
162 </build>
Skip Wonnelleb27ca32018-01-12 10:17:57 -0600163</project>