3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017-2018 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 ============LICENSE_END=========================================================
24 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
25 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.appc</groupId>
29 <artifactId>appc-sequence-generator</artifactId>
30 <version>1.4.0-SNAPSHOT</version>
32 <artifactId>appc-sequence-generator-features</artifactId>
33 <name>Application Controller Sequence Generator Features</name>
37 <groupId>org.onap.appc</groupId>
38 <artifactId>appc-sequence-generator-bundle</artifactId>
39 <version>${project.version}</version>
42 <groupId>org.onap.appc</groupId>
43 <artifactId>appc-sequence-generator-model</artifactId>
44 <version>${project.version}</version>
47 <groupId>org.opendaylight.mdsal</groupId>
48 <artifactId>features-mdsal</artifactId>
49 <classifier>features</classifier>
52 <scope>runtime</scope>
55 <groupId>org.opendaylight.yangtools</groupId>
56 <artifactId>features-yangtools</artifactId>
57 <classifier>features</classifier>
59 <scope>runtime</scope>
62 <groupId>org.onap.appc</groupId>
63 <artifactId>appc-dg-domain-model-lib</artifactId>
64 <version>${project.version}</version>
67 <groupId>org.onap.appc</groupId>
68 <artifactId>appc-dg-dependency-model</artifactId>
69 <version>${project.version}</version>
72 <groupId>org.onap.appc</groupId>
73 <artifactId>appc-common</artifactId>
74 <version>${project.version}</version>
81 <filtering>true</filtering>
82 <directory>src/main/resources</directory>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-resources-plugin</artifactId>
93 <goal>resources</goal>
95 <phase>generate-resources</phase>
100 <!– launches the feature test, which validates that your karaf feature
101 can be installed inside of a karaf container. It doesn't validate that your
102 functionality works correctly, just that you have all of the dependent bundles
103 defined correctly. –>
104 <!– Skipping ODL feature test –>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-surefire-plugin</artifactId>
107 <version>2.16</version>
109 <systemPropertyVariables>
110 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
111 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
112 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
113 </systemPropertyVariables>
115 <dependency>org.opendaylight.yangtools:features-test</dependency>
116 </dependenciesToScan>
117 <classpathDependencyExcludes>
118 <!– The dependencies which bring in AbstractDataBrokerTest class brings
119 in a second PaxExam container which results in the feature tests failing
120 with a message similar to: "ERROR o.ops4j.pax.exam.spi.PaxExamRuntime - Ambiguous
121 TestContainer ..." This excludes the container we don't want to use. –>
122 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
123 </classpathDependencyExcludes>
124 <skipTests>true</skipTests>
128 <groupId>org.codehaus.mojo</groupId>
129 <artifactId>build-helper-maven-plugin</artifactId>
132 <id>attach-artifacts</id>
134 <goal>attach-artifact</goal>
136 <phase>package</phase>
140 <file>${project.build.directory}/classes/${features.file}</file>
142 <classifier>features</classifier>