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.6.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>
106 <!-- ================================================================================== -->
107 <!-- Javadoc Generation Plugin -->
108 <!-- ================================================================================== -->
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-javadoc-plugin</artifactId>
114 <version>2.10</version>
116 <excludePackageNames>org.onap.ccsdk.sli</excludePackageNames>
117 <failOnError>false</failOnError>
118 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
120 <groupId>org.umlgraph</groupId>
121 <artifactId>umlgraph</artifactId>
122 <version>5.6</version>
124 <additionalparam>-views</additionalparam>
125 <useStandardDocletOptions>true</useStandardDocletOptions>
132 <!-- ================================================================================== -->
133 <!-- Distribution Management Sites -->
134 <!-- ================================================================================== -->
135 <distributionManagement>
136 <!-- This site is used for Javadocs -->
139 <url>dav:${onap.nexus.url}/content/sites/site/org/onap/appc/${project.version}</url>
142 <id>ecomp-releases</id>
143 <name>openecomp-repository-releases</name>
144 <url>${onap.nexus.url}/content/repositories/releases</url>
147 <id>ecomp-snapshots</id>
148 <name>openecomp-repository-snapshots</name>
149 <url>${onap.nexus.url}/content/repositories/snapshots</url>
150 </snapshotRepository>
151 </distributionManagement>
154 <!-- ================================================================================== -->
155 <!-- Define plugin repositories -->
156 <!-- ================================================================================== -->
159 <id>opendaylight-mirror</id>
160 <name>opendaylight-mirror</name>
161 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
163 <enabled>true</enabled>
164 <updatePolicy>never</updatePolicy>
167 <enabled>false</enabled>
171 <id>opendaylight-snapshot</id>
172 <name>opendaylight-snapshot</name>
173 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
175 <enabled>false</enabled>
178 <enabled>true</enabled>
181 <!-- Black Duck plugin dependencies -->
184 <name>JCenter Repository</name>
185 <url>http://jcenter.bintray.com</url>
189 <name>Restlet Repository</name>
190 <url>http://maven.restlet.com</url>
192 </pluginRepositories>
195 <!-- ================================================================================== -->
196 <!-- Define project-wide dependencies -->
197 <!-- ================================================================================== -->
198 <dependencyManagement>
201 <groupId>com.google.guava</groupId>
202 <artifactId>guava</artifactId>
203 <version>22.0</version>
206 <groupId>com.google.guava</groupId>
207 <artifactId>guava-testlib</artifactId>
208 <version>22.0</version>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>config-api</artifactId>
214 <version>${odl.controller.config.api.version}</version>
217 <groupId>org.opendaylight.controller</groupId>
218 <artifactId>sal-binding-config</artifactId>
219 <version>${odl.mdsal.version}</version>
222 <groupId>org.opendaylight.controller</groupId>
223 <artifactId>sal-binding-api</artifactId>
224 <version>${odl.mdsal.version}</version>
227 <groupId>org.opendaylight.controller</groupId>
228 <artifactId>sal-test-model</artifactId>
229 <version>${odl.mdsal.version}</version>
232 <groupId>org.opendaylight.controller</groupId>
233 <artifactId>sal-binding-broker-impl</artifactId>
234 <version>${odl.mdsal.version}</version>
237 <groupId>org.opendaylight.controller</groupId>
238 <artifactId>sal-common-util</artifactId>
239 <version>${odl.mdsal.version}</version>
242 <groupId>org.opendaylight.mdsal</groupId>
243 <artifactId>yang-binding</artifactId>
244 <version>${odl.mdsal.yang.binding.version}</version>
247 <groupId>org.opendaylight.yangtools</groupId>
248 <artifactId>yang-common</artifactId>
249 <version>${odl.yangtools.version}</version>
252 <groupId>org.opendaylight.controller</groupId>
253 <artifactId>features-mdsal</artifactId>
254 <version>${odl.mdsal.features.version}</version>
255 <classifier>features</classifier>
259 <groupId>org.opendaylight.mdsal</groupId>
260 <artifactId>features-mdsal</artifactId>
261 <version>${odl.mdsal.features.version}</version>
262 <classifier>features</classifier>
266 <groupId>org.opendaylight.mdsal.model</groupId>
267 <artifactId>ietf-inet-types-2013-07-15</artifactId>
268 <version>${odl.ietf-inet-types.version}</version>
271 <groupId>org.opendaylight.mdsal.model</groupId>
272 <artifactId>ietf-yang-types-20130715</artifactId>
273 <version>${odl.ietf-yang-types.version}</version>
275 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
276 <!-- Required for launching the feature tests -->
277 <!-- <dependency> -->
278 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
279 <!-- <artifactId>features-test</artifactId> -->
280 <!-- <scope>test</scope> -->
281 <!-- </dependency> -->
285 <groupId>org.opendaylight.yangtools</groupId>
286 <artifactId>features-yangtools</artifactId>
287 <version>${odl.yangtools.version}</version>
288 <classifier>features</classifier>
293 <groupId>org.onap.ccsdk.sli.core</groupId>
294 <artifactId>sli-common</artifactId>
295 <version>${sdnctl.sli.version}</version>
298 <groupId>org.onap.ccsdk.sli.core</groupId>
299 <artifactId>sli-provider</artifactId>
300 <version>${sdnctl.sli.version}</version>
304 <groupId>org.onap.ccsdk.sli.core</groupId>
305 <artifactId>dblib-provider</artifactId>
306 <version>${sdnctl.dblib.version}</version>
308 <!-- A&AI service provider dependency override in order to use a stable
311 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
312 <artifactId>aai-service-provider</artifactId>
313 <version>${sdnctl.aai.service.version}</version>
317 <groupId>org.onap.appc</groupId>
318 <artifactId>appc-controller-features</artifactId>
319 <classifier>features</classifier>
321 <version>${project.version}</version>
324 <groupId>org.onap.appc</groupId>
325 <artifactId>appc-controller-model</artifactId>
326 <version>${project.version}</version>
329 <groupId>org.onap.appc</groupId>
330 <artifactId>appc-controller-bundle</artifactId>
331 <version>${project.version}</version>
332 <classifier>config</classifier>
336 <groupId>org.onap.appc</groupId>
337 <artifactId>appc-controller-bundle</artifactId>
338 <version>${project.version}</version>
342 <groupId>equinoxSDK381</groupId>
343 <artifactId>org.eclipse.osgi</artifactId>
344 <version>${equinox.osgi.version}</version>
347 <groupId>org.apache.commons</groupId>
348 <artifactId>commons-lang3</artifactId>
349 <version>${commons.lang3.version}</version>
352 <groupId>junit</groupId>
353 <artifactId>junit</artifactId>
354 <version>4.12</version>
358 <groupId>org.assertj</groupId>
359 <artifactId>assertj-core</artifactId>
360 <version>3.9.0</version>
364 <groupId>org.assertj</groupId>
365 <artifactId>assertj-guava</artifactId>
366 <version>3.1.0</version>
370 <groupId>ch.qos.logback</groupId>
371 <artifactId>logback-core</artifactId>
372 <version>${logback.version}</version>
373 <scope>compile</scope>
376 <groupId>ch.qos.logback</groupId>
377 <artifactId>logback-classic</artifactId>
378 <version>${logback.version}</version>
379 <scope>compile</scope>
381 <!-- <dependency> -->
382 <!-- <groupId>org.slf4j</groupId> -->
383 <!-- <artifactId>slf4j-api</artifactId> -->
384 <!-- <version>1.7.12</version> -->
385 <!-- </dependency> -->
387 <groupId>commons-lang</groupId>
388 <artifactId>commons-lang</artifactId>
389 <version>2.6</version>
392 <groupId>org.apache.sshd</groupId>
393 <artifactId>sshd-core</artifactId>
394 <version>2.0.0</version>
397 <groupId>org.apache.sshd</groupId>
398 <artifactId>sshd-sftp</artifactId>
399 <version>2.0.0</version>
402 <groupId>org.apache.sshd</groupId>
403 <artifactId>sshd-scp</artifactId>
404 <version>2.0.0</version>
407 <groupId>org.mockito</groupId>
408 <artifactId>mockito-core</artifactId>
409 <version>1.10.19</version>
413 <groupId>com.att.cdp</groupId>
414 <artifactId>cdp-pal-common</artifactId>
415 <version>${cdp.pal.version}</version>
418 <groupId>com.att.cdp</groupId>
419 <artifactId>cdp-pal-openstack</artifactId>
420 <version>${cdp.pal.version}</version>
423 <groupId>com.att.authz</groupId>
424 <artifactId>authz-client</artifactId>
425 <version>2.3</version>
427 <!-- EELF logging framework -->
429 <groupId>com.att.eelf</groupId>
430 <artifactId>eelf-core</artifactId>
431 <version>${eelf.version}</version>
435 <groupId>org.mariadb.jdbc</groupId>
436 <artifactId>mariadb-java-client</artifactId>
437 <version>2.1.1</version>
440 </dependencyManagement>
443 <groupId>org.apache.commons</groupId>
444 <artifactId>commons-lang3</artifactId>
449 <!-- ================================================================================== -->
450 <!-- Define common plugins and make them available for all modules -->
451 <!-- ================================================================================== -->
455 <!-- Define the site plugin to generate documentation -->
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-site-plugin</artifactId>
459 <version>3.4</version>
461 <!-- add support for ssh/scp -->
463 <groupId>org.apache.maven.wagon</groupId>
464 <artifactId>wagon-ssh</artifactId>
465 <version>1.0</version>
469 <!-- Define the compiler plugin -->
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-compiler-plugin</artifactId>
473 <version>${maven.compile.plugin.version}</version>
475 <!-- Define the javadoc plugin -->
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-javadoc-plugin</artifactId>
479 <version>2.10</version>
481 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
484 <!-- Define the source plugin -->
486 <artifactId>maven-source-plugin</artifactId>
487 <version>2.1.1</version>
489 <!-- Resources plugin -->
491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-resources-plugin</artifactId>
493 <version>2.6</version>
498 <goal>resources</goal>
500 <phase>generate-resources</phase>
505 <artifactId>maven-release-plugin</artifactId>
506 <version>2.5.2</version>
508 <goals>-s ${mvn.settings} deploy</goals>
512 <artifactId>maven-assembly-plugin</artifactId>
513 <version>2.5.5</version>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-deploy-plugin</artifactId>
518 <version>2.8.1</version>
521 <groupId>org.apache.maven.plugins</groupId>
522 <artifactId>maven-dependency-plugin</artifactId>
523 <version>2.10</version>
525 <!-- Maven surefire plugin for testing -->
527 <artifactId>maven-surefire-plugin</artifactId>
528 <version>2.17</version>
530 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
532 <groupId>org.apache.felix</groupId>
533 <artifactId>maven-bundle-plugin</artifactId>
534 <version>${bundle.plugin.version}</version>
537 <groupId>org.codehaus.mojo</groupId>
538 <artifactId>build-helper-maven-plugin</artifactId>
539 <version>1.9.1</version>
542 <groupId>org.sonarsource.scanner.maven</groupId>
543 <artifactId>sonar-maven-plugin</artifactId>
544 <version>3.2</version>
549 <!-- Javadocs Plugin -->
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-site-plugin</artifactId>
553 <version>3.6</version>
556 <groupId>org.apache.maven.wagon</groupId>
557 <artifactId>wagon-webdav-jackrabbit</artifactId>
558 <version>2.10</version>
563 <groupId>org.codehaus.mojo</groupId>
564 <artifactId>properties-maven-plugin</artifactId>
568 <goal>set-system-properties</goal>
573 <name>maven.wagon.http.ssl.allowall</name>
574 <value>${ssl.allowall}</value>
577 <name>maven.wagon.http.ssl.insecure</name>
578 <value>${ssl.insecure}</value>
587 <!-- blackduck maven plugin -->
588 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
589 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
590 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
591 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
592 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
594 <!-- force Eclipse to skip the additional-install step specified in the
595 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
597 <groupId>org.apache.maven.plugins</groupId>
598 <artifactId>maven-install-plugin</artifactId>
601 <id>additional-install</id>
603 <goal>install-file</goal>
612 <!-- ================================================================================== -->
613 <!-- The modules we build every time -->
614 <!-- ================================================================================== -->
616 <module>appc-core</module>
618 <!-- Adding profiles for testing -->
623 <ssl.allowall>true</ssl.allowall>
624 <ssl.insecure>true</ssl.insecure>
625 <openecomp.git.port>7999</openecomp.git.port>
626 <openecomp.git.project>st_osecomp</openecomp.git.project>
627 <openecomp.git.protocol>http</openecomp.git.protocol>
629 <!-- Core app-c from 1604 -->
631 <activeByDefault>true</activeByDefault>
634 <module>appc-adapters</module>
635 <module>appc-provider</module>
636 <module>appc-event-listener</module>
637 <module>appc-sdc-listener</module>
638 <module>appc-lifecycle-management</module>
639 <module>appc-oam</module>
640 <module>appc-config</module>
641 <module>appc-directed-graph</module>
642 <module>appc-outbound</module>
643 <module>appc-inbound</module>
644 <module>appc-sequence-generator</module>
645 <module>appc-client</module>
649 <id>request-dispatcher</id>
651 <ssl.allowall>true</ssl.allowall>
652 <ssl.insecure>true</ssl.insecure>
655 <activeByDefault>true</activeByDefault>
658 <module>appc-dispatcher</module>
659 <module>appc-metric</module>
660 <module>appc-dg</module>
661 <module>appc-dg-util</module>