blob: 861517783390d824ca7ee88fe4cb3121210833ec [file] [log] [blame]
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +05301<?xml version="1.0"?>
Skip Wonnell8e5e3172018-01-11 14:10:33 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClungfb3eec22018-06-14 10:17:19 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnell8e5e3172018-01-11 14:10:33 -06007 ================================================================================
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
Skip Wonnell8e5e3172018-01-11 14:10:33 -060022 ============LICENSE_END=========================================================
23-->
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053024<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>
27 <parent>
Patrick Brady07567592017-12-13 11:09:30 -080028 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053029 <artifactId>appc-sequence-generator</artifactId>
Patrick Brady84d0a252018-05-22 10:42:55 -070030 <version>1.4.0-SNAPSHOT</version>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053031 </parent>
32 <artifactId>appc-sequence-generator-features</artifactId>
33 <name>Application Controller Sequence Generator Features</name>
34
35 <dependencies>
36 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080037 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053038 <artifactId>appc-sequence-generator-bundle</artifactId>
39 <version>${project.version}</version>
40 </dependency>
41 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080042 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053043 <artifactId>appc-sequence-generator-model</artifactId>
44 <version>${project.version}</version>
45 </dependency>
46 <dependency>
47 <groupId>org.opendaylight.mdsal</groupId>
48 <artifactId>features-mdsal</artifactId>
49 <classifier>features</classifier>
50 <type>xml</type>
51
52 <scope>runtime</scope>
53 </dependency>
54 <dependency>
55 <groupId>org.opendaylight.yangtools</groupId>
56 <artifactId>features-yangtools</artifactId>
57 <classifier>features</classifier>
58 <type>xml</type>
59 <scope>runtime</scope>
60 </dependency>
61 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080062 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053063 <artifactId>appc-dg-domain-model-lib</artifactId>
64 <version>${project.version}</version>
65 </dependency>
66 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080067 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053068 <artifactId>appc-dg-dependency-model</artifactId>
69 <version>${project.version}</version>
70 </dependency>
71 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080072 <groupId>org.onap.appc</groupId>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +053073 <artifactId>appc-common</artifactId>
74 <version>${project.version}</version>
75 </dependency>
76 </dependencies>
77
78 <build>
79 <resources>
80 <resource>
81 <filtering>true</filtering>
82 <directory>src/main/resources</directory>
83 </resource>
84 </resources>
85 <plugins>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-resources-plugin</artifactId>
89 <executions>
90 <execution>
91 <id>filter</id>
92 <goals>
93 <goal>resources</goal>
94 </goals>
95 <phase>generate-resources</phase>
96 </execution>
97 </executions>
98 </plugin>
99 <!--<plugin>
100 &lt;!&ndash; 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. &ndash;&gt;
104 &lt;!&ndash; Skipping ODL feature test &ndash;&gt;
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-surefire-plugin</artifactId>
107 <version>2.16</version>
108 <configuration>
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>
114 <dependenciesToScan>
115 <dependency>org.opendaylight.yangtools:features-test</dependency>
116 </dependenciesToScan>
117 <classpathDependencyExcludes>
118 &lt;!&ndash; 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. &ndash;&gt;
122 <classpathDependencyExcludes>org.ops4j.pax.exam:pax-exam-container-native</classpathDependencyExcludes>
123 </classpathDependencyExcludes>
124 <skipTests>true</skipTests>
125 </configuration>
126 </plugin>-->
127 <plugin>
128 <groupId>org.codehaus.mojo</groupId>
129 <artifactId>build-helper-maven-plugin</artifactId>
130 <executions>
131 <execution>
132 <id>attach-artifacts</id>
133 <goals>
134 <goal>attach-artifact</goal>
135 </goals>
136 <phase>package</phase>
137 <configuration>
138 <artifacts>
139 <artifact>
140 <file>${project.build.directory}/classes/${features.file}</file>
141 <type>xml</type>
142 <classifier>features</classifier>
143 </artifact>
144 </artifacts>
145 </configuration>
146 </execution>
147 </executions>
148 </plugin>
149 </plugins>
150 </build>
151</project>