1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
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
14 http://www.apache.org/licenses/LICENSE-2.0
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.
22 ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 ============LICENSE_END=========================================================
25 <project xmlns="http://maven.apache.org/POM/4.0.0"
26 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
28 <modelVersion>4.0.0</modelVersion>
30 <artifactId>appc-request-handler</artifactId>
31 <groupId>org.onap.appc</groupId>
32 <version>1.3.0-SNAPSHOT</version>
35 <name>APPC Request Handler - Features</name>
36 <artifactId>appc-request-handler-features</artifactId>
37 <packaging>jar</packaging>
42 <groupId>org.onap.appc</groupId>
43 <artifactId>appc-request-handler-api</artifactId>
44 <version>${project.version}</version>
47 <groupId>org.onap.appc</groupId>
48 <artifactId>appc-request-handler-core</artifactId>
49 <version>${project.version}</version>
56 <filtering>true</filtering>
57 <directory>src/main/resources</directory>
62 <groupId>org.apache.maven.plugins</groupId>
63 <artifactId>maven-resources-plugin</artifactId>
68 <goal>resources</goal>
70 <phase>generate-resources</phase>
75 <!– launches the feature test, which validates that your karaf feature
76 can be installed inside of a karaf container. It doesn't validate that your
77 functionality works correctly, just that you have all of the dependent bundles
78 defined correctly. –>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-surefire-plugin</artifactId>
81 <version>2.16</version>
83 <systemPropertyVariables>
84 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
85 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
86 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
87 </systemPropertyVariables>
89 <dependency>org.opendaylight.yangtools:features-test</dependency>
91 <classpathDependencyExcludes>
92 <!– The dependencies which bring in AbstractDataBrokerTest class
93 brings in a second PaxExam container which results in the feature tests failing
94 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
95 TestContainer ..." This excludes the container we don't want to use. –>
96 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
97 </classpathDependencyExcludes>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>build-helper-maven-plugin</artifactId>
105 <id>attach-artifacts</id>
107 <goal>attach-artifact</goal>
109 <phase>package</phase>
113 <file>${project.build.directory}/classes/${features.file}</file>
115 <classifier>features</classifier>
123 <!-- Skipping ODL feature test -->
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-surefire-plugin</artifactId>
128 <skipTests>true</skipTests>