blob: bd3eecf8386e676c76eece683c7520319c69b39f [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 ================================================================================
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
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 ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 ============LICENSE_END=========================================================
24 -->
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>
29 <parent>
30 <artifactId>appc-license-manager</artifactId>
31 <groupId>org.onap.appc</groupId>
32 <version>1.3.0-SNAPSHOT</version>
33 </parent>
Patrick Brady57b5eef2017-02-10 15:00:49 -080034
Anand36bcd562018-01-04 19:35:51 -050035 <name>APPC License Manager - Features</name>
36 <artifactId>appc-license-manager-features</artifactId>
37 <packaging>jar</packaging>
38
39
40 <dependencies>
41 <dependency>
42 <groupId>org.onap.appc</groupId>
43 <artifactId>appc-license-manager-api</artifactId>
44 <version>${project.version}</version>
45 </dependency>
46 <dependency>
47 <groupId>org.onap.appc</groupId>
48 <artifactId>appc-license-manager-core</artifactId>
49 <version>${project.version}</version>
50 </dependency>
51 </dependencies>
52
53 <build>
54 <resources>
55 <resource>
56 <filtering>true</filtering>
57 <directory>src/main/resources</directory>
58 </resource>
59 </resources>
60 <plugins>
61 <plugin>
62 <groupId>org.apache.maven.plugins</groupId>
63 <artifactId>maven-resources-plugin</artifactId>
64 <executions>
65 <execution>
66 <id>filter</id>
67 <goals>
68 <goal>resources</goal>
69 </goals>
70 <phase>generate-resources</phase>
71 </execution>
72 </executions>
73 </plugin>
74 <!-- <plugin> -->
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> -->
82 <!-- <configuration> -->
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> -->
88 <!-- <dependenciesToScan> -->
89 <!-- <dependency>org.opendaylight.yangtools:features-test</dependency> -->
90 <!-- </dependenciesToScan> -->
91 <!-- <classpathDependencyExcludes> -->
92 <!-- The dependencies which bring in AbstractDataBrokerTest class brings
93 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> -->
98 <!-- </configuration> -->
99 <!-- </plugin> -->
100 <plugin>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>build-helper-maven-plugin</artifactId>
103 <executions>
104 <execution>
105 <id>attach-artifacts</id>
106 <goals>
107 <goal>attach-artifact</goal>
108 </goals>
109 <phase>package</phase>
110 <configuration>
111 <artifacts>
112 <artifact>
113 <file>${project.build.directory}/classes/${features.file}</file>
114 <type>xml</type>
115 <classifier>features</classifier>
116 </artifact>
117 </artifacts>
118 </configuration>
119 </execution>
120 </executions>
121 </plugin>
122
123 <!-- Skipping ODL feature test -->
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-surefire-plugin</artifactId>
127 <configuration>
128 <skipTests>true</skipTests>
129 </configuration>
130 </plugin>
131 </plugins>
132 </build>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800133</project>