blob: 0f61f033cfa628a848dc7349f78a3d0c3f8a07df [file] [log] [blame]
Patrick Bradyc7d00752017-06-01 10:45:37 -07001<?xml version="1.0" encoding="UTF-8"?>
Anand9ebb5dd2018-01-04 12:44:05 -05002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClunga8027392018-06-13 15:49:08 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Anand9ebb5dd2018-01-04 12:44:05 -05007 ================================================================================
8 Copyright (C) 2017 Amdocs
9 =============================================================================
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
Anand9ebb5dd2018-01-04 12:44:05 -050022 ============LICENSE_END=========================================================
23 -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070024<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">
25 <modelVersion>4.0.0</modelVersion>
26 <parent>
27 <artifactId>appc-oam</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080028 <groupId>org.onap.appc</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070029 <version>1.4.0-SNAPSHOT</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070030 </parent>
Patrick Bradyc7d00752017-06-01 10:45:37 -070031
Anand9ebb5dd2018-01-04 12:44:05 -050032 <name>APPC OAM - Features</name>
33 <artifactId>appc-oam-features</artifactId>
34 <packaging>jar</packaging>
Patrick Bradyc7d00752017-06-01 10:45:37 -070035
36 <dependencies>
37 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080038 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070039 <artifactId>appc-oam-model</artifactId>
40 <version>${project.version}</version>
41 </dependency>
42
43 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080044 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070045 <artifactId>appc-oam-bundle</artifactId>
46 <classifier>config</classifier>
47 <type>xml</type>
48 <version>${project.version}</version>
49 </dependency>
50
51 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080052 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070053 <artifactId>appc-oam-bundle</artifactId>
54 <version>${project.version}</version>
55 </dependency>
56
57 <dependency>
58 <groupId>org.opendaylight.mdsal</groupId>
59 <artifactId>features-mdsal</artifactId>
60 <classifier>features</classifier>
61 <type>xml</type>
62
63 <scope>runtime</scope>
64 </dependency>
65
66 <dependency>
67 <groupId>org.opendaylight.yangtools</groupId>
68 <artifactId>features-yangtools</artifactId>
69 <classifier>features</classifier>
70 <type>xml</type>
71 <scope>runtime</scope>
72 </dependency>
73 </dependencies>
74
75 <build>
76 <resources>
77 <resource>
78 <filtering>true</filtering>
79 <directory>src/main/resources</directory>
80 </resource>
81 </resources>
82 <plugins>
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-resources-plugin</artifactId>
86 <executions>
87 <execution>
88 <id>filter</id>
89 <goals>
90 <goal>resources</goal>
91 </goals>
92 <phase>generate-resources</phase>
93 </execution>
94 </executions>
95 </plugin>
96 <plugin>
97 <!-- launches the feature test, which validates that your karaf feature
98 can be installed inside of a karaf container. It doesn't validate that your
99 functionality works correctly, just that you have all of the dependent bundles
100 defined correctly. -->
101 <!-- Skipping ODL feature test -->
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-surefire-plugin</artifactId>
104 <configuration>
105 <systemPropertyVariables>
106 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
107 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
108 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
109 </systemPropertyVariables>
110 <dependenciesToScan>
111 <dependency>org.opendaylight.yangtools:features-test</dependency>
112 </dependenciesToScan>
113 <classpathDependencyExcludes>
114 <!-- The dependencies which bring in AbstractDataBrokerTest class
115 brings in a second PaxExam container which results in the feature tests failing
116 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
117 TestContainer ..." This excludes the container we don't want to use. -->
118 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
119 </classpathDependencyExcludes>
120 <skipTests>true</skipTests>
121 </configuration>
122 </plugin>
123 <plugin>
124 <groupId>org.codehaus.mojo</groupId>
125 <artifactId>build-helper-maven-plugin</artifactId>
126 <executions>
127 <execution>
128 <id>attach-artifacts</id>
129 <goals>
130 <goal>attach-artifact</goal>
131 </goals>
132 <phase>package</phase>
133 <configuration>
134 <artifacts>
135 <artifact>
136 <file>${project.build.directory}/classes/${features.file}</file>
137 <type>xml</type>
138 <classifier>features</classifier>
139 </artifact>
140 </artifacts>
141 </configuration>
142 </execution>
143 </executions>
144 </plugin>
145
146 </plugins>
147 </build>
148</project>