1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017-2019 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.
21 ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25 <groupId>org.onap.ccsdk.parent</groupId>
26 <artifactId>odlparent</artifactId>
27 <version>1.3.2</version>
31 <modelVersion>4.0.0</modelVersion>
32 <packaging>pom</packaging>
33 <groupId>org.onap.appc</groupId>
34 <artifactId>appc</artifactId>
35 <version>1.7.0-SNAPSHOT</version>
37 <description>Construct the Application Controller component for the ECOMP project.</description>
38 <inceptionYear>2015-07-20</inceptionYear>
40 <name>OpenECOMP</name>
44 <!-- ================================================================================== -->
45 <!-- Configuration properties -->
46 <!-- ================================================================================== -->
51 <cdp.pal.version>1.1.25.8-oss</cdp.pal.version>
52 <dmaap.client.version>1.1.5</dmaap.client.version>
53 <eelf.version>1.0.0</eelf.version>
54 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
55 <cadi-version>1.3.0</cadi-version>
56 <inno-version>1.2.11</inno-version>
57 <dme2-version>3.1.200</dme2-version>
58 <bundle.plugin.version>2.5.0</bundle.plugin.version>
59 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
60 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
61 <apache.httpcomponents.version>4.4</apache.httpcomponents.version>
62 <commons.lang3.version>3.4</commons.lang3.version>
63 <antlr.version>4.5.1</antlr.version>
64 <logback.version>1.2.0</logback.version>
65 <sdc-client.version>1.3.0</sdc-client.version>
66 <jackson.yml.version>2.3.2</jackson.yml.version>
69 <sonar.language>java</sonar.language>
70 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
71 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
72 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
73 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
74 <sonar.projectVersion>${project.version}</sonar.projectVersion>
76 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
77 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
78 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
79 <yang.file.directory>src/main/yang</yang.file.directory>
80 <features.file>features.xml</features.file>
81 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
82 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
84 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
86 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
87 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
88 <!-- <ccsdk.sli.adaptors.version>${ccsdk.sli.adaptors.version}</ccsdk.sli.adaptors.version> -->
89 <commons.collections.version>3.2.2</commons.collections.version>
90 <odl.sal.api.gen.plugin.version>0.11.1</odl.sal.api.gen.plugin.version>
91 <odl.yangtools.version>1.2.1</odl.yangtools.version>
92 <odl.mdsal.yang.binding.version>0.11.1</odl.mdsal.yang.binding.version>
93 <odl.mdsal.version>1.6.1</odl.mdsal.version>
94 <odl.mdsal.features.version>2.3.1</odl.mdsal.features.version>
95 <odl.yang.jmx.generator.version>0.7.1</odl.yang.jmx.generator.version>
96 <odl.ietf-yang-types.version>2013.07.15.13.1</odl.ietf-yang-types.version>
97 <odl.ietf-inet-types.version>1.5.1</odl.ietf-inet-types.version>
98 <odl.controller.config.api.version>0.7.1</odl.controller.config.api.version>
99 <odl.commons.opendaylight.version>2.0.5</odl.commons.opendaylight.version>
104 <!-- ================================================================================== -->
105 <!-- Javadoc Generation Plugin -->
106 <!-- ================================================================================== -->
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-javadoc-plugin</artifactId>
112 <version>2.10</version>
114 <excludePackageNames>org.onap.ccsdk.sli</excludePackageNames>
115 <failOnError>false</failOnError>
116 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
118 <groupId>org.umlgraph</groupId>
119 <artifactId>umlgraph</artifactId>
120 <version>5.6</version>
122 <additionalparam>-views</additionalparam>
123 <useStandardDocletOptions>true</useStandardDocletOptions>
130 <!-- ================================================================================== -->
131 <!-- Distribution Management Sites -->
132 <!-- ================================================================================== -->
133 <distributionManagement>
134 <!-- This site is used for Javadocs -->
137 <url>dav:${onap.nexus.url}/content/sites/site/org/onap/appc/${project.version}</url>
140 <id>ecomp-releases</id>
141 <name>openecomp-repository-releases</name>
142 <url>${onap.nexus.url}/content/repositories/releases</url>
145 <id>ecomp-snapshots</id>
146 <name>openecomp-repository-snapshots</name>
147 <url>${onap.nexus.url}/content/repositories/snapshots</url>
148 </snapshotRepository>
149 </distributionManagement>
152 <!-- ================================================================================== -->
153 <!-- Define plugin repositories -->
154 <!-- ================================================================================== -->
157 <id>opendaylight-mirror</id>
158 <name>opendaylight-mirror</name>
159 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
161 <enabled>true</enabled>
162 <updatePolicy>never</updatePolicy>
165 <enabled>false</enabled>
169 <id>opendaylight-snapshot</id>
170 <name>opendaylight-snapshot</name>
171 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
173 <enabled>false</enabled>
176 <enabled>true</enabled>
179 <!-- Black Duck plugin dependencies -->
182 <name>JCenter Repository</name>
183 <url>http://jcenter.bintray.com</url>
187 <name>Restlet Repository</name>
188 <url>http://maven.restlet.com</url>
190 </pluginRepositories>
193 <!-- ================================================================================== -->
194 <!-- Define project-wide dependencies -->
195 <!-- ================================================================================== -->
196 <dependencyManagement>
199 <groupId>com.google.guava</groupId>
200 <artifactId>guava</artifactId>
201 <version>22.0</version>
204 <groupId>com.google.guava</groupId>
205 <artifactId>guava-testlib</artifactId>
206 <version>22.0</version>
210 <groupId>org.opendaylight.controller</groupId>
211 <artifactId>config-api</artifactId>
212 <version>${odl.controller.config.api.version}</version>
215 <groupId>org.opendaylight.controller</groupId>
216 <artifactId>sal-binding-config</artifactId>
217 <version>${odl.mdsal.version}</version>
220 <groupId>org.opendaylight.controller</groupId>
221 <artifactId>sal-test-model</artifactId>
222 <version>${odl.mdsal.version}</version>
225 <groupId>org.opendaylight.controller</groupId>
226 <artifactId>sal-binding-broker-impl</artifactId>
227 <version>${odl.mdsal.version}</version>
230 <groupId>org.opendaylight.controller</groupId>
231 <artifactId>sal-common-util</artifactId>
232 <version>${odl.mdsal.version}</version>
235 <groupId>org.opendaylight.mdsal</groupId>
236 <artifactId>yang-binding</artifactId>
237 <version>${odl.mdsal.yang.binding.version}</version>
240 <groupId>org.opendaylight.yangtools</groupId>
241 <artifactId>yang-common</artifactId>
242 <version>${odl.yangtools.version}</version>
245 <groupId>org.opendaylight.controller</groupId>
246 <artifactId>features-mdsal</artifactId>
247 <version>${odl.mdsal.features.version}</version>
248 <classifier>features</classifier>
252 <groupId>org.opendaylight.mdsal</groupId>
253 <artifactId>features-mdsal</artifactId>
254 <version>${odl.mdsal.features.version}</version>
255 <classifier>features</classifier>
259 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
260 <artifactId>rfc6991</artifactId>
264 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
265 <!-- Required for launching the feature tests -->
266 <!-- <dependency> -->
267 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
268 <!-- <artifactId>features-test</artifactId> -->
269 <!-- <scope>test</scope> -->
270 <!-- </dependency> -->
274 <groupId>org.opendaylight.yangtools</groupId>
275 <artifactId>features-yangtools</artifactId>
276 <version>${odl.yangtools.version}</version>
277 <classifier>features</classifier>
282 <groupId>org.onap.ccsdk.sli.core</groupId>
283 <artifactId>sli-common</artifactId>
284 <version>${sdnctl.sli.version}</version>
287 <groupId>org.onap.ccsdk.sli.core</groupId>
288 <artifactId>sli-provider</artifactId>
289 <version>${sdnctl.sli.version}</version>
293 <groupId>org.onap.ccsdk.sli.core</groupId>
294 <artifactId>dblib-provider</artifactId>
295 <version>${sdnctl.dblib.version}</version>
297 <!-- A&AI service provider dependency override in order to use a stable
300 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
301 <artifactId>aai-service-provider</artifactId>
302 <version>${sdnctl.aai.service.version}</version>
306 <groupId>org.onap.appc</groupId>
307 <artifactId>appc-controller-features</artifactId>
308 <classifier>features</classifier>
310 <version>${project.version}</version>
313 <groupId>org.onap.appc</groupId>
314 <artifactId>appc-controller-model</artifactId>
315 <version>${project.version}</version>
318 <groupId>org.onap.appc</groupId>
319 <artifactId>appc-controller-bundle</artifactId>
320 <version>${project.version}</version>
321 <classifier>config</classifier>
325 <groupId>org.onap.appc</groupId>
326 <artifactId>appc-controller-bundle</artifactId>
327 <version>${project.version}</version>
331 <groupId>equinoxSDK381</groupId>
332 <artifactId>org.eclipse.osgi</artifactId>
333 <version>${equinox.osgi.version}</version>
336 <groupId>org.apache.commons</groupId>
337 <artifactId>commons-lang3</artifactId>
338 <version>${commons.lang3.version}</version>
341 <groupId>junit</groupId>
342 <artifactId>junit</artifactId>
343 <version>4.12</version>
347 <groupId>org.assertj</groupId>
348 <artifactId>assertj-core</artifactId>
349 <version>3.9.0</version>
353 <groupId>org.assertj</groupId>
354 <artifactId>assertj-guava</artifactId>
355 <version>3.1.0</version>
359 <groupId>ch.qos.logback</groupId>
360 <artifactId>logback-core</artifactId>
361 <version>${logback.version}</version>
362 <scope>compile</scope>
365 <groupId>ch.qos.logback</groupId>
366 <artifactId>logback-classic</artifactId>
367 <version>${logback.version}</version>
368 <scope>compile</scope>
370 <!-- <dependency> -->
371 <!-- <groupId>org.slf4j</groupId> -->
372 <!-- <artifactId>slf4j-api</artifactId> -->
373 <!-- <version>1.7.12</version> -->
374 <!-- </dependency> -->
376 <groupId>commons-lang</groupId>
377 <artifactId>commons-lang</artifactId>
378 <version>2.6</version>
381 <groupId>org.apache.sshd</groupId>
382 <artifactId>sshd-core</artifactId>
383 <version>2.0.0</version>
386 <groupId>org.apache.sshd</groupId>
387 <artifactId>sshd-sftp</artifactId>
388 <version>2.0.0</version>
391 <groupId>org.apache.sshd</groupId>
392 <artifactId>sshd-scp</artifactId>
393 <version>2.0.0</version>
396 <groupId>org.mockito</groupId>
397 <artifactId>mockito-core</artifactId>
398 <version>1.10.19</version>
402 <groupId>com.att.cdp</groupId>
403 <artifactId>cdp-pal-common</artifactId>
404 <version>${cdp.pal.version}</version>
407 <groupId>com.att.cdp</groupId>
408 <artifactId>cdp-pal-openstack</artifactId>
409 <version>${cdp.pal.version}</version>
412 <groupId>com.att.authz</groupId>
413 <artifactId>authz-client</artifactId>
414 <version>2.3</version>
416 <!-- EELF logging framework -->
418 <groupId>com.att.eelf</groupId>
419 <artifactId>eelf-core</artifactId>
420 <version>${eelf.version}</version>
424 <groupId>org.mariadb.jdbc</groupId>
425 <artifactId>mariadb-java-client</artifactId>
426 <version>2.1.1</version>
429 </dependencyManagement>
432 <groupId>org.apache.commons</groupId>
433 <artifactId>commons-lang3</artifactId>
438 <!-- ================================================================================== -->
439 <!-- Define common plugins and make them available for all modules -->
440 <!-- ================================================================================== -->
444 <!-- Define the site plugin to generate documentation -->
446 <groupId>org.apache.maven.plugins</groupId>
447 <artifactId>maven-site-plugin</artifactId>
448 <version>3.4</version>
450 <!-- add support for ssh/scp -->
452 <groupId>org.apache.maven.wagon</groupId>
453 <artifactId>wagon-ssh</artifactId>
454 <version>1.0</version>
458 <!-- Define the compiler plugin -->
460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-compiler-plugin</artifactId>
462 <version>${maven.compile.plugin.version}</version>
464 <!-- Define the javadoc plugin -->
466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-javadoc-plugin</artifactId>
468 <version>2.10</version>
470 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
473 <!-- Define the source plugin -->
475 <artifactId>maven-source-plugin</artifactId>
476 <version>2.1.1</version>
478 <!-- Resources plugin -->
480 <groupId>org.apache.maven.plugins</groupId>
481 <artifactId>maven-resources-plugin</artifactId>
482 <version>2.6</version>
487 <goal>resources</goal>
489 <phase>generate-resources</phase>
494 <artifactId>maven-release-plugin</artifactId>
495 <version>2.5.2</version>
497 <goals>-s ${mvn.settings} deploy</goals>
501 <artifactId>maven-assembly-plugin</artifactId>
502 <version>2.5.5</version>
505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-deploy-plugin</artifactId>
507 <version>2.8.1</version>
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-dependency-plugin</artifactId>
512 <version>2.10</version>
514 <!-- Maven surefire plugin for testing -->
516 <artifactId>maven-surefire-plugin</artifactId>
517 <version>2.17</version>
519 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
521 <groupId>org.apache.felix</groupId>
522 <artifactId>maven-bundle-plugin</artifactId>
523 <version>${bundle.plugin.version}</version>
526 <groupId>org.codehaus.mojo</groupId>
527 <artifactId>build-helper-maven-plugin</artifactId>
528 <version>1.9.1</version>
531 <groupId>org.sonarsource.scanner.maven</groupId>
532 <artifactId>sonar-maven-plugin</artifactId>
533 <version>3.2</version>
538 <!-- Javadocs Plugin -->
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-site-plugin</artifactId>
542 <version>3.6</version>
545 <groupId>org.apache.maven.wagon</groupId>
546 <artifactId>wagon-webdav-jackrabbit</artifactId>
547 <version>2.10</version>
552 <groupId>org.codehaus.mojo</groupId>
553 <artifactId>properties-maven-plugin</artifactId>
557 <goal>set-system-properties</goal>
562 <name>maven.wagon.http.ssl.allowall</name>
563 <value>${ssl.allowall}</value>
566 <name>maven.wagon.http.ssl.insecure</name>
567 <value>${ssl.insecure}</value>
576 <!-- blackduck maven plugin -->
577 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
578 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
579 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
580 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
581 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
583 <!-- force Eclipse to skip the additional-install step specified in the
584 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-install-plugin</artifactId>
590 <id>additional-install</id>
592 <goal>install-file</goal>
601 <!-- ================================================================================== -->
602 <!-- The modules we build every time -->
603 <!-- ================================================================================== -->
605 <module>appc-core</module>
607 <!-- Adding profiles for testing -->
612 <ssl.allowall>true</ssl.allowall>
613 <ssl.insecure>true</ssl.insecure>
614 <openecomp.git.port>7999</openecomp.git.port>
615 <openecomp.git.project>st_osecomp</openecomp.git.project>
616 <openecomp.git.protocol>http</openecomp.git.protocol>
618 <!-- Core app-c from 1604 -->
620 <activeByDefault>true</activeByDefault>
623 <module>appc-adapters</module>
624 <module>appc-provider</module>
625 <module>appc-event-listener</module>
626 <module>appc-sdc-listener</module>
627 <module>appc-lifecycle-management</module>
628 <module>appc-oam</module>
629 <module>appc-config</module>
630 <module>appc-directed-graph</module>
631 <module>appc-outbound</module>
632 <module>appc-inbound</module>
633 <module>appc-sequence-generator</module>
634 <!-- <module>appc-client</module> -->
638 <id>request-dispatcher</id>
640 <ssl.allowall>true</ssl.allowall>
641 <ssl.insecure>true</ssl.insecure>
644 <activeByDefault>true</activeByDefault>
647 <module>appc-dispatcher</module>
648 <module>appc-metric</module>
649 <module>appc-dg</module>
650 <module>appc-dg-util</module>