blob: f99714b2987d89daacbf9d9ca9ac170e2ef38813 [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================================================================================
6Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7================================================================================
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.
21
22ECOMP is a trademark and service mark of AT&T Intellectual Property.
23============LICENSE_END=========================================================
24-->
Patrick Brady7a638b62017-03-30 11:04:22 -070025<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 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 -080027 <parent>
Patrick Brady76706002017-09-04 21:37:25 -070028 <groupId>org.onap.ccsdk.parent</groupId>
29 <artifactId>odlparent-carbon-sr1</artifactId>
Patrick Brady6eec6d12017-10-25 13:06:18 -070030 <version>0.1.0</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080031 </parent>
Patrick Brady7a638b62017-03-30 11:04:22 -070032
33
34 <modelVersion>4.0.0</modelVersion>
Patrick Brady57b5eef2017-02-10 15:00:49 -080035 <packaging>pom</packaging>
Patrick Brady07567592017-12-13 11:09:30 -080036 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080037 <artifactId>appc</artifactId>
Jessica Wagantall65367992017-11-16 17:22:13 -080038 <version>1.3.0-SNAPSHOT</version>
Jessica Wagantall69006782017-09-08 14:32:54 -070039 <name>appc</name>
Patrick Brady57b5eef2017-02-10 15:00:49 -080040 <description>Construct the Application Controller component for the ECOMP project.</description>
41 <inceptionYear>2015-07-20</inceptionYear>
42 <organization>
43 <name>OpenECOMP</name>
44 </organization>
Patrick Brady7a638b62017-03-30 11:04:22 -070045
46
Patrick Brady57b5eef2017-02-10 15:00:49 -080047 <!-- ================================================================================== -->
48 <!-- Configuration properties -->
49 <!-- ================================================================================== -->
50 <properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070051 <!-- VERSIONS -->
Patrick Brady7a638b62017-03-30 11:04:22 -070052
Patrick Brady7a638b62017-03-30 11:04:22 -070053
RY303Tfce1a232018-02-14 12:00:00 -050054 <cdp.pal.version>1.1.25.6-oss</cdp.pal.version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070055 <dmaap.client.version>0.2.12</dmaap.client.version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080056 <eelf.version>0.0.1</eelf.version>
57 <eelf.maven.plugin.version>0.0.1</eelf.maven.plugin.version>
58 <cadi-version>1.3.0</cadi-version>
59 <inno-version>1.2.11</inno-version>
60 <dme2-version>3.1.200</dme2-version>
Patrick Brady7a638b62017-03-30 11:04:22 -070061 <bundle.plugin.version>2.5.0</bundle.plugin.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070062 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
63 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
64 <apache.httpcomponents.version>4.4</apache.httpcomponents.version>
Patrick Bradya41533f2017-04-03 09:47:37 -070065 <commons.lang3.version>3.4</commons.lang3.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070066 <antlr.version>4.5.1</antlr.version>
Taka Chobe88d832018-02-28 12:22:45 -050067 <logback.version>1.1.1</logback.version>
Masal, Sushil (sm588m)0500d5d2017-08-13 19:10:02 +053068 <toscalib.version>1.1.0</toscalib.version>
Ramya Balaji13b95052018-01-02 21:58:59 -050069 <sdc-client.version>1.2.2</sdc-client.version>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050070 <jackson.yml.version>2.3.2</jackson.yml.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070071
72 <!-- SONAR -->
73 <sonar.language>java</sonar.language>
74 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
75 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Marcus G K Williams96f45e82017-08-16 10:05:43 -070076 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
Patrick Brady7a638b62017-03-30 11:04:22 -070077 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
78 <sonar.projectVersion>${project.version}</sonar.projectVersion>
79
Patrick Brady57b5eef2017-02-10 15:00:49 -080080 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
Patrick Brady57b5eef2017-02-10 15:00:49 -080081 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
Patrick Brady7a638b62017-03-30 11:04:22 -070082 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080083 <yang.file.directory>src/main/yang</yang.file.directory>
Patrick Brady7a638b62017-03-30 11:04:22 -070084 <features.file>features.xml</features.file>
Patrick Bradyc7d00752017-06-01 10:45:37 -070085 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
86 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
Patrick Bradyf0852a82017-09-12 10:29:40 -070087
88 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
Patrick Bradyc7d00752017-06-01 10:45:37 -070089
Patrick Brady57b5eef2017-02-10 15:00:49 -080090 </properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070091
92
Patrick Brady57b5eef2017-02-10 15:00:49 -080093 <!-- ================================================================================== -->
94 <!-- Javadoc Generation Plugin -->
95 <!-- ================================================================================== -->
96 <reporting>
97 <plugins>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-javadoc-plugin</artifactId>
beili.zhoufe0e9892017-08-10 14:54:42 -0400101 <version>2.10</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800102 <configuration>
Patrick Brady76706002017-09-04 21:37:25 -0700103 <excludePackageNames>org.onap.ccsdk.sli</excludePackageNames>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800104 <failOnError>false</failOnError>
105 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
106 <docletArtifact>
107 <groupId>org.umlgraph</groupId>
108 <artifactId>umlgraph</artifactId>
109 <version>5.6</version>
110 </docletArtifact>
111 <additionalparam>-views</additionalparam>
112 <useStandardDocletOptions>true</useStandardDocletOptions>
113 </configuration>
114 </plugin>
115 </plugins>
116 </reporting>
Patrick Brady7a638b62017-03-30 11:04:22 -0700117
118
Patrick Brady57b5eef2017-02-10 15:00:49 -0800119 <!-- ================================================================================== -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700120 <!-- Distribution Management Sites -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800121 <!-- ================================================================================== -->
122 <distributionManagement>
123 <!-- This site is used for Javadocs -->
124 <site>
Patrick Brady7a638b62017-03-30 11:04:22 -0700125 <id>ecomp-site</id>
Patrick Brady172e0a22017-10-25 23:57:50 -0700126 <url>dav:${onap.nexus.url}/content/sites/site/org/onap/appc/${project.version}</url>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800127 </site>
Patrick Bradyf0852a82017-09-12 10:29:40 -0700128 <repository>
129 <id>ecomp-releases</id>
130 <name>openecomp-repository-releases</name>
131 <url>${onap.nexus.url}/content/repositories/releases</url>
132 </repository>
133 <snapshotRepository>
134 <id>ecomp-snapshots</id>
135 <name>openecomp-repository-snapshots</name>
136 <url>${onap.nexus.url}/content/repositories/snapshots</url>
137 </snapshotRepository>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800138 </distributionManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700139
140
Patrick Brady57b5eef2017-02-10 15:00:49 -0800141 <!-- ================================================================================== -->
142 <!-- Define plugin repositories -->
143 <!-- ================================================================================== -->
144 <pluginRepositories>
145 <pluginRepository>
146 <id>opendaylight-mirror</id>
147 <name>opendaylight-mirror</name>
148 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
149 <releases>
150 <enabled>true</enabled>
151 <updatePolicy>never</updatePolicy>
152 </releases>
153 <snapshots>
154 <enabled>false</enabled>
155 </snapshots>
156 </pluginRepository>
157 <pluginRepository>
158 <id>opendaylight-snapshot</id>
159 <name>opendaylight-snapshot</name>
160 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
161 <releases>
162 <enabled>false</enabled>
163 </releases>
164 <snapshots>
165 <enabled>true</enabled>
166 </snapshots>
167 </pluginRepository>
168 <!-- Black Duck plugin dependencies -->
169 <pluginRepository>
170 <id>JCenter</id>
171 <name>JCenter Repository</name>
172 <url>http://jcenter.bintray.com</url>
173 </pluginRepository>
174 <pluginRepository>
175 <id>Restlet</id>
176 <name>Restlet Repository</name>
177 <url>http://maven.restlet.com</url>
178 </pluginRepository>
179 </pluginRepositories>
Patrick Brady7a638b62017-03-30 11:04:22 -0700180
181
Patrick Brady57b5eef2017-02-10 15:00:49 -0800182 <!-- ================================================================================== -->
183 <!-- Define project-wide dependencies -->
184 <!-- ================================================================================== -->
185 <dependencyManagement>
186 <dependencies>
Gary Wuf6573912017-06-21 16:51:59 -0700187 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800188 <groupId>org.opendaylight.controller</groupId>
189 <artifactId>config-api</artifactId>
190 <version>${odl.controller.config.api.version}</version>
191 </dependency>
192 <dependency>
193 <groupId>org.opendaylight.controller</groupId>
194 <artifactId>sal-binding-config</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800195 <version>${odl.mdsal.version}</version>
196 </dependency>
197 <dependency>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>sal-binding-api</artifactId>
200 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800201 </dependency>
202 <dependency>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>sal-test-model</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800205 <version>${odl.mdsal.version}</version>
206 </dependency>
207 <dependency>
208 <groupId>org.opendaylight.netconf</groupId>
209 <artifactId>sal-rest-connector</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800210 <version>${odl.mdsal.version}</version>
211 </dependency>
212 <dependency>
213 <groupId>org.opendaylight.controller</groupId>
214 <artifactId>sal-binding-broker-impl</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800215 <version>${odl.mdsal.version}</version>
216 </dependency>
217 <dependency>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>sal-common-util</artifactId>
220 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800221 </dependency>
222 <dependency>
223 <groupId>org.opendaylight.mdsal</groupId>
224 <artifactId>yang-binding</artifactId>
Patrick Bradya41533f2017-04-03 09:47:37 -0700225 <version>${odl.mdsal.yang.binding.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800226 </dependency>
227 <dependency>
228 <groupId>org.opendaylight.yangtools</groupId>
229 <artifactId>yang-common</artifactId>
230 <version>${odl.yangtools.version}</version>
231 </dependency>
232 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800233 <groupId>org.opendaylight.controller</groupId>
234 <artifactId>features-mdsal</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -0700235 <version>${odl.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800236 <classifier>features</classifier>
237 <type>xml</type>
238 </dependency>
239 <dependency>
240 <groupId>org.opendaylight.mdsal</groupId>
241 <artifactId>features-mdsal</artifactId>
Patrick Bradyda976a92017-04-05 10:16:12 -0700242 <version>${odl.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800243 <classifier>features</classifier>
244 <type>xml</type>
245 </dependency>
246 <dependency>
247 <groupId>org.opendaylight.controller</groupId>
248 <artifactId>opendaylight-karaf-empty</artifactId>
249 <version>${odl.karaf.empty.distro.version}</version>
250 <type>zip</type>
251 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700252 <dependency>
253 <groupId>org.opendaylight.mdsal.model</groupId>
254 <artifactId>ietf-inet-types</artifactId>
255 <version>${odl.ietf-inet-types.version}</version>
256 </dependency>
257 <dependency>
258 <groupId>org.opendaylight.mdsal.model</groupId>
259 <artifactId>ietf-yang-types</artifactId>
260 <version>${odl.ietf-yang-types.version}</version>
261 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800262 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
263 <!-- Required for launching the feature tests -->
264 <!-- <dependency> -->
265 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
266 <!-- <artifactId>features-test</artifactId> -->
267 <!-- <version>${odl.yangtools.version}</version> -->
268 <!-- <scope>test</scope> -->
269 <!-- </dependency> -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700270
Patrick Brady57b5eef2017-02-10 15:00:49 -0800271 <!-- YANG tools -->
272 <dependency>
273 <groupId>org.opendaylight.yangtools</groupId>
274 <artifactId>features-yangtools</artifactId>
275 <version>${odl.yangtools.version}</version>
276 <classifier>features</classifier>
277 <type>xml</type>
278 </dependency>
279 <!-- SDNC -->
280 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700281 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800282 <artifactId>sli-common</artifactId>
283 <version>${sdnctl.sli.version}</version>
284 </dependency>
285 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700286 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800287 <artifactId>sli-provider</artifactId>
288 <version>${sdnctl.sli.version}</version>
289 </dependency>
290 <!-- dblib -->
291 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700292 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800293 <artifactId>dblib-provider</artifactId>
294 <version>${sdnctl.dblib.version}</version>
295 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700296 <!-- A&AI service provider dependency override in order to use a stable
297 version -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800298 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700299 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800300 <artifactId>aai-service-provider</artifactId>
301 <version>${sdnctl.aai.service.version}</version>
302 </dependency>
303 <!-- APPC -->
304 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800305 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800306 <artifactId>appc-controller-features</artifactId>
307 <classifier>features</classifier>
308 <type>xml</type>
309 <version>${project.version}</version>
310 </dependency>
311 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800312 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800313 <artifactId>appc-controller-model</artifactId>
314 <version>${project.version}</version>
315 </dependency>
316 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800317 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800318 <artifactId>appc-controller-bundle</artifactId>
319 <version>${project.version}</version>
320 <classifier>config</classifier>
321 <type>xml</type>
322 </dependency>
323 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800324 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800325 <artifactId>appc-controller-bundle</artifactId>
326 <version>${project.version}</version>
327 </dependency>
328 <!-- OTHER -->
329 <dependency>
330 <groupId>equinoxSDK381</groupId>
331 <artifactId>org.eclipse.osgi</artifactId>
332 <version>${equinox.osgi.version}</version>
333 </dependency>
334 <dependency>
335 <groupId>org.apache.commons</groupId>
336 <artifactId>commons-lang3</artifactId>
337 <version>${commons.lang3.version}</version>
338 </dependency>
339 <dependency>
340 <groupId>junit</groupId>
341 <artifactId>junit</artifactId>
342 <version>4.12</version>
343 <scope>test</scope>
344 </dependency>
345 <dependency>
Michal Kabaj22397032018-02-26 10:28:25 +0100346 <groupId>org.assertj</groupId>
347 <artifactId>assertj-core</artifactId>
348 <version>3.9.0</version>
349 <scope>test</scope>
350 </dependency>
351 <dependency>
352 <groupId>org.assertj</groupId>
353 <artifactId>assertj-guava</artifactId>
354 <version>3.1.0</version>
355 <scope>test</scope>
356 </dependency>
357 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800358 <groupId>ch.qos.logback</groupId>
359 <artifactId>logback-core</artifactId>
Taka Chobe88d832018-02-28 12:22:45 -0500360 <version>1.1.1</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800361 <scope>compile</scope>
362 </dependency>
363 <dependency>
364 <groupId>ch.qos.logback</groupId>
365 <artifactId>logback-classic</artifactId>
Taka Chobe88d832018-02-28 12:22:45 -0500366 <version>1.1.1</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800367 <scope>compile</scope>
368 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700369 <!-- <dependency> -->
370 <!-- <groupId>org.slf4j</groupId> -->
371 <!-- <artifactId>slf4j-api</artifactId> -->
372 <!-- <version>1.7.12</version> -->
373 <!-- </dependency> -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800374 <dependency>
375 <groupId>commons-lang</groupId>
376 <artifactId>commons-lang</artifactId>
377 <version>2.6</version>
378 </dependency>
379 <dependency>
380 <groupId>org.apache.sshd</groupId>
381 <artifactId>sshd-core</artifactId>
382 <version>0.12.0</version>
383 </dependency>
384 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800385 <groupId>org.mockito</groupId>
386 <artifactId>mockito-core</artifactId>
387 <version>1.10.19</version>
388 <scope>test</scope>
389 </dependency>
390 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800391 <groupId>com.att.cdp</groupId>
392 <artifactId>cdp-pal-common</artifactId>
393 <version>${cdp.pal.version}</version>
394 </dependency>
395 <dependency>
396 <groupId>com.att.cdp</groupId>
397 <artifactId>cdp-pal-openstack</artifactId>
398 <version>${cdp.pal.version}</version>
399 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800400 <dependency>
401 <groupId>com.att.authz</groupId>
402 <artifactId>authz-client</artifactId>
403 <version>2.3</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800404 </dependency>
405 <!-- EELF logging framework -->
406 <dependency>
407 <groupId>com.att.eelf</groupId>
408 <artifactId>eelf-core</artifactId>
409 <version>${eelf.version}</version>
410 </dependency>
Patrick Bradyac62a4a2017-09-13 00:11:21 -0700411 <!-- Maria DB -->
412 <dependency>
413 <groupId>org.mariadb.jdbc</groupId>
414 <artifactId>mariadb-java-client</artifactId>
415 <version>1.2.3</version>
416 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800417 </dependencies>
418 </dependencyManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700419
420
Patrick Brady57b5eef2017-02-10 15:00:49 -0800421 <!-- ================================================================================== -->
422 <!-- Define common plugins and make them available for all modules -->
423 <!-- ================================================================================== -->
424 <build>
425 <pluginManagement>
426 <plugins>
427 <!-- Define the site plugin to generate documentation -->
428 <plugin>
429 <groupId>org.apache.maven.plugins</groupId>
430 <artifactId>maven-site-plugin</artifactId>
431 <version>3.4</version>
432 <dependencies>
433 <!-- add support for ssh/scp -->
434 <dependency>
435 <groupId>org.apache.maven.wagon</groupId>
436 <artifactId>wagon-ssh</artifactId>
437 <version>1.0</version>
438 </dependency>
439 </dependencies>
440 </plugin>
441 <!-- Define the compiler plugin -->
442 <plugin>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-compiler-plugin</artifactId>
445 <version>${maven.compile.plugin.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800446 </plugin>
447 <!-- Define the javadoc plugin -->
448 <plugin>
449 <groupId>org.apache.maven.plugins</groupId>
450 <artifactId>maven-javadoc-plugin</artifactId>
451 <version>2.10</version>
452 <configuration>
Patrick Brady76706002017-09-04 21:37:25 -0700453 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800454 </configuration>
455 </plugin>
456 <!-- Define the source plugin -->
457 <plugin>
458 <artifactId>maven-source-plugin</artifactId>
459 <version>2.1.1</version>
460 </plugin>
461 <!-- Resources plugin -->
462 <plugin>
463 <groupId>org.apache.maven.plugins</groupId>
464 <artifactId>maven-resources-plugin</artifactId>
465 <version>2.6</version>
466 <executions>
467 <execution>
468 <id>filter</id>
469 <goals>
470 <goal>resources</goal>
471 </goals>
472 <phase>generate-resources</phase>
473 </execution>
474 </executions>
475 </plugin>
476 <plugin>
477 <artifactId>maven-release-plugin</artifactId>
478 <version>2.5.2</version>
479 <configuration>
480 <goals>-s ${mvn.settings} deploy</goals>
481 </configuration>
482 </plugin>
483 <plugin>
484 <artifactId>maven-assembly-plugin</artifactId>
485 <version>2.5.5</version>
486 </plugin>
487 <plugin>
488 <groupId>org.apache.maven.plugins</groupId>
489 <artifactId>maven-deploy-plugin</artifactId>
490 <version>2.8.1</version>
491 </plugin>
492 <plugin>
493 <groupId>org.apache.maven.plugins</groupId>
494 <artifactId>maven-dependency-plugin</artifactId>
495 <version>2.10</version>
496 </plugin>
497 <!-- Maven surefire plugin for testing -->
498 <plugin>
499 <artifactId>maven-surefire-plugin</artifactId>
500 <version>2.17</version>
501 </plugin>
502 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
503 <plugin>
504 <groupId>org.apache.felix</groupId>
505 <artifactId>maven-bundle-plugin</artifactId>
506 <version>${bundle.plugin.version}</version>
507 </plugin>
508 <plugin>
509 <groupId>org.codehaus.mojo</groupId>
510 <artifactId>build-helper-maven-plugin</artifactId>
511 <version>1.9.1</version>
512 </plugin>
Marcus G K Williams962f03b2017-08-18 15:03:51 -0700513 <plugin>
514 <groupId>org.sonarsource.scanner.maven</groupId>
515 <artifactId>sonar-maven-plugin</artifactId>
516 <version>3.2</version>
517 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800518 </plugins>
519 </pluginManagement>
520 <plugins>
Patrick Brady66384fa2017-09-10 20:12:40 -0700521 <!--maven staging plugin -->
522 <plugin>
523 <groupId>org.sonatype.plugins</groupId>
524 <artifactId>nexus-staging-maven-plugin</artifactId>
525 <version>1.6.7</version>
526 <extensions>true</extensions>
527 <configuration>
528 <nexusUrl>${onap.nexus.url}</nexusUrl>
529 <stagingProfileId>176c31dfe190a</stagingProfileId>
530 <serverId>ecomp-staging</serverId>
531 </configuration>
532 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800533 <!-- Javadocs Plugin -->
534 <plugin>
535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-site-plugin</artifactId>
537 <version>3.6</version>
538 <dependencies>
539 <dependency>
540 <groupId>org.apache.maven.wagon</groupId>
541 <artifactId>wagon-webdav-jackrabbit</artifactId>
542 <version>2.10</version>
543 </dependency>
544 </dependencies>
545 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800546 <plugin>
547 <groupId>org.codehaus.mojo</groupId>
548 <artifactId>properties-maven-plugin</artifactId>
549 <executions>
550 <execution>
551 <goals>
552 <goal>set-system-properties</goal>
553 </goals>
554 <configuration>
555 <properties>
556 <property>
557 <name>maven.wagon.http.ssl.allowall</name>
558 <value>${ssl.allowall}</value>
559 </property>
560 <property>
561 <name>maven.wagon.http.ssl.insecure</name>
562 <value>${ssl.insecure}</value>
563 </property>
564 </properties>
565 </configuration>
566 </execution>
567 </executions>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700568
Patrick Brady57b5eef2017-02-10 15:00:49 -0800569 </plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700570
Patrick Brady57b5eef2017-02-10 15:00:49 -0800571 <!-- blackduck maven plugin -->
Patrick Bradyc7d00752017-06-01 10:45:37 -0700572 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
573 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
574 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
575 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
576 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
577
beili.zhoufe0e9892017-08-10 14:54:42 -0400578 <!-- force Eclipse to skip the additional-install step specified in the
Patrick Bradyc7d00752017-06-01 10:45:37 -0700579 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800580 <plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-install-plugin</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800583 <executions>
584 <execution>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700585 <id>additional-install</id>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800586 <goals>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700587 <goal>install-file</goal>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800588 </goals>
589 </execution>
590 </executions>
591 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800592 </plugins>
593 </build>
Patrick Brady7a638b62017-03-30 11:04:22 -0700594
595
Patrick Brady57b5eef2017-02-10 15:00:49 -0800596 <!-- ================================================================================== -->
597 <!-- The modules we build every time -->
598 <!-- ================================================================================== -->
599 <modules>
600 <module>appc-common</module>
601 </modules>
602 <!-- Adding profiles for testing -->
603 <profiles>
604 <profile>
605 <id>appc-core</id>
606 <properties>
607 <ssl.allowall>true</ssl.allowall>
608 <ssl.insecure>true</ssl.insecure>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800609 <openecomp.git.port>7999</openecomp.git.port>
610 <openecomp.git.project>st_osecomp</openecomp.git.project>
611 <openecomp.git.protocol>http</openecomp.git.protocol>
612 </properties>
613 <!-- Core app-c from 1604 -->
614 <activation>
615 <activeByDefault>true</activeByDefault>
616 </activation>
617 <modules>
618 <module>appc-common</module>
619 <module>appc-adapters</module>
620 <module>appc-provider</module>
621 <module>appc-event-listener</module>
mojahidi3df31822017-08-29 18:20:26 +0530622 <module>appc-sdc-listener</module>
beili.zhoufe0e9892017-08-10 14:54:42 -0400623 <module>appc-lifecycle-management</module>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700624 <module>appc-oam</module>
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -0400625 <module>appc-config</module>
Skip Wonnellcf4b15a2017-08-15 21:18:04 -0500626 <module>appc-directed-graph</module>
Anand Chaturvedie178b072017-08-14 20:10:36 -0400627 <module>appc-outbound</module>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500628 <module>appc-inbound</module>
Kalpesh Chaniyara5b759092017-08-15 23:40:34 +0530629 <module>appc-sequence-generator</module>
Skip Wonnellabe94202017-08-29 22:39:17 -0500630 <module>appc-client</module>
Anand36bcd562018-01-04 19:35:51 -0500631 <module>appc-test-dependencies</module>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800632 </modules>
633 </profile>
634 <profile>
635 <id>request-dispatcher</id>
636 <properties>
637 <ssl.allowall>true</ssl.allowall>
638 <ssl.insecure>true</ssl.insecure>
639 </properties>
640 <activation>
641 <activeByDefault>true</activeByDefault>
642 </activation>
643 <modules>
644 <module>appc-dispatcher</module>
645 <module>appc-metric</module>
646 <module>appc-dg</module>
647 <module>appc-dg-util</module>
648 </modules>
649 </profile>
650 </profiles>
Patrick Brady9171e282017-02-21 13:20:34 -0800651</project>