1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017-2018 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>2010.09.24.11.1</odl.ietf-yang-types.version>
99 <odl.ietf-inet-types.version>2010.09.24.11.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</artifactId>
275 <version>${odl.ietf-inet-types.version}</version>
278 <groupId>org.opendaylight.mdsal.model</groupId>
279 <artifactId>ietf-yang-types</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 <!-- <version>${odl.yangtools.version}</version> -->
288 <!-- <scope>test</scope> -->
289 <!-- </dependency> -->
293 <groupId>org.opendaylight.yangtools</groupId>
294 <artifactId>features-yangtools</artifactId>
295 <version>${odl.yangtools.version}</version>
296 <classifier>features</classifier>
301 <groupId>org.onap.ccsdk.sli.core</groupId>
302 <artifactId>sli-common</artifactId>
303 <version>${sdnctl.sli.version}</version>
306 <groupId>org.onap.ccsdk.sli.core</groupId>
307 <artifactId>sli-provider</artifactId>
308 <version>${sdnctl.sli.version}</version>
312 <groupId>org.onap.ccsdk.sli.core</groupId>
313 <artifactId>dblib-provider</artifactId>
314 <version>${sdnctl.dblib.version}</version>
316 <!-- A&AI service provider dependency override in order to use a stable
319 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
320 <artifactId>aai-service-provider</artifactId>
321 <version>${sdnctl.aai.service.version}</version>
325 <groupId>org.onap.appc</groupId>
326 <artifactId>appc-controller-features</artifactId>
327 <classifier>features</classifier>
329 <version>${project.version}</version>
332 <groupId>org.onap.appc</groupId>
333 <artifactId>appc-controller-model</artifactId>
334 <version>${project.version}</version>
337 <groupId>org.onap.appc</groupId>
338 <artifactId>appc-controller-bundle</artifactId>
339 <version>${project.version}</version>
340 <classifier>config</classifier>
344 <groupId>org.onap.appc</groupId>
345 <artifactId>appc-controller-bundle</artifactId>
346 <version>${project.version}</version>
350 <groupId>equinoxSDK381</groupId>
351 <artifactId>org.eclipse.osgi</artifactId>
352 <version>${equinox.osgi.version}</version>
355 <groupId>org.apache.commons</groupId>
356 <artifactId>commons-lang3</artifactId>
357 <version>${commons.lang3.version}</version>
360 <groupId>junit</groupId>
361 <artifactId>junit</artifactId>
362 <version>4.12</version>
366 <groupId>org.assertj</groupId>
367 <artifactId>assertj-core</artifactId>
368 <version>3.9.0</version>
372 <groupId>org.assertj</groupId>
373 <artifactId>assertj-guava</artifactId>
374 <version>3.1.0</version>
378 <groupId>ch.qos.logback</groupId>
379 <artifactId>logback-core</artifactId>
380 <version>${logback.version}</version>
381 <scope>compile</scope>
384 <groupId>ch.qos.logback</groupId>
385 <artifactId>logback-classic</artifactId>
386 <version>${logback.version}</version>
387 <scope>compile</scope>
389 <!-- <dependency> -->
390 <!-- <groupId>org.slf4j</groupId> -->
391 <!-- <artifactId>slf4j-api</artifactId> -->
392 <!-- <version>1.7.12</version> -->
393 <!-- </dependency> -->
395 <groupId>commons-lang</groupId>
396 <artifactId>commons-lang</artifactId>
397 <version>2.6</version>
400 <groupId>org.apache.sshd</groupId>
401 <artifactId>sshd-core</artifactId>
402 <version>2.0.0</version>
405 <groupId>org.apache.sshd</groupId>
406 <artifactId>sshd-sftp</artifactId>
407 <version>2.0.0</version>
410 <groupId>org.apache.sshd</groupId>
411 <artifactId>sshd-scp</artifactId>
412 <version>2.0.0</version>
415 <groupId>org.mockito</groupId>
416 <artifactId>mockito-core</artifactId>
417 <version>1.10.19</version>
421 <groupId>com.att.cdp</groupId>
422 <artifactId>cdp-pal-common</artifactId>
423 <version>${cdp.pal.version}</version>
426 <groupId>com.att.cdp</groupId>
427 <artifactId>cdp-pal-openstack</artifactId>
428 <version>${cdp.pal.version}</version>
431 <groupId>com.att.authz</groupId>
432 <artifactId>authz-client</artifactId>
433 <version>2.3</version>
435 <!-- EELF logging framework -->
437 <groupId>com.att.eelf</groupId>
438 <artifactId>eelf-core</artifactId>
439 <version>${eelf.version}</version>
443 <groupId>org.mariadb.jdbc</groupId>
444 <artifactId>mariadb-java-client</artifactId>
445 <version>2.1.1</version>
448 </dependencyManagement>
451 <groupId>org.apache.commons</groupId>
452 <artifactId>commons-lang3</artifactId>
457 <!-- ================================================================================== -->
458 <!-- Define common plugins and make them available for all modules -->
459 <!-- ================================================================================== -->
463 <!-- Define the site plugin to generate documentation -->
465 <groupId>org.apache.maven.plugins</groupId>
466 <artifactId>maven-site-plugin</artifactId>
467 <version>3.4</version>
469 <!-- add support for ssh/scp -->
471 <groupId>org.apache.maven.wagon</groupId>
472 <artifactId>wagon-ssh</artifactId>
473 <version>1.0</version>
477 <!-- Define the compiler plugin -->
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-compiler-plugin</artifactId>
481 <version>${maven.compile.plugin.version}</version>
483 <!-- Define the javadoc plugin -->
485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-javadoc-plugin</artifactId>
487 <version>2.10</version>
489 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
492 <!-- Define the source plugin -->
494 <artifactId>maven-source-plugin</artifactId>
495 <version>2.1.1</version>
497 <!-- Resources plugin -->
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-resources-plugin</artifactId>
501 <version>2.6</version>
506 <goal>resources</goal>
508 <phase>generate-resources</phase>
513 <artifactId>maven-release-plugin</artifactId>
514 <version>2.5.2</version>
516 <goals>-s ${mvn.settings} deploy</goals>
520 <artifactId>maven-assembly-plugin</artifactId>
521 <version>2.5.5</version>
524 <groupId>org.apache.maven.plugins</groupId>
525 <artifactId>maven-deploy-plugin</artifactId>
526 <version>2.8.1</version>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-dependency-plugin</artifactId>
531 <version>2.10</version>
533 <!-- Maven surefire plugin for testing -->
535 <artifactId>maven-surefire-plugin</artifactId>
536 <version>2.17</version>
538 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
540 <groupId>org.apache.felix</groupId>
541 <artifactId>maven-bundle-plugin</artifactId>
542 <version>${bundle.plugin.version}</version>
545 <groupId>org.codehaus.mojo</groupId>
546 <artifactId>build-helper-maven-plugin</artifactId>
547 <version>1.9.1</version>
550 <groupId>org.sonarsource.scanner.maven</groupId>
551 <artifactId>sonar-maven-plugin</artifactId>
552 <version>3.2</version>
557 <!--maven staging plugin -->
559 <groupId>org.sonatype.plugins</groupId>
560 <artifactId>nexus-staging-maven-plugin</artifactId>
561 <version>1.6.7</version>
562 <extensions>true</extensions>
564 <nexusUrl>${onap.nexus.url}</nexusUrl>
565 <stagingProfileId>176c31dfe190a</stagingProfileId>
566 <serverId>ecomp-staging</serverId>
569 <!-- Javadocs Plugin -->
571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-site-plugin</artifactId>
573 <version>3.6</version>
576 <groupId>org.apache.maven.wagon</groupId>
577 <artifactId>wagon-webdav-jackrabbit</artifactId>
578 <version>2.10</version>
583 <groupId>org.codehaus.mojo</groupId>
584 <artifactId>properties-maven-plugin</artifactId>
588 <goal>set-system-properties</goal>
593 <name>maven.wagon.http.ssl.allowall</name>
594 <value>${ssl.allowall}</value>
597 <name>maven.wagon.http.ssl.insecure</name>
598 <value>${ssl.insecure}</value>
607 <!-- blackduck maven plugin -->
608 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
609 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
610 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
611 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
612 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
614 <!-- force Eclipse to skip the additional-install step specified in the
615 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-install-plugin</artifactId>
621 <id>additional-install</id>
623 <goal>install-file</goal>
632 <!-- ================================================================================== -->
633 <!-- The modules we build every time -->
634 <!-- ================================================================================== -->
636 <module>appc-core</module>
638 <!-- Adding profiles for testing -->
643 <ssl.allowall>true</ssl.allowall>
644 <ssl.insecure>true</ssl.insecure>
645 <openecomp.git.port>7999</openecomp.git.port>
646 <openecomp.git.project>st_osecomp</openecomp.git.project>
647 <openecomp.git.protocol>http</openecomp.git.protocol>
649 <!-- Core app-c from 1604 -->
651 <activeByDefault>true</activeByDefault>
654 <module>appc-adapters</module>
655 <module>appc-provider</module>
656 <module>appc-event-listener</module>
657 <module>appc-sdc-listener</module>
658 <module>appc-lifecycle-management</module>
659 <module>appc-oam</module>
660 <module>appc-config</module>
661 <module>appc-directed-graph</module>
662 <module>appc-outbound</module>
663 <module>appc-inbound</module>
664 <module>appc-sequence-generator</module>
665 <module>appc-client</module>
666 <module>appc-test-dependencies</module>
670 <id>request-dispatcher</id>
672 <ssl.allowall>true</ssl.allowall>
673 <ssl.insecure>true</ssl.insecure>
676 <activeByDefault>true</activeByDefault>
679 <module>appc-dispatcher</module>
680 <module>appc-metric</module>
681 <module>appc-dg</module>
682 <module>appc-dg-util</module>