blob: cbaf30fb4e9af5710af9c53004de4db9811d071b [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
mojahidi3df31822017-08-29 18:20:26 +05302<!--
3============LICENSE_START=======================================================
4ONAP : APPC
5================================================================================
Taka Choea9b8552018-03-23 15:57:59 -04006Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
mojahidi3df31822017-08-29 18:20:26 +05307================================================================================
8Copyright (C) 2017 Amdocs
9=============================================================================
10Licensed under the Apache License, Version 2.0 (the "License");
11you may not use this file except in compliance with the License.
12You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16Unless required by applicable law or agreed to in writing, software
17distributed under the License is distributed on an "AS IS" BASIS,
18WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19See the License for the specific language governing permissions and
20limitations under the License.
mojahidi3df31822017-08-29 18:20:26 +053021============LICENSE_END=========================================================
22-->
Patrick Brady7a638b62017-03-30 11:04:22 -070023<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Patrick Brady57b5eef2017-02-10 15:00:49 -080025 <parent>
Patrick Brady76706002017-09-04 21:37:25 -070026 <groupId>org.onap.ccsdk.parent</groupId>
27 <artifactId>odlparent-carbon-sr1</artifactId>
Patrick Brady6eec6d12017-10-25 13:06:18 -070028 <version>0.1.0</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080029 </parent>
Patrick Brady7a638b62017-03-30 11:04:22 -070030
31
32 <modelVersion>4.0.0</modelVersion>
Patrick Brady57b5eef2017-02-10 15:00:49 -080033 <packaging>pom</packaging>
Patrick Brady07567592017-12-13 11:09:30 -080034 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080035 <artifactId>appc</artifactId>
Jessica Wagantall65367992017-11-16 17:22:13 -080036 <version>1.3.0-SNAPSHOT</version>
Jessica Wagantall69006782017-09-08 14:32:54 -070037 <name>appc</name>
Patrick Brady57b5eef2017-02-10 15:00:49 -080038 <description>Construct the Application Controller component for the ECOMP project.</description>
39 <inceptionYear>2015-07-20</inceptionYear>
40 <organization>
41 <name>OpenECOMP</name>
42 </organization>
Patrick Brady7a638b62017-03-30 11:04:22 -070043
44
Patrick Brady57b5eef2017-02-10 15:00:49 -080045 <!-- ================================================================================== -->
46 <!-- Configuration properties -->
47 <!-- ================================================================================== -->
48 <properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070049 <!-- VERSIONS -->
Patrick Brady7a638b62017-03-30 11:04:22 -070050
Patrick Brady7a638b62017-03-30 11:04:22 -070051
RY303Tfce1a232018-02-14 12:00:00 -050052 <cdp.pal.version>1.1.25.6-oss</cdp.pal.version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070053 <dmaap.client.version>0.2.12</dmaap.client.version>
Taka Choea9b8552018-03-23 15:57:59 -040054 <eelf.version>1.0.0</eelf.version>
55 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080056 <cadi-version>1.3.0</cadi-version>
57 <inno-version>1.2.11</inno-version>
58 <dme2-version>3.1.200</dme2-version>
Patrick Brady7a638b62017-03-30 11:04:22 -070059 <bundle.plugin.version>2.5.0</bundle.plugin.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070060 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
61 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
62 <apache.httpcomponents.version>4.4</apache.httpcomponents.version>
Patrick Bradya41533f2017-04-03 09:47:37 -070063 <commons.lang3.version>3.4</commons.lang3.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070064 <antlr.version>4.5.1</antlr.version>
Taka Choea9b8552018-03-23 15:57:59 -040065 <logback.version>1.2.0</logback.version>
Masal, Sushil (sm588m)0500d5d2017-08-13 19:10:02 +053066 <toscalib.version>1.1.0</toscalib.version>
Patrick Bradyec8d8342018-03-28 22:16:17 -070067 <sdc-client.version>1.3.0</sdc-client.version>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050068 <jackson.yml.version>2.3.2</jackson.yml.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070069
70 <!-- SONAR -->
71 <sonar.language>java</sonar.language>
72 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
73 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Marcus G K Williams96f45e82017-08-16 10:05:43 -070074 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
Patrick Brady7a638b62017-03-30 11:04:22 -070075 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
76 <sonar.projectVersion>${project.version}</sonar.projectVersion>
77
Patrick Brady57b5eef2017-02-10 15:00:49 -080078 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
Patrick Brady57b5eef2017-02-10 15:00:49 -080079 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
Patrick Brady7a638b62017-03-30 11:04:22 -070080 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080081 <yang.file.directory>src/main/yang</yang.file.directory>
Patrick Brady7a638b62017-03-30 11:04:22 -070082 <features.file>features.xml</features.file>
Patrick Bradyc7d00752017-06-01 10:45:37 -070083 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
84 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
Taka Choea9b8552018-03-23 15:57:59 -040085
Patrick Bradyf0852a82017-09-12 10:29:40 -070086 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
Patrick Bradyc7d00752017-06-01 10:45:37 -070087
Patrick Brady57b5eef2017-02-10 15:00:49 -080088 </properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070089
90
Patrick Brady57b5eef2017-02-10 15:00:49 -080091 <!-- ================================================================================== -->
92 <!-- Javadoc Generation Plugin -->
93 <!-- ================================================================================== -->
94 <reporting>
95 <plugins>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-javadoc-plugin</artifactId>
beili.zhoufe0e9892017-08-10 14:54:42 -040099 <version>2.10</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800100 <configuration>
Patrick Brady76706002017-09-04 21:37:25 -0700101 <excludePackageNames>org.onap.ccsdk.sli</excludePackageNames>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800102 <failOnError>false</failOnError>
103 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
104 <docletArtifact>
105 <groupId>org.umlgraph</groupId>
106 <artifactId>umlgraph</artifactId>
107 <version>5.6</version>
108 </docletArtifact>
109 <additionalparam>-views</additionalparam>
110 <useStandardDocletOptions>true</useStandardDocletOptions>
111 </configuration>
112 </plugin>
113 </plugins>
114 </reporting>
Patrick Brady7a638b62017-03-30 11:04:22 -0700115
116
Patrick Brady57b5eef2017-02-10 15:00:49 -0800117 <!-- ================================================================================== -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700118 <!-- Distribution Management Sites -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800119 <!-- ================================================================================== -->
120 <distributionManagement>
121 <!-- This site is used for Javadocs -->
122 <site>
Patrick Brady7a638b62017-03-30 11:04:22 -0700123 <id>ecomp-site</id>
Patrick Brady172e0a22017-10-25 23:57:50 -0700124 <url>dav:${onap.nexus.url}/content/sites/site/org/onap/appc/${project.version}</url>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800125 </site>
Patrick Bradyf0852a82017-09-12 10:29:40 -0700126 <repository>
127 <id>ecomp-releases</id>
128 <name>openecomp-repository-releases</name>
129 <url>${onap.nexus.url}/content/repositories/releases</url>
130 </repository>
131 <snapshotRepository>
132 <id>ecomp-snapshots</id>
133 <name>openecomp-repository-snapshots</name>
134 <url>${onap.nexus.url}/content/repositories/snapshots</url>
135 </snapshotRepository>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800136 </distributionManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700137
138
Patrick Brady57b5eef2017-02-10 15:00:49 -0800139 <!-- ================================================================================== -->
140 <!-- Define plugin repositories -->
141 <!-- ================================================================================== -->
142 <pluginRepositories>
143 <pluginRepository>
144 <id>opendaylight-mirror</id>
145 <name>opendaylight-mirror</name>
146 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
147 <releases>
148 <enabled>true</enabled>
149 <updatePolicy>never</updatePolicy>
150 </releases>
151 <snapshots>
152 <enabled>false</enabled>
153 </snapshots>
154 </pluginRepository>
155 <pluginRepository>
156 <id>opendaylight-snapshot</id>
157 <name>opendaylight-snapshot</name>
158 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
159 <releases>
160 <enabled>false</enabled>
161 </releases>
162 <snapshots>
163 <enabled>true</enabled>
164 </snapshots>
165 </pluginRepository>
166 <!-- Black Duck plugin dependencies -->
167 <pluginRepository>
168 <id>JCenter</id>
169 <name>JCenter Repository</name>
170 <url>http://jcenter.bintray.com</url>
171 </pluginRepository>
172 <pluginRepository>
173 <id>Restlet</id>
174 <name>Restlet Repository</name>
175 <url>http://maven.restlet.com</url>
176 </pluginRepository>
177 </pluginRepositories>
Patrick Brady7a638b62017-03-30 11:04:22 -0700178
179
Patrick Brady57b5eef2017-02-10 15:00:49 -0800180 <!-- ================================================================================== -->
181 <!-- Define project-wide dependencies -->
182 <!-- ================================================================================== -->
183 <dependencyManagement>
184 <dependencies>
Gary Wuf6573912017-06-21 16:51:59 -0700185 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800186 <groupId>org.opendaylight.controller</groupId>
187 <artifactId>config-api</artifactId>
188 <version>${odl.controller.config.api.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>sal-binding-config</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800193 <version>${odl.mdsal.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.opendaylight.controller</groupId>
197 <artifactId>sal-binding-api</artifactId>
198 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800199 </dependency>
200 <dependency>
201 <groupId>org.opendaylight.controller</groupId>
202 <artifactId>sal-test-model</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800203 <version>${odl.mdsal.version}</version>
204 </dependency>
205 <dependency>
206 <groupId>org.opendaylight.netconf</groupId>
207 <artifactId>sal-rest-connector</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800208 <version>${odl.mdsal.version}</version>
209 </dependency>
210 <dependency>
211 <groupId>org.opendaylight.controller</groupId>
212 <artifactId>sal-binding-broker-impl</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800213 <version>${odl.mdsal.version}</version>
214 </dependency>
215 <dependency>
216 <groupId>org.opendaylight.controller</groupId>
217 <artifactId>sal-common-util</artifactId>
218 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800219 </dependency>
220 <dependency>
221 <groupId>org.opendaylight.mdsal</groupId>
222 <artifactId>yang-binding</artifactId>
Patrick Bradya41533f2017-04-03 09:47:37 -0700223 <version>${odl.mdsal.yang.binding.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800224 </dependency>
225 <dependency>
226 <groupId>org.opendaylight.yangtools</groupId>
227 <artifactId>yang-common</artifactId>
228 <version>${odl.yangtools.version}</version>
229 </dependency>
230 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800231 <groupId>org.opendaylight.controller</groupId>
232 <artifactId>features-mdsal</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -0700233 <version>${odl.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800234 <classifier>features</classifier>
235 <type>xml</type>
236 </dependency>
237 <dependency>
238 <groupId>org.opendaylight.mdsal</groupId>
239 <artifactId>features-mdsal</artifactId>
Patrick Bradyda976a92017-04-05 10:16:12 -0700240 <version>${odl.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800241 <classifier>features</classifier>
242 <type>xml</type>
243 </dependency>
244 <dependency>
245 <groupId>org.opendaylight.controller</groupId>
246 <artifactId>opendaylight-karaf-empty</artifactId>
247 <version>${odl.karaf.empty.distro.version}</version>
248 <type>zip</type>
249 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700250 <dependency>
251 <groupId>org.opendaylight.mdsal.model</groupId>
252 <artifactId>ietf-inet-types</artifactId>
253 <version>${odl.ietf-inet-types.version}</version>
254 </dependency>
255 <dependency>
256 <groupId>org.opendaylight.mdsal.model</groupId>
257 <artifactId>ietf-yang-types</artifactId>
258 <version>${odl.ietf-yang-types.version}</version>
259 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800260 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
261 <!-- Required for launching the feature tests -->
262 <!-- <dependency> -->
263 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
264 <!-- <artifactId>features-test</artifactId> -->
265 <!-- <version>${odl.yangtools.version}</version> -->
266 <!-- <scope>test</scope> -->
267 <!-- </dependency> -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700268
Patrick Brady57b5eef2017-02-10 15:00:49 -0800269 <!-- YANG tools -->
270 <dependency>
271 <groupId>org.opendaylight.yangtools</groupId>
272 <artifactId>features-yangtools</artifactId>
273 <version>${odl.yangtools.version}</version>
274 <classifier>features</classifier>
275 <type>xml</type>
276 </dependency>
277 <!-- SDNC -->
278 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700279 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800280 <artifactId>sli-common</artifactId>
281 <version>${sdnctl.sli.version}</version>
282 </dependency>
283 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700284 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800285 <artifactId>sli-provider</artifactId>
286 <version>${sdnctl.sli.version}</version>
287 </dependency>
288 <!-- dblib -->
289 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700290 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800291 <artifactId>dblib-provider</artifactId>
292 <version>${sdnctl.dblib.version}</version>
293 </dependency>
Taka Choea9b8552018-03-23 15:57:59 -0400294 <!-- A&AI service provider dependency override in order to use a stable
Patrick Bradyc7d00752017-06-01 10:45:37 -0700295 version -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800296 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700297 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800298 <artifactId>aai-service-provider</artifactId>
299 <version>${sdnctl.aai.service.version}</version>
300 </dependency>
301 <!-- APPC -->
302 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800303 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800304 <artifactId>appc-controller-features</artifactId>
305 <classifier>features</classifier>
306 <type>xml</type>
307 <version>${project.version}</version>
308 </dependency>
309 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800310 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800311 <artifactId>appc-controller-model</artifactId>
312 <version>${project.version}</version>
313 </dependency>
314 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800315 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800316 <artifactId>appc-controller-bundle</artifactId>
317 <version>${project.version}</version>
318 <classifier>config</classifier>
319 <type>xml</type>
320 </dependency>
321 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800322 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800323 <artifactId>appc-controller-bundle</artifactId>
324 <version>${project.version}</version>
325 </dependency>
326 <!-- OTHER -->
327 <dependency>
328 <groupId>equinoxSDK381</groupId>
329 <artifactId>org.eclipse.osgi</artifactId>
330 <version>${equinox.osgi.version}</version>
331 </dependency>
332 <dependency>
333 <groupId>org.apache.commons</groupId>
334 <artifactId>commons-lang3</artifactId>
335 <version>${commons.lang3.version}</version>
336 </dependency>
337 <dependency>
338 <groupId>junit</groupId>
339 <artifactId>junit</artifactId>
340 <version>4.12</version>
341 <scope>test</scope>
342 </dependency>
343 <dependency>
Michal Kabaj22397032018-02-26 10:28:25 +0100344 <groupId>org.assertj</groupId>
345 <artifactId>assertj-core</artifactId>
346 <version>3.9.0</version>
347 <scope>test</scope>
348 </dependency>
349 <dependency>
350 <groupId>org.assertj</groupId>
351 <artifactId>assertj-guava</artifactId>
352 <version>3.1.0</version>
353 <scope>test</scope>
354 </dependency>
355 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800356 <groupId>ch.qos.logback</groupId>
357 <artifactId>logback-core</artifactId>
Taka Choea9b8552018-03-23 15:57:59 -0400358 <version>1.2.0</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800359 <scope>compile</scope>
360 </dependency>
361 <dependency>
362 <groupId>ch.qos.logback</groupId>
363 <artifactId>logback-classic</artifactId>
Taka Choea9b8552018-03-23 15:57:59 -0400364 <version>1.2.0</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800365 <scope>compile</scope>
366 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700367 <!-- <dependency> -->
368 <!-- <groupId>org.slf4j</groupId> -->
369 <!-- <artifactId>slf4j-api</artifactId> -->
370 <!-- <version>1.7.12</version> -->
371 <!-- </dependency> -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800372 <dependency>
373 <groupId>commons-lang</groupId>
374 <artifactId>commons-lang</artifactId>
375 <version>2.6</version>
376 </dependency>
377 <dependency>
378 <groupId>org.apache.sshd</groupId>
379 <artifactId>sshd-core</artifactId>
380 <version>0.12.0</version>
381 </dependency>
382 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800383 <groupId>org.mockito</groupId>
384 <artifactId>mockito-core</artifactId>
385 <version>1.10.19</version>
386 <scope>test</scope>
387 </dependency>
388 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800389 <groupId>com.att.cdp</groupId>
390 <artifactId>cdp-pal-common</artifactId>
391 <version>${cdp.pal.version}</version>
392 </dependency>
393 <dependency>
394 <groupId>com.att.cdp</groupId>
395 <artifactId>cdp-pal-openstack</artifactId>
396 <version>${cdp.pal.version}</version>
397 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800398 <dependency>
399 <groupId>com.att.authz</groupId>
400 <artifactId>authz-client</artifactId>
401 <version>2.3</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800402 </dependency>
403 <!-- EELF logging framework -->
404 <dependency>
405 <groupId>com.att.eelf</groupId>
406 <artifactId>eelf-core</artifactId>
407 <version>${eelf.version}</version>
408 </dependency>
Patrick Bradyac62a4a2017-09-13 00:11:21 -0700409 <!-- Maria DB -->
410 <dependency>
411 <groupId>org.mariadb.jdbc</groupId>
412 <artifactId>mariadb-java-client</artifactId>
413 <version>1.2.3</version>
414 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800415 </dependencies>
416 </dependencyManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700417
418
Patrick Brady57b5eef2017-02-10 15:00:49 -0800419 <!-- ================================================================================== -->
420 <!-- Define common plugins and make them available for all modules -->
421 <!-- ================================================================================== -->
422 <build>
423 <pluginManagement>
424 <plugins>
425 <!-- Define the site plugin to generate documentation -->
426 <plugin>
427 <groupId>org.apache.maven.plugins</groupId>
428 <artifactId>maven-site-plugin</artifactId>
429 <version>3.4</version>
430 <dependencies>
431 <!-- add support for ssh/scp -->
432 <dependency>
433 <groupId>org.apache.maven.wagon</groupId>
434 <artifactId>wagon-ssh</artifactId>
435 <version>1.0</version>
436 </dependency>
437 </dependencies>
438 </plugin>
439 <!-- Define the compiler plugin -->
440 <plugin>
441 <groupId>org.apache.maven.plugins</groupId>
442 <artifactId>maven-compiler-plugin</artifactId>
443 <version>${maven.compile.plugin.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800444 </plugin>
445 <!-- Define the javadoc plugin -->
446 <plugin>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-javadoc-plugin</artifactId>
449 <version>2.10</version>
450 <configuration>
Patrick Brady76706002017-09-04 21:37:25 -0700451 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800452 </configuration>
453 </plugin>
454 <!-- Define the source plugin -->
455 <plugin>
456 <artifactId>maven-source-plugin</artifactId>
457 <version>2.1.1</version>
458 </plugin>
459 <!-- Resources plugin -->
460 <plugin>
461 <groupId>org.apache.maven.plugins</groupId>
462 <artifactId>maven-resources-plugin</artifactId>
463 <version>2.6</version>
464 <executions>
465 <execution>
466 <id>filter</id>
467 <goals>
468 <goal>resources</goal>
469 </goals>
470 <phase>generate-resources</phase>
471 </execution>
472 </executions>
473 </plugin>
474 <plugin>
475 <artifactId>maven-release-plugin</artifactId>
476 <version>2.5.2</version>
477 <configuration>
478 <goals>-s ${mvn.settings} deploy</goals>
479 </configuration>
480 </plugin>
481 <plugin>
482 <artifactId>maven-assembly-plugin</artifactId>
483 <version>2.5.5</version>
484 </plugin>
485 <plugin>
486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-deploy-plugin</artifactId>
488 <version>2.8.1</version>
489 </plugin>
490 <plugin>
491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-dependency-plugin</artifactId>
493 <version>2.10</version>
494 </plugin>
495 <!-- Maven surefire plugin for testing -->
496 <plugin>
497 <artifactId>maven-surefire-plugin</artifactId>
498 <version>2.17</version>
499 </plugin>
500 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
501 <plugin>
502 <groupId>org.apache.felix</groupId>
503 <artifactId>maven-bundle-plugin</artifactId>
504 <version>${bundle.plugin.version}</version>
505 </plugin>
506 <plugin>
507 <groupId>org.codehaus.mojo</groupId>
508 <artifactId>build-helper-maven-plugin</artifactId>
509 <version>1.9.1</version>
510 </plugin>
Marcus G K Williams962f03b2017-08-18 15:03:51 -0700511 <plugin>
512 <groupId>org.sonarsource.scanner.maven</groupId>
513 <artifactId>sonar-maven-plugin</artifactId>
514 <version>3.2</version>
515 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800516 </plugins>
517 </pluginManagement>
518 <plugins>
Taka Choea9b8552018-03-23 15:57:59 -0400519 <!--maven staging plugin -->
520 <plugin>
521 <groupId>org.sonatype.plugins</groupId>
522 <artifactId>nexus-staging-maven-plugin</artifactId>
523 <version>1.6.7</version>
524 <extensions>true</extensions>
525 <configuration>
526 <nexusUrl>${onap.nexus.url}</nexusUrl>
527 <stagingProfileId>176c31dfe190a</stagingProfileId>
528 <serverId>ecomp-staging</serverId>
529 </configuration>
530 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800531 <!-- Javadocs Plugin -->
532 <plugin>
533 <groupId>org.apache.maven.plugins</groupId>
534 <artifactId>maven-site-plugin</artifactId>
535 <version>3.6</version>
536 <dependencies>
537 <dependency>
538 <groupId>org.apache.maven.wagon</groupId>
539 <artifactId>wagon-webdav-jackrabbit</artifactId>
540 <version>2.10</version>
541 </dependency>
542 </dependencies>
543 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800544 <plugin>
545 <groupId>org.codehaus.mojo</groupId>
546 <artifactId>properties-maven-plugin</artifactId>
547 <executions>
548 <execution>
549 <goals>
550 <goal>set-system-properties</goal>
551 </goals>
552 <configuration>
553 <properties>
554 <property>
555 <name>maven.wagon.http.ssl.allowall</name>
556 <value>${ssl.allowall}</value>
557 </property>
558 <property>
559 <name>maven.wagon.http.ssl.insecure</name>
560 <value>${ssl.insecure}</value>
561 </property>
562 </properties>
563 </configuration>
564 </execution>
565 </executions>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700566
Patrick Brady57b5eef2017-02-10 15:00:49 -0800567 </plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700568
Patrick Brady57b5eef2017-02-10 15:00:49 -0800569 <!-- blackduck maven plugin -->
Taka Choea9b8552018-03-23 15:57:59 -0400570 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
571 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
572 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
573 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700574 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
575
beili.zhoufe0e9892017-08-10 14:54:42 -0400576 <!-- force Eclipse to skip the additional-install step specified in the
Patrick Bradyc7d00752017-06-01 10:45:37 -0700577 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800578 <plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-install-plugin</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800581 <executions>
582 <execution>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700583 <id>additional-install</id>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800584 <goals>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700585 <goal>install-file</goal>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800586 </goals>
587 </execution>
588 </executions>
589 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800590 </plugins>
591 </build>
Patrick Brady7a638b62017-03-30 11:04:22 -0700592
593
Patrick Brady57b5eef2017-02-10 15:00:49 -0800594 <!-- ================================================================================== -->
595 <!-- The modules we build every time -->
596 <!-- ================================================================================== -->
597 <modules>
598 <module>appc-common</module>
599 </modules>
600 <!-- Adding profiles for testing -->
601 <profiles>
602 <profile>
603 <id>appc-core</id>
604 <properties>
605 <ssl.allowall>true</ssl.allowall>
606 <ssl.insecure>true</ssl.insecure>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800607 <openecomp.git.port>7999</openecomp.git.port>
608 <openecomp.git.project>st_osecomp</openecomp.git.project>
609 <openecomp.git.protocol>http</openecomp.git.protocol>
610 </properties>
611 <!-- Core app-c from 1604 -->
612 <activation>
613 <activeByDefault>true</activeByDefault>
614 </activation>
615 <modules>
616 <module>appc-common</module>
617 <module>appc-adapters</module>
618 <module>appc-provider</module>
619 <module>appc-event-listener</module>
mojahidi3df31822017-08-29 18:20:26 +0530620 <module>appc-sdc-listener</module>
beili.zhoufe0e9892017-08-10 14:54:42 -0400621 <module>appc-lifecycle-management</module>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700622 <module>appc-oam</module>
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -0400623 <module>appc-config</module>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -0500624 <module>appc-directed-graph</module>
Anand Chaturvedie178b072017-08-14 20:10:36 -0400625 <module>appc-outbound</module>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500626 <module>appc-inbound</module>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +0530627 <module>appc-sequence-generator</module>
Skip Wonnellabe94202017-08-29 22:39:17 -0500628 <module>appc-client</module>
Anand36bcd562018-01-04 19:35:51 -0500629 <module>appc-test-dependencies</module>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800630 </modules>
631 </profile>
632 <profile>
633 <id>request-dispatcher</id>
634 <properties>
635 <ssl.allowall>true</ssl.allowall>
636 <ssl.insecure>true</ssl.insecure>
637 </properties>
638 <activation>
639 <activeByDefault>true</activeByDefault>
640 </activation>
641 <modules>
642 <module>appc-dispatcher</module>
643 <module>appc-metric</module>
644 <module>appc-dg</module>
645 <module>appc-dg-util</module>
646 </modules>
647 </profile>
648 </profiles>
Patrick Brady9171e282017-02-21 13:20:34 -0800649</project>