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"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26 <groupId>org.onap.ccsdk.parent</groupId>
27 <artifactId>odlparent</artifactId>
28 <version>1.0.3</version>
32 <modelVersion>4.0.0</modelVersion>
33 <packaging>pom</packaging>
34 <groupId>org.onap.appc</groupId>
35 <artifactId>appc</artifactId>
36 <version>1.5.0-SNAPSHOT</version>
38 <description>Construct the Application Controller component for the ECOMP project.</description>
39 <inceptionYear>2015-07-20</inceptionYear>
41 <name>OpenECOMP</name>
45 <!-- ================================================================================== -->
46 <!-- Configuration properties -->
47 <!-- ================================================================================== -->
52 <cdp.pal.version>1.1.25.8-oss</cdp.pal.version>
53 <dmaap.client.version>1.1.5</dmaap.client.version>
54 <eelf.version>1.0.0</eelf.version>
55 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
56 <cadi-version>1.3.0</cadi-version>
57 <inno-version>1.2.11</inno-version>
58 <dme2-version>3.1.200</dme2-version>
59 <bundle.plugin.version>2.5.0</bundle.plugin.version>
60 <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>
63 <commons.lang3.version>3.4</commons.lang3.version>
64 <antlr.version>4.5.1</antlr.version>
65 <logback.version>1.2.0</logback.version>
66 <toscalib.version>1.1.0</toscalib.version>
67 <sdc-client.version>1.3.0</sdc-client.version>
68 <jackson.yml.version>2.3.2</jackson.yml.version>
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>
74 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
75 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
76 <sonar.projectVersion>${project.version}</sonar.projectVersion>
78 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
79 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
80 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
81 <yang.file.directory>src/main/yang</yang.file.directory>
82 <features.file>features.xml</features.file>
83 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
84 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
86 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
88 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
89 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
90 <!-- <ccsdk.sli.adaptors.version>${ccsdk.sli.adaptors.version}</ccsdk.sli.adaptors.version> -->
91 <commons.collections.version>3.2.2</commons.collections.version>
92 <odl.sal.api.gen.plugin.version>0.11.1</odl.sal.api.gen.plugin.version>
93 <odl.yangtools.version>1.2.1</odl.yangtools.version>
94 <odl.mdsal.yang.binding.version>0.11.1</odl.mdsal.yang.binding.version>
95 <odl.mdsal.version>1.6.1</odl.mdsal.version>
96 <odl.mdsal.features.version>2.3.1</odl.mdsal.features.version>
97 <odl.yang.jmx.generator.version>0.7.1</odl.yang.jmx.generator.version>
98 <odl.ietf-yang-types.version>2013.07.15.13.1</odl.ietf-yang-types.version>
99 <odl.ietf-inet-types.version>1.5.1</odl.ietf-inet-types.version>
100 <odl.controller.config.api.version>0.7.1</odl.controller.config.api.version>
101 <odl.commons.opendaylight.version>2.0.5</odl.commons.opendaylight.version>
102 <odl.karaf.empty.distro.version>1.8.3-Carbon</odl.karaf.empty.distro.version>
107 <!-- ================================================================================== -->
108 <!-- Javadoc Generation Plugin -->
109 <!-- ================================================================================== -->
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-javadoc-plugin</artifactId>
115 <version>2.10</version>
117 <excludePackageNames>org.onap.ccsdk.sli</excludePackageNames>
118 <failOnError>false</failOnError>
119 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
121 <groupId>org.umlgraph</groupId>
122 <artifactId>umlgraph</artifactId>
123 <version>5.6</version>
125 <additionalparam>-views</additionalparam>
126 <useStandardDocletOptions>true</useStandardDocletOptions>
133 <!-- ================================================================================== -->
134 <!-- Distribution Management Sites -->
135 <!-- ================================================================================== -->
136 <distributionManagement>
137 <!-- This site is used for Javadocs -->
140 <url>dav:${onap.nexus.url}/content/sites/site/org/onap/appc/${project.version}</url>
143 <id>ecomp-releases</id>
144 <name>openecomp-repository-releases</name>
145 <url>${onap.nexus.url}/content/repositories/releases</url>
148 <id>ecomp-snapshots</id>
149 <name>openecomp-repository-snapshots</name>
150 <url>${onap.nexus.url}/content/repositories/snapshots</url>
151 </snapshotRepository>
152 </distributionManagement>
155 <!-- ================================================================================== -->
156 <!-- Define plugin repositories -->
157 <!-- ================================================================================== -->
160 <id>opendaylight-mirror</id>
161 <name>opendaylight-mirror</name>
162 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
164 <enabled>true</enabled>
165 <updatePolicy>never</updatePolicy>
168 <enabled>false</enabled>
172 <id>opendaylight-snapshot</id>
173 <name>opendaylight-snapshot</name>
174 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
176 <enabled>false</enabled>
179 <enabled>true</enabled>
182 <!-- Black Duck plugin dependencies -->
185 <name>JCenter Repository</name>
186 <url>http://jcenter.bintray.com</url>
190 <name>Restlet Repository</name>
191 <url>http://maven.restlet.com</url>
193 </pluginRepositories>
196 <!-- ================================================================================== -->
197 <!-- Define project-wide dependencies -->
198 <!-- ================================================================================== -->
199 <dependencyManagement>
202 <groupId>com.google.guava</groupId>
203 <artifactId>guava</artifactId>
204 <version>22.0</version>
207 <groupId>com.google.guava</groupId>
208 <artifactId>guava-testlib</artifactId>
209 <version>22.0</version>
213 <groupId>org.opendaylight.controller</groupId>
214 <artifactId>config-api</artifactId>
215 <version>${odl.controller.config.api.version}</version>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>sal-binding-config</artifactId>
220 <version>${odl.mdsal.version}</version>
223 <groupId>org.opendaylight.controller</groupId>
224 <artifactId>sal-binding-api</artifactId>
225 <version>${odl.mdsal.version}</version>
228 <groupId>org.opendaylight.controller</groupId>
229 <artifactId>sal-test-model</artifactId>
230 <version>${odl.mdsal.version}</version>
233 <groupId>org.opendaylight.controller</groupId>
234 <artifactId>sal-binding-broker-impl</artifactId>
235 <version>${odl.mdsal.version}</version>
238 <groupId>org.opendaylight.controller</groupId>
239 <artifactId>sal-common-util</artifactId>
240 <version>${odl.mdsal.version}</version>
243 <groupId>org.opendaylight.mdsal</groupId>
244 <artifactId>yang-binding</artifactId>
245 <version>${odl.mdsal.yang.binding.version}</version>
248 <groupId>org.opendaylight.yangtools</groupId>
249 <artifactId>yang-common</artifactId>
250 <version>${odl.yangtools.version}</version>
253 <groupId>org.opendaylight.controller</groupId>
254 <artifactId>features-mdsal</artifactId>
255 <version>${odl.mdsal.features.version}</version>
256 <classifier>features</classifier>
260 <groupId>org.opendaylight.mdsal</groupId>
261 <artifactId>features-mdsal</artifactId>
262 <version>${odl.mdsal.features.version}</version>
263 <classifier>features</classifier>
267 <groupId>org.opendaylight.controller</groupId>
268 <artifactId>opendaylight-karaf-empty</artifactId>
269 <version>${odl.karaf.empty.distro.version}</version>
273 <groupId>org.opendaylight.mdsal.model</groupId>
274 <artifactId>ietf-inet-types-2013-07-15</artifactId>
275 <version>${odl.ietf-inet-types.version}</version>
278 <groupId>org.opendaylight.mdsal.model</groupId>
279 <artifactId>ietf-yang-types-20130715</artifactId>
280 <version>${odl.ietf-yang-types.version}</version>
282 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
283 <!-- Required for launching the feature tests -->
284 <!-- <dependency> -->
285 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
286 <!-- <artifactId>features-test</artifactId> -->
287 <!-- <scope>test</scope> -->
288 <!-- </dependency> -->
292 <groupId>org.opendaylight.yangtools</groupId>
293 <artifactId>features-yangtools</artifactId>
294 <version>${odl.yangtools.version}</version>
295 <classifier>features</classifier>
300 <groupId>org.onap.ccsdk.sli.core</groupId>
301 <artifactId>sli-common</artifactId>
302 <version>${sdnctl.sli.version}</version>
305 <groupId>org.onap.ccsdk.sli.core</groupId>
306 <artifactId>sli-provider</artifactId>
307 <version>${sdnctl.sli.version}</version>
311 <groupId>org.onap.ccsdk.sli.core</groupId>
312 <artifactId>dblib-provider</artifactId>
313 <version>${sdnctl.dblib.version}</version>
315 <!-- A&AI service provider dependency override in order to use a stable
318 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
319 <artifactId>aai-service-provider</artifactId>
320 <version>${sdnctl.aai.service.version}</version>
324 <groupId>org.onap.appc</groupId>
325 <artifactId>appc-controller-features</artifactId>
326 <classifier>features</classifier>
328 <version>${project.version}</version>
331 <groupId>org.onap.appc</groupId>
332 <artifactId>appc-controller-model</artifactId>
333 <version>${project.version}</version>
336 <groupId>org.onap.appc</groupId>
337 <artifactId>appc-controller-bundle</artifactId>
338 <version>${project.version}</version>
339 <classifier>config</classifier>
343 <groupId>org.onap.appc</groupId>
344 <artifactId>appc-controller-bundle</artifactId>
345 <version>${project.version}</version>
349 <groupId>equinoxSDK381</groupId>
350 <artifactId>org.eclipse.osgi</artifactId>
351 <version>${equinox.osgi.version}</version>
354 <groupId>org.apache.commons</groupId>
355 <artifactId>commons-lang3</artifactId>
356 <version>${commons.lang3.version}</version>
359 <groupId>junit</groupId>
360 <artifactId>junit</artifactId>
361 <version>4.12</version>
365 <groupId>org.assertj</groupId>
366 <artifactId>assertj-core</artifactId>
367 <version>3.9.0</version>
371 <groupId>org.assertj</groupId>
372 <artifactId>assertj-guava</artifactId>
373 <version>3.1.0</version>
377 <groupId>ch.qos.logback</groupId>
378 <artifactId>logback-core</artifactId>
379 <version>${logback.version}</version>
380 <scope>compile</scope>
383 <groupId>ch.qos.logback</groupId>
384 <artifactId>logback-classic</artifactId>
385 <version>${logback.version}</version>
386 <scope>compile</scope>
388 <!-- <dependency> -->
389 <!-- <groupId>org.slf4j</groupId> -->
390 <!-- <artifactId>slf4j-api</artifactId> -->
391 <!-- <version>1.7.12</version> -->
392 <!-- </dependency> -->
394 <groupId>commons-lang</groupId>
395 <artifactId>commons-lang</artifactId>
396 <version>2.6</version>
399 <groupId>org.apache.sshd</groupId>
400 <artifactId>sshd-core</artifactId>
401 <version>2.0.0</version>
404 <groupId>org.apache.sshd</groupId>
405 <artifactId>sshd-sftp</artifactId>
406 <version>2.0.0</version>
409 <groupId>org.apache.sshd</groupId>
410 <artifactId>sshd-scp</artifactId>
411 <version>2.0.0</version>
414 <groupId>org.mockito</groupId>
415 <artifactId>mockito-core</artifactId>
416 <version>1.10.19</version>
420 <groupId>com.att.cdp</groupId>
421 <artifactId>cdp-pal-common</artifactId>
422 <version>${cdp.pal.version}</version>
425 <groupId>com.att.cdp</groupId>
426 <artifactId>cdp-pal-openstack</artifactId>
427 <version>${cdp.pal.version}</version>
430 <groupId>com.att.authz</groupId>
431 <artifactId>authz-client</artifactId>
432 <version>2.3</version>
434 <!-- EELF logging framework -->
436 <groupId>com.att.eelf</groupId>
437 <artifactId>eelf-core</artifactId>
438 <version>${eelf.version}</version>
442 <groupId>org.mariadb.jdbc</groupId>
443 <artifactId>mariadb-java-client</artifactId>
444 <version>2.1.1</version>
447 </dependencyManagement>
450 <groupId>org.apache.commons</groupId>
451 <artifactId>commons-lang3</artifactId>
456 <!-- ================================================================================== -->
457 <!-- Define common plugins and make them available for all modules -->
458 <!-- ================================================================================== -->
462 <!-- Define the site plugin to generate documentation -->
464 <groupId>org.apache.maven.plugins</groupId>
465 <artifactId>maven-site-plugin</artifactId>
466 <version>3.4</version>
468 <!-- add support for ssh/scp -->
470 <groupId>org.apache.maven.wagon</groupId>
471 <artifactId>wagon-ssh</artifactId>
472 <version>1.0</version>
476 <!-- Define the compiler plugin -->
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-compiler-plugin</artifactId>
480 <version>${maven.compile.plugin.version}</version>
482 <!-- Define the javadoc plugin -->
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-javadoc-plugin</artifactId>
486 <version>2.10</version>
488 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
491 <!-- Define the source plugin -->
493 <artifactId>maven-source-plugin</artifactId>
494 <version>2.1.1</version>
496 <!-- Resources plugin -->
498 <groupId>org.apache.maven.plugins</groupId>
499 <artifactId>maven-resources-plugin</artifactId>
500 <version>2.6</version>
505 <goal>resources</goal>
507 <phase>generate-resources</phase>
512 <artifactId>maven-release-plugin</artifactId>
513 <version>2.5.2</version>
515 <goals>-s ${mvn.settings} deploy</goals>
519 <artifactId>maven-assembly-plugin</artifactId>
520 <version>2.5.5</version>
523 <groupId>org.apache.maven.plugins</groupId>
524 <artifactId>maven-deploy-plugin</artifactId>
525 <version>2.8.1</version>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-dependency-plugin</artifactId>
530 <version>2.10</version>
532 <!-- Maven surefire plugin for testing -->
534 <artifactId>maven-surefire-plugin</artifactId>
535 <version>2.17</version>
537 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
539 <groupId>org.apache.felix</groupId>
540 <artifactId>maven-bundle-plugin</artifactId>
541 <version>${bundle.plugin.version}</version>
544 <groupId>org.codehaus.mojo</groupId>
545 <artifactId>build-helper-maven-plugin</artifactId>
546 <version>1.9.1</version>
549 <groupId>org.sonarsource.scanner.maven</groupId>
550 <artifactId>sonar-maven-plugin</artifactId>
551 <version>3.2</version>
556 <!--maven staging plugin -->
558 <groupId>org.sonatype.plugins</groupId>
559 <artifactId>nexus-staging-maven-plugin</artifactId>
560 <version>1.6.7</version>
561 <extensions>true</extensions>
563 <nexusUrl>${onap.nexus.url}</nexusUrl>
564 <stagingProfileId>176c31dfe190a</stagingProfileId>
565 <serverId>ecomp-staging</serverId>
568 <!-- Javadocs Plugin -->
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-site-plugin</artifactId>
572 <version>3.6</version>
575 <groupId>org.apache.maven.wagon</groupId>
576 <artifactId>wagon-webdav-jackrabbit</artifactId>
577 <version>2.10</version>
582 <groupId>org.codehaus.mojo</groupId>
583 <artifactId>properties-maven-plugin</artifactId>
587 <goal>set-system-properties</goal>
592 <name>maven.wagon.http.ssl.allowall</name>
593 <value>${ssl.allowall}</value>
596 <name>maven.wagon.http.ssl.insecure</name>
597 <value>${ssl.insecure}</value>
606 <!-- blackduck maven plugin -->
607 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
608 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
609 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
610 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
611 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
613 <!-- force Eclipse to skip the additional-install step specified in the
614 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-install-plugin</artifactId>
620 <id>additional-install</id>
622 <goal>install-file</goal>
631 <!-- ================================================================================== -->
632 <!-- The modules we build every time -->
633 <!-- ================================================================================== -->
635 <module>appc-core</module>
637 <!-- Adding profiles for testing -->
642 <ssl.allowall>true</ssl.allowall>
643 <ssl.insecure>true</ssl.insecure>
644 <openecomp.git.port>7999</openecomp.git.port>
645 <openecomp.git.project>st_osecomp</openecomp.git.project>
646 <openecomp.git.protocol>http</openecomp.git.protocol>
648 <!-- Core app-c from 1604 -->
650 <activeByDefault>true</activeByDefault>
653 <module>appc-adapters</module>
654 <module>appc-provider</module>
655 <module>appc-event-listener</module>
656 <module>appc-sdc-listener</module>
657 <module>appc-lifecycle-management</module>
658 <module>appc-oam</module>
659 <module>appc-config</module>
660 <module>appc-directed-graph</module>
661 <module>appc-outbound</module>
662 <module>appc-inbound</module>
663 <module>appc-sequence-generator</module>
664 <module>appc-client</module>
665 <module>appc-test-dependencies</module>
669 <id>request-dispatcher</id>
671 <ssl.allowall>true</ssl.allowall>
672 <ssl.insecure>true</ssl.insecure>
675 <activeByDefault>true</activeByDefault>
678 <module>appc-dispatcher</module>
679 <module>appc-metric</module>
680 <module>appc-dg</module>
681 <module>appc-dg-util</module>