blob: f5b7a938fe424a057751ec2f26eb1df501e74d8e [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 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 ================================================================================
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
22 ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 ============LICENSE_END=========================================================
24 -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070025<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">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <artifactId>appc-oam</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080029 <groupId>org.onap.appc</groupId>
Jessica Wagantall65367992017-11-16 17:22:13 -080030 <version>1.3.0-SNAPSHOT</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070031 </parent>
Patrick Bradyc7d00752017-06-01 10:45:37 -070032
Anand9ebb5dd2018-01-04 12:44:05 -050033 <name>APPC OAM - Features</name>
34 <artifactId>appc-oam-features</artifactId>
35 <packaging>jar</packaging>
Patrick Bradyc7d00752017-06-01 10:45:37 -070036
37 <dependencies>
38 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080039 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070040 <artifactId>appc-oam-model</artifactId>
41 <version>${project.version}</version>
42 </dependency>
43
44 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080045 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070046 <artifactId>appc-oam-bundle</artifactId>
47 <classifier>config</classifier>
48 <type>xml</type>
49 <version>${project.version}</version>
50 </dependency>
51
52 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080053 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070054 <artifactId>appc-oam-bundle</artifactId>
55 <version>${project.version}</version>
56 </dependency>
57
58 <dependency>
59 <groupId>org.opendaylight.mdsal</groupId>
60 <artifactId>features-mdsal</artifactId>
61 <classifier>features</classifier>
62 <type>xml</type>
63
64 <scope>runtime</scope>
65 </dependency>
66
67 <dependency>
68 <groupId>org.opendaylight.yangtools</groupId>
69 <artifactId>features-yangtools</artifactId>
70 <classifier>features</classifier>
71 <type>xml</type>
72 <scope>runtime</scope>
73 </dependency>
74 </dependencies>
75
76 <build>
77 <resources>
78 <resource>
79 <filtering>true</filtering>
80 <directory>src/main/resources</directory>
81 </resource>
82 </resources>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-resources-plugin</artifactId>
87 <executions>
88 <execution>
89 <id>filter</id>
90 <goals>
91 <goal>resources</goal>
92 </goals>
93 <phase>generate-resources</phase>
94 </execution>
95 </executions>
96 </plugin>
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 <!-- Skipping ODL feature test -->
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-surefire-plugin</artifactId>
105 <configuration>
106 <systemPropertyVariables>
107 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
108 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
109 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
110 </systemPropertyVariables>
111 <dependenciesToScan>
112 <dependency>org.opendaylight.yangtools:features-test</dependency>
113 </dependenciesToScan>
114 <classpathDependencyExcludes>
115 <!-- The dependencies which bring in AbstractDataBrokerTest class
116 brings in a second PaxExam container which results in the feature tests failing
117 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
118 TestContainer ..." This excludes the container we don't want to use. -->
119 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
120 </classpathDependencyExcludes>
121 <skipTests>true</skipTests>
122 </configuration>
123 </plugin>
124 <plugin>
125 <groupId>org.codehaus.mojo</groupId>
126 <artifactId>build-helper-maven-plugin</artifactId>
127 <executions>
128 <execution>
129 <id>attach-artifacts</id>
130 <goals>
131 <goal>attach-artifact</goal>
132 </goals>
133 <phase>package</phase>
134 <configuration>
135 <artifacts>
136 <artifact>
137 <file>${project.build.directory}/classes/${features.file}</file>
138 <type>xml</type>
139 <classifier>features</classifier>
140 </artifact>
141 </artifacts>
142 </configuration>
143 </execution>
144 </executions>
145 </plugin>
146
147 </plugins>
148 </build>
149</project>