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.3.2</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.5-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 <sdc-client.version>1.3.0</sdc-client.version>
67 <jackson.yml.version>2.3.2</jackson.yml.version>
70 <sonar.language>java</sonar.language>
71 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
72 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
73 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
74 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
75 <sonar.projectVersion>${project.version}</sonar.projectVersion>
77 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
78 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
79 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
80 <yang.file.directory>src/main/yang</yang.file.directory>
81 <features.file>features.xml</features.file>
82 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
83 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
85 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
87 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
88 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
89 <!-- <ccsdk.sli.adaptors.version>${ccsdk.sli.adaptors.version}</ccsdk.sli.adaptors.version> -->
90 <commons.collections.version>3.2.2</commons.collections.version>
91 <odl.sal.api.gen.plugin.version>0.11.1</odl.sal.api.gen.plugin.version>
92 <odl.yangtools.version>1.2.1</odl.yangtools.version>
93 <odl.mdsal.yang.binding.version>0.11.1</odl.mdsal.yang.binding.version>
94 <odl.mdsal.version>1.6.1</odl.mdsal.version>
95 <odl.mdsal.features.version>2.3.1</odl.mdsal.features.version>
96 <odl.yang.jmx.generator.version>0.7.1</odl.yang.jmx.generator.version>
97 <odl.ietf-yang-types.version>2013.07.15.13.1</odl.ietf-yang-types.version>
98 <odl.ietf-inet-types.version>1.5.1</odl.ietf-inet-types.version>
99 <odl.controller.config.api.version>0.7.1</odl.controller.config.api.version>
100 <odl.commons.opendaylight.version>2.0.5</odl.commons.opendaylight.version>
105 <!-- ================================================================================== -->
106 <!-- Javadoc Generation Plugin -->
107 <!-- ================================================================================== -->
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-javadoc-plugin</artifactId>
113 <version>2.10</version>
115 <excludePackageNames>org.onap.ccsdk.sli</excludePackageNames>
116 <failOnError>false</failOnError>
117 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
119 <groupId>org.umlgraph</groupId>
120 <artifactId>umlgraph</artifactId>
121 <version>5.6</version>
123 <additionalparam>-views</additionalparam>
124 <useStandardDocletOptions>true</useStandardDocletOptions>
131 <!-- ================================================================================== -->
132 <!-- Distribution Management Sites -->
133 <!-- ================================================================================== -->
134 <distributionManagement>
135 <!-- This site is used for Javadocs -->
138 <url>dav:${onap.nexus.url}/content/sites/site/org/onap/appc/${project.version}</url>
141 <id>ecomp-releases</id>
142 <name>openecomp-repository-releases</name>
143 <url>${onap.nexus.url}/content/repositories/releases</url>
146 <id>ecomp-snapshots</id>
147 <name>openecomp-repository-snapshots</name>
148 <url>${onap.nexus.url}/content/repositories/snapshots</url>
149 </snapshotRepository>
150 </distributionManagement>
153 <!-- ================================================================================== -->
154 <!-- Define plugin repositories -->
155 <!-- ================================================================================== -->
158 <id>opendaylight-mirror</id>
159 <name>opendaylight-mirror</name>
160 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
162 <enabled>true</enabled>
163 <updatePolicy>never</updatePolicy>
166 <enabled>false</enabled>
170 <id>opendaylight-snapshot</id>
171 <name>opendaylight-snapshot</name>
172 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
174 <enabled>false</enabled>
177 <enabled>true</enabled>
180 <!-- Black Duck plugin dependencies -->
183 <name>JCenter Repository</name>
184 <url>http://jcenter.bintray.com</url>
188 <name>Restlet Repository</name>
189 <url>http://maven.restlet.com</url>
191 </pluginRepositories>
194 <!-- ================================================================================== -->
195 <!-- Define project-wide dependencies -->
196 <!-- ================================================================================== -->
197 <dependencyManagement>
200 <groupId>com.google.guava</groupId>
201 <artifactId>guava</artifactId>
202 <version>22.0</version>
205 <groupId>com.google.guava</groupId>
206 <artifactId>guava-testlib</artifactId>
207 <version>22.0</version>
211 <groupId>org.opendaylight.controller</groupId>
212 <artifactId>config-api</artifactId>
213 <version>${odl.controller.config.api.version}</version>
216 <groupId>org.opendaylight.controller</groupId>
217 <artifactId>sal-binding-config</artifactId>
218 <version>${odl.mdsal.version}</version>
221 <groupId>org.opendaylight.controller</groupId>
222 <artifactId>sal-test-model</artifactId>
223 <version>${odl.mdsal.version}</version>
226 <groupId>org.opendaylight.controller</groupId>
227 <artifactId>sal-binding-broker-impl</artifactId>
228 <version>${odl.mdsal.version}</version>
231 <groupId>org.opendaylight.controller</groupId>
232 <artifactId>sal-common-util</artifactId>
233 <version>${odl.mdsal.version}</version>
236 <groupId>org.opendaylight.mdsal</groupId>
237 <artifactId>yang-binding</artifactId>
238 <version>${odl.mdsal.yang.binding.version}</version>
241 <groupId>org.opendaylight.yangtools</groupId>
242 <artifactId>yang-common</artifactId>
243 <version>${odl.yangtools.version}</version>
246 <groupId>org.opendaylight.controller</groupId>
247 <artifactId>features-mdsal</artifactId>
248 <version>${odl.mdsal.features.version}</version>
249 <classifier>features</classifier>
253 <groupId>org.opendaylight.mdsal</groupId>
254 <artifactId>features-mdsal</artifactId>
255 <version>${odl.mdsal.features.version}</version>
256 <classifier>features</classifier>
260 <groupId>org.opendaylight.mdsal.model</groupId>
261 <artifactId>ietf-inet-types-2013-07-15</artifactId>
262 <version>${odl.ietf-inet-types.version}</version>
265 <groupId>org.opendaylight.mdsal.model</groupId>
266 <artifactId>ietf-yang-types-20130715</artifactId>
267 <version>${odl.ietf-yang-types.version}</version>
269 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
270 <!-- Required for launching the feature tests -->
271 <!-- <dependency> -->
272 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
273 <!-- <artifactId>features-test</artifactId> -->
274 <!-- <scope>test</scope> -->
275 <!-- </dependency> -->
279 <groupId>org.opendaylight.yangtools</groupId>
280 <artifactId>features-yangtools</artifactId>
281 <version>${odl.yangtools.version}</version>
282 <classifier>features</classifier>
287 <groupId>org.onap.ccsdk.sli.core</groupId>
288 <artifactId>sli-common</artifactId>
289 <version>${sdnctl.sli.version}</version>
292 <groupId>org.onap.ccsdk.sli.core</groupId>
293 <artifactId>sli-provider</artifactId>
294 <version>${sdnctl.sli.version}</version>
298 <groupId>org.onap.ccsdk.sli.core</groupId>
299 <artifactId>dblib-provider</artifactId>
300 <version>${sdnctl.dblib.version}</version>
302 <!-- A&AI service provider dependency override in order to use a stable
305 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
306 <artifactId>aai-service-provider</artifactId>
307 <version>${sdnctl.aai.service.version}</version>
311 <groupId>org.onap.appc</groupId>
312 <artifactId>appc-controller-features</artifactId>
313 <classifier>features</classifier>
315 <version>${project.version}</version>
318 <groupId>org.onap.appc</groupId>
319 <artifactId>appc-controller-model</artifactId>
320 <version>${project.version}</version>
323 <groupId>org.onap.appc</groupId>
324 <artifactId>appc-controller-bundle</artifactId>
325 <version>${project.version}</version>
326 <classifier>config</classifier>
330 <groupId>org.onap.appc</groupId>
331 <artifactId>appc-controller-bundle</artifactId>
332 <version>${project.version}</version>
336 <groupId>equinoxSDK381</groupId>
337 <artifactId>org.eclipse.osgi</artifactId>
338 <version>${equinox.osgi.version}</version>
341 <groupId>org.apache.commons</groupId>
342 <artifactId>commons-lang3</artifactId>
343 <version>${commons.lang3.version}</version>
346 <groupId>junit</groupId>
347 <artifactId>junit</artifactId>
348 <version>4.12</version>
352 <groupId>org.assertj</groupId>
353 <artifactId>assertj-core</artifactId>
354 <version>3.9.0</version>
358 <groupId>org.assertj</groupId>
359 <artifactId>assertj-guava</artifactId>
360 <version>3.1.0</version>
364 <groupId>ch.qos.logback</groupId>
365 <artifactId>logback-core</artifactId>
366 <version>${logback.version}</version>
367 <scope>compile</scope>
370 <groupId>ch.qos.logback</groupId>
371 <artifactId>logback-classic</artifactId>
372 <version>${logback.version}</version>
373 <scope>compile</scope>
375 <!-- <dependency> -->
376 <!-- <groupId>org.slf4j</groupId> -->
377 <!-- <artifactId>slf4j-api</artifactId> -->
378 <!-- <version>1.7.12</version> -->
379 <!-- </dependency> -->
381 <groupId>commons-lang</groupId>
382 <artifactId>commons-lang</artifactId>
383 <version>2.6</version>
386 <groupId>org.apache.sshd</groupId>
387 <artifactId>sshd-core</artifactId>
388 <version>2.0.0</version>
391 <groupId>org.apache.sshd</groupId>
392 <artifactId>sshd-sftp</artifactId>
393 <version>2.0.0</version>
396 <groupId>org.apache.sshd</groupId>
397 <artifactId>sshd-scp</artifactId>
398 <version>2.0.0</version>
401 <groupId>org.mockito</groupId>
402 <artifactId>mockito-core</artifactId>
403 <version>1.10.19</version>
407 <groupId>com.att.cdp</groupId>
408 <artifactId>cdp-pal-common</artifactId>
409 <version>${cdp.pal.version}</version>
412 <groupId>com.att.cdp</groupId>
413 <artifactId>cdp-pal-openstack</artifactId>
414 <version>${cdp.pal.version}</version>
417 <groupId>com.att.authz</groupId>
418 <artifactId>authz-client</artifactId>
419 <version>2.3</version>
421 <!-- EELF logging framework -->
423 <groupId>com.att.eelf</groupId>
424 <artifactId>eelf-core</artifactId>
425 <version>${eelf.version}</version>
429 <groupId>org.mariadb.jdbc</groupId>
430 <artifactId>mariadb-java-client</artifactId>
431 <version>2.1.1</version>
434 </dependencyManagement>
437 <groupId>org.apache.commons</groupId>
438 <artifactId>commons-lang3</artifactId>
443 <!-- ================================================================================== -->
444 <!-- Define common plugins and make them available for all modules -->
445 <!-- ================================================================================== -->
449 <!-- Define the site plugin to generate documentation -->
451 <groupId>org.apache.maven.plugins</groupId>
452 <artifactId>maven-site-plugin</artifactId>
453 <version>3.4</version>
455 <!-- add support for ssh/scp -->
457 <groupId>org.apache.maven.wagon</groupId>
458 <artifactId>wagon-ssh</artifactId>
459 <version>1.0</version>
463 <!-- Define the compiler plugin -->
465 <groupId>org.apache.maven.plugins</groupId>
466 <artifactId>maven-compiler-plugin</artifactId>
467 <version>${maven.compile.plugin.version}</version>
469 <!-- Define the javadoc plugin -->
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-javadoc-plugin</artifactId>
473 <version>2.10</version>
475 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
478 <!-- Define the source plugin -->
480 <artifactId>maven-source-plugin</artifactId>
481 <version>2.1.1</version>
483 <!-- Resources plugin -->
485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-resources-plugin</artifactId>
487 <version>2.6</version>
492 <goal>resources</goal>
494 <phase>generate-resources</phase>
499 <artifactId>maven-release-plugin</artifactId>
500 <version>2.5.2</version>
502 <goals>-s ${mvn.settings} deploy</goals>
506 <artifactId>maven-assembly-plugin</artifactId>
507 <version>2.5.5</version>
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-deploy-plugin</artifactId>
512 <version>2.8.1</version>
515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-dependency-plugin</artifactId>
517 <version>2.10</version>
519 <!-- Maven surefire plugin for testing -->
521 <artifactId>maven-surefire-plugin</artifactId>
522 <version>2.17</version>
524 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
526 <groupId>org.apache.felix</groupId>
527 <artifactId>maven-bundle-plugin</artifactId>
528 <version>${bundle.plugin.version}</version>
531 <groupId>org.codehaus.mojo</groupId>
532 <artifactId>build-helper-maven-plugin</artifactId>
533 <version>1.9.1</version>
536 <groupId>org.sonarsource.scanner.maven</groupId>
537 <artifactId>sonar-maven-plugin</artifactId>
538 <version>3.2</version>
543 <!-- Javadocs Plugin -->
545 <groupId>org.apache.maven.plugins</groupId>
546 <artifactId>maven-site-plugin</artifactId>
547 <version>3.6</version>
550 <groupId>org.apache.maven.wagon</groupId>
551 <artifactId>wagon-webdav-jackrabbit</artifactId>
552 <version>2.10</version>
557 <groupId>org.codehaus.mojo</groupId>
558 <artifactId>properties-maven-plugin</artifactId>
562 <goal>set-system-properties</goal>
567 <name>maven.wagon.http.ssl.allowall</name>
568 <value>${ssl.allowall}</value>
571 <name>maven.wagon.http.ssl.insecure</name>
572 <value>${ssl.insecure}</value>
581 <!-- blackduck maven plugin -->
582 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
583 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
584 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
585 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
586 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
588 <!-- force Eclipse to skip the additional-install step specified in the
589 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
591 <groupId>org.apache.maven.plugins</groupId>
592 <artifactId>maven-install-plugin</artifactId>
595 <id>additional-install</id>
597 <goal>install-file</goal>
606 <!-- ================================================================================== -->
607 <!-- The modules we build every time -->
608 <!-- ================================================================================== -->
610 <module>appc-core</module>
612 <!-- Adding profiles for testing -->
617 <ssl.allowall>true</ssl.allowall>
618 <ssl.insecure>true</ssl.insecure>
619 <openecomp.git.port>7999</openecomp.git.port>
620 <openecomp.git.project>st_osecomp</openecomp.git.project>
621 <openecomp.git.protocol>http</openecomp.git.protocol>
623 <!-- Core app-c from 1604 -->
625 <activeByDefault>true</activeByDefault>
628 <module>appc-adapters</module>
629 <module>appc-provider</module>
630 <module>appc-event-listener</module>
631 <module>appc-sdc-listener</module>
632 <module>appc-lifecycle-management</module>
633 <module>appc-oam</module>
634 <module>appc-config</module>
635 <module>appc-directed-graph</module>
636 <module>appc-outbound</module>
637 <module>appc-inbound</module>
638 <module>appc-sequence-generator</module>
639 <!-- <module>appc-client</module> -->
643 <id>request-dispatcher</id>
645 <ssl.allowall>true</ssl.allowall>
646 <ssl.insecure>true</ssl.insecure>
649 <activeByDefault>true</activeByDefault>
652 <module>appc-dispatcher</module>
653 <module>appc-metric</module>
654 <module>appc-dg</module>
655 <module>appc-dg-util</module>