blob: 6d9ff733e853b6b00c3e25f2390fb6b41e1a47b2 [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Anand36bcd562018-01-04 19:35:51 -05002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClung694852f2018-06-13 16:10:33 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Anand36bcd562018-01-04 19:35:51 -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
Patrick Brady57b5eef2017-02-10 15:00:49 -080013
Anand36bcd562018-01-04 19:35:51 -050014 http://www.apache.org/licenses/LICENSE-2.0
Patrick Brady57b5eef2017-02-10 15:00:49 -080015
Anand36bcd562018-01-04 19:35:51 -050016 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.
Patrick Brady57b5eef2017-02-10 15:00:49 -080021
Anand36bcd562018-01-04 19:35:51 -050022 ============LICENSE_END=========================================================
23 -->
24<project xmlns="http://maven.apache.org/POM/4.0.0"
25 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27 <modelVersion>4.0.0</modelVersion>
28 <parent>
29 <artifactId>appc-license-manager</artifactId>
30 <groupId>org.onap.appc</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070031 <version>1.4.0-SNAPSHOT</version>
Anand36bcd562018-01-04 19:35:51 -050032 </parent>
Patrick Brady57b5eef2017-02-10 15:00:49 -080033
Anand36bcd562018-01-04 19:35:51 -050034 <name>APPC License Manager - Features</name>
35 <artifactId>appc-license-manager-features</artifactId>
36 <packaging>jar</packaging>
37
38
39 <dependencies>
40 <dependency>
41 <groupId>org.onap.appc</groupId>
42 <artifactId>appc-license-manager-api</artifactId>
43 <version>${project.version}</version>
44 </dependency>
45 <dependency>
46 <groupId>org.onap.appc</groupId>
47 <artifactId>appc-license-manager-core</artifactId>
48 <version>${project.version}</version>
49 </dependency>
50 </dependencies>
51
52 <build>
53 <resources>
54 <resource>
55 <filtering>true</filtering>
56 <directory>src/main/resources</directory>
57 </resource>
58 </resources>
59 <plugins>
60 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-resources-plugin</artifactId>
63 <executions>
64 <execution>
65 <id>filter</id>
66 <goals>
67 <goal>resources</goal>
68 </goals>
69 <phase>generate-resources</phase>
70 </execution>
71 </executions>
72 </plugin>
73 <!-- <plugin> -->
74 <!-- launches the feature test, which validates that your karaf feature
75 can be installed inside of a karaf container. It doesn't validate that your
76 functionality works correctly, just that you have all of the dependent bundles
77 defined correctly. -->
78 <!-- <groupId>org.apache.maven.plugins</groupId> -->
79 <!-- <artifactId>maven-surefire-plugin</artifactId> -->
80 <!-- <version>2.16</version> -->
81 <!-- <configuration> -->
82 <!-- <systemPropertyVariables> -->
83 <!-- <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId> -->
84 <!-- <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId> -->
85 <!-- <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version> -->
86 <!-- </systemPropertyVariables> -->
87 <!-- <dependenciesToScan> -->
88 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
89 <!-- </dependenciesToScan> -->
90 <!-- <classpathDependencyExcludes> -->
91 <!-- The dependencies which bring in AbstractDataBrokerTest class brings
92 in a second PaxExam container which results in the feature tests failing
93 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
94 TestContainer ..." This excludes the container we don't want to use. -->
95 <!-- <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes> -->
96 <!-- </classpathDependencyExcludes> -->
97 <!-- </configuration> -->
98 <!-- </plugin> -->
99 <plugin>
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>build-helper-maven-plugin</artifactId>
102 <executions>
103 <execution>
104 <id>attach-artifacts</id>
105 <goals>
106 <goal>attach-artifact</goal>
107 </goals>
108 <phase>package</phase>
109 <configuration>
110 <artifacts>
111 <artifact>
112 <file>${project.build.directory}/classes/${features.file}</file>
113 <type>xml</type>
114 <classifier>features</classifier>
115 </artifact>
116 </artifacts>
117 </configuration>
118 </execution>
119 </executions>
120 </plugin>
121
122 <!-- Skipping ODL feature test -->
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-surefire-plugin</artifactId>
126 <configuration>
127 <skipTests>true</skipTests>
128 </configuration>
129 </plugin>
130 </plugins>
131 </build>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800132</project>