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.5.1</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.2-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.coverage.jacoco.xmlReportPaths>
71 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
72 </sonar.coverage.jacoco.xmlReportPaths>
73 <sonar.projectVersion>${project.version}</sonar.projectVersion>
74 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
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>
127 <groupId>org.jacoco</groupId>
128 <artifactId>jacoco-maven-plugin</artifactId>
132 <!-- select non-aggregate reports -->
133 <report>report</report>
142 <!-- ================================================================================== -->
143 <!-- Distribution Management Sites -->
144 <!-- ================================================================================== -->
145 <distributionManagement>
146 <!-- This site is used for Javadocs -->
149 <url>dav:${onap.nexus.url}/content/sites/site/org/onap/appc/${project.version}</url>
152 <id>ecomp-releases</id>
153 <name>openecomp-repository-releases</name>
154 <url>${onap.nexus.url}/content/repositories/releases</url>
157 <id>ecomp-snapshots</id>
158 <name>openecomp-repository-snapshots</name>
159 <url>${onap.nexus.url}/content/repositories/snapshots</url>
160 </snapshotRepository>
161 </distributionManagement>
164 <!-- ================================================================================== -->
165 <!-- Define plugin repositories -->
166 <!-- ================================================================================== -->
169 <id>opendaylight-mirror</id>
170 <name>opendaylight-mirror</name>
171 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
173 <enabled>true</enabled>
174 <updatePolicy>never</updatePolicy>
177 <enabled>false</enabled>
181 <id>opendaylight-snapshot</id>
182 <name>opendaylight-snapshot</name>
183 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
185 <enabled>false</enabled>
188 <enabled>true</enabled>
191 <!-- Black Duck plugin dependencies -->
194 <name>JCenter Repository</name>
195 <url>http://jcenter.bintray.com</url>
199 <name>Restlet Repository</name>
200 <url>http://maven.restlet.com</url>
202 </pluginRepositories>
205 <!-- ================================================================================== -->
206 <!-- Define project-wide dependencies -->
207 <!-- ================================================================================== -->
208 <dependencyManagement>
211 <groupId>com.google.guava</groupId>
212 <artifactId>guava</artifactId>
213 <version>22.0</version>
216 <groupId>com.google.guava</groupId>
217 <artifactId>guava-testlib</artifactId>
218 <version>22.0</version>
222 <groupId>org.opendaylight.controller</groupId>
223 <artifactId>config-api</artifactId>
224 <version>${odl.controller.config.api.version}</version>
227 <groupId>org.opendaylight.controller</groupId>
228 <artifactId>sal-binding-config</artifactId>
229 <version>${odl.mdsal.version}</version>
232 <groupId>org.opendaylight.controller</groupId>
233 <artifactId>sal-test-model</artifactId>
234 <version>${odl.mdsal.version}</version>
237 <groupId>org.opendaylight.controller</groupId>
238 <artifactId>sal-binding-broker-impl</artifactId>
239 <version>${odl.mdsal.version}</version>
242 <groupId>org.opendaylight.controller</groupId>
243 <artifactId>sal-common-util</artifactId>
244 <version>${odl.mdsal.version}</version>
247 <groupId>org.opendaylight.mdsal</groupId>
248 <artifactId>yang-binding</artifactId>
249 <version>${odl.mdsal.yang.binding.version}</version>
252 <groupId>org.opendaylight.yangtools</groupId>
253 <artifactId>yang-common</artifactId>
254 <version>${odl.yangtools.version}</version>
257 <groupId>org.opendaylight.controller</groupId>
258 <artifactId>features-mdsal</artifactId>
259 <version>${odl.mdsal.features.version}</version>
260 <classifier>features</classifier>
264 <groupId>org.opendaylight.mdsal</groupId>
265 <artifactId>features-mdsal</artifactId>
266 <version>${odl.mdsal.features.version}</version>
267 <classifier>features</classifier>
271 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
272 <artifactId>rfc6991</artifactId>
276 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
277 <!-- Required for launching the feature tests -->
278 <!-- <dependency> -->
279 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
280 <!-- <artifactId>features-test</artifactId> -->
281 <!-- <scope>test</scope> -->
282 <!-- </dependency> -->
286 <groupId>org.opendaylight.yangtools</groupId>
287 <artifactId>features-yangtools</artifactId>
288 <version>${odl.yangtools.version}</version>
289 <classifier>features</classifier>
294 <groupId>org.onap.ccsdk.sli.core</groupId>
295 <artifactId>sli-common</artifactId>
296 <version>${sdnctl.sli.version}</version>
299 <groupId>org.onap.ccsdk.sli.core</groupId>
300 <artifactId>sli-provider</artifactId>
301 <version>${sdnctl.sli.version}</version>
305 <groupId>org.onap.ccsdk.sli.core</groupId>
306 <artifactId>dblib-provider</artifactId>
307 <version>${sdnctl.dblib.version}</version>
309 <!-- A&AI service provider dependency override in order to use a stable
312 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
313 <artifactId>aai-service-provider</artifactId>
314 <version>${sdnctl.aai.service.version}</version>
318 <groupId>org.onap.appc</groupId>
319 <artifactId>appc-controller-features</artifactId>
320 <classifier>features</classifier>
322 <version>${project.version}</version>
325 <groupId>org.onap.appc</groupId>
326 <artifactId>appc-controller-model</artifactId>
327 <version>${project.version}</version>
330 <groupId>org.onap.appc</groupId>
331 <artifactId>appc-controller-bundle</artifactId>
332 <version>${project.version}</version>
333 <classifier>config</classifier>
337 <groupId>org.onap.appc</groupId>
338 <artifactId>appc-controller-bundle</artifactId>
339 <version>${project.version}</version>
343 <groupId>equinoxSDK381</groupId>
344 <artifactId>org.eclipse.osgi</artifactId>
345 <version>${equinox.osgi.version}</version>
348 <groupId>org.apache.commons</groupId>
349 <artifactId>commons-lang3</artifactId>
350 <version>${commons.lang3.version}</version>
353 <groupId>junit</groupId>
354 <artifactId>junit</artifactId>
355 <version>4.12</version>
359 <groupId>org.assertj</groupId>
360 <artifactId>assertj-core</artifactId>
361 <version>3.9.0</version>
365 <groupId>org.assertj</groupId>
366 <artifactId>assertj-guava</artifactId>
367 <version>3.1.0</version>
371 <groupId>ch.qos.logback</groupId>
372 <artifactId>logback-core</artifactId>
373 <version>${logback.version}</version>
374 <scope>compile</scope>
377 <groupId>ch.qos.logback</groupId>
378 <artifactId>logback-classic</artifactId>
379 <version>${logback.version}</version>
380 <scope>compile</scope>
382 <!-- <dependency> -->
383 <!-- <groupId>org.slf4j</groupId> -->
384 <!-- <artifactId>slf4j-api</artifactId> -->
385 <!-- <version>1.7.12</version> -->
386 <!-- </dependency> -->
388 <groupId>commons-lang</groupId>
389 <artifactId>commons-lang</artifactId>
390 <version>2.6</version>
393 <groupId>org.apache.sshd</groupId>
394 <artifactId>sshd-core</artifactId>
395 <version>2.0.0</version>
398 <groupId>org.apache.sshd</groupId>
399 <artifactId>sshd-sftp</artifactId>
400 <version>2.0.0</version>
403 <groupId>org.apache.sshd</groupId>
404 <artifactId>sshd-scp</artifactId>
405 <version>2.0.0</version>
408 <groupId>org.mockito</groupId>
409 <artifactId>mockito-core</artifactId>
410 <version>1.10.19</version>
414 <groupId>com.att.cdp</groupId>
415 <artifactId>cdp-pal-common</artifactId>
416 <version>${cdp.pal.version}</version>
419 <groupId>com.att.cdp</groupId>
420 <artifactId>cdp-pal-openstack</artifactId>
421 <version>${cdp.pal.version}</version>
424 <groupId>com.att.authz</groupId>
425 <artifactId>authz-client</artifactId>
426 <version>2.3</version>
428 <!-- EELF logging framework -->
430 <groupId>com.att.eelf</groupId>
431 <artifactId>eelf-core</artifactId>
432 <version>${eelf.version}</version>
436 <groupId>org.mariadb.jdbc</groupId>
437 <artifactId>mariadb-java-client</artifactId>
438 <version>2.1.1</version>
441 </dependencyManagement>
444 <groupId>org.apache.commons</groupId>
445 <artifactId>commons-lang3</artifactId>
450 <!-- ================================================================================== -->
451 <!-- Define common plugins and make them available for all modules -->
452 <!-- ================================================================================== -->
456 <!-- Define the site plugin to generate documentation -->
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-site-plugin</artifactId>
460 <version>3.4</version>
462 <!-- add support for ssh/scp -->
464 <groupId>org.apache.maven.wagon</groupId>
465 <artifactId>wagon-ssh</artifactId>
466 <version>1.0</version>
470 <!-- Define the compiler plugin -->
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-compiler-plugin</artifactId>
474 <version>${maven.compile.plugin.version}</version>
476 <!-- Define the javadoc plugin -->
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-javadoc-plugin</artifactId>
480 <version>2.10</version>
482 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
485 <!-- Define the source plugin -->
487 <artifactId>maven-source-plugin</artifactId>
488 <version>2.1.1</version>
490 <!-- Resources plugin -->
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-resources-plugin</artifactId>
494 <version>2.6</version>
499 <goal>resources</goal>
501 <phase>generate-resources</phase>
506 <artifactId>maven-release-plugin</artifactId>
507 <version>2.5.2</version>
509 <goals>-s ${mvn.settings} deploy</goals>
513 <artifactId>maven-assembly-plugin</artifactId>
514 <version>2.5.5</version>
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-deploy-plugin</artifactId>
519 <version>2.8.1</version>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-dependency-plugin</artifactId>
524 <version>2.10</version>
526 <!-- Maven surefire plugin for testing -->
528 <artifactId>maven-surefire-plugin</artifactId>
529 <version>2.17</version>
531 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
533 <groupId>org.apache.felix</groupId>
534 <artifactId>maven-bundle-plugin</artifactId>
535 <version>${bundle.plugin.version}</version>
538 <groupId>org.codehaus.mojo</groupId>
539 <artifactId>build-helper-maven-plugin</artifactId>
540 <version>1.9.1</version>
545 <!-- jacoco for testing -->
547 <groupId>org.jacoco</groupId>
548 <artifactId>jacoco-maven-plugin</artifactId>
549 <version>0.8.4</version>
552 <id>default-prepare-agent</id>
554 <goal>prepare-agent</goal>
558 <id>default-report</id>
559 <phase>prepare-package</phase>
565 <id>default-check</id>
572 <element>PACKAGE</element>
575 <counter>COMPLEXITY</counter>
576 <value>COVEREDRATIO</value>
577 <minimum>0.0</minimum>
586 <!-- Javadocs Plugin -->
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-site-plugin</artifactId>
590 <version>3.6</version>
593 <groupId>org.apache.maven.wagon</groupId>
594 <artifactId>wagon-webdav-jackrabbit</artifactId>
595 <version>2.10</version>
600 <groupId>org.codehaus.mojo</groupId>
601 <artifactId>properties-maven-plugin</artifactId>
605 <goal>set-system-properties</goal>
610 <name>maven.wagon.http.ssl.allowall</name>
611 <value>${ssl.allowall}</value>
614 <name>maven.wagon.http.ssl.insecure</name>
615 <value>${ssl.insecure}</value>
624 <!-- blackduck maven plugin -->
625 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
626 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
627 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
628 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
629 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
631 <!-- force Eclipse to skip the additional-install step specified in the
632 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-install-plugin</artifactId>
638 <id>additional-install</id>
640 <goal>install-file</goal>
649 <!-- ================================================================================== -->
650 <!-- The modules we build every time -->
651 <!-- ================================================================================== -->
653 <module>appc-core</module>
655 <!-- Adding profiles for testing -->
660 <ssl.allowall>true</ssl.allowall>
661 <ssl.insecure>true</ssl.insecure>
662 <openecomp.git.port>7999</openecomp.git.port>
663 <openecomp.git.project>st_osecomp</openecomp.git.project>
664 <openecomp.git.protocol>http</openecomp.git.protocol>
666 <!-- Core app-c from 1604 -->
668 <activeByDefault>true</activeByDefault>
671 <module>appc-adapters</module>
672 <module>appc-service-communicator</module>
673 <module>appc-provider</module>
674 <module>appc-sdc-listener</module>
675 <module>appc-lifecycle-management</module>
676 <module>appc-oam</module>
677 <module>appc-config</module>
678 <module>appc-directed-graph</module>
679 <module>appc-outbound</module>
680 <module>appc-inbound</module>
681 <module>appc-sequence-generator</module>
682 <module>appc-client</module>
686 <id>request-dispatcher</id>
688 <ssl.allowall>true</ssl.allowall>
689 <ssl.insecure>true</ssl.insecure>
692 <activeByDefault>true</activeByDefault>
695 <module>appc-dispatcher</module>
696 <module>appc-metric</module>
697 <module>appc-dg</module>
698 <module>appc-dg-util</module>
699 <module>services</module>