1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017 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.
22 ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 ============LICENSE_END=========================================================
25 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
28 <groupId>org.onap.oparent</groupId>
29 <artifactId>oparent</artifactId>
30 <version>1.0.0-SNAPSHOT</version>
34 <modelVersion>4.0.0</modelVersion>
35 <packaging>pom</packaging>
36 <groupId>org.openecomp.appc</groupId>
37 <artifactId>appc</artifactId>
38 <version>1.1.0-SNAPSHOT</version>
40 <description>Construct the Application Controller component for the ECOMP project.</description>
41 <inceptionYear>2015-07-20</inceptionYear>
43 <name>OpenECOMP</name>
47 <!-- ================================================================================== -->
48 <!-- Configuration properties -->
49 <!-- ================================================================================== -->
52 <!-- OpenDaylight Versions -->
53 <odl.version>1.7.1-Boron-SR1</odl.version>
54 <odl.dlux.version>0.4.1-Boron-SR1</odl.dlux.version>
55 <odl.yangtools.version>1.0.1-Boron-SR1</odl.yangtools.version>
56 <odl.mdsal.version>1.4.1-Boron-SR1</odl.mdsal.version>
57 <odl.mdsal.features.version>2.1.1-Boron-SR1</odl.mdsal.features.version>
58 <odl.controller.mdsal.features.version>1.4.1-Boron-SR1</odl.controller.mdsal.features.version>
59 <odl.mdsal.model.version>0.9.1-Boron-SR1</odl.mdsal.model.version>
60 <odl.mdsal.yang.binding.version>0.9.1-Boron-SR1</odl.mdsal.yang.binding.version>
61 <odl.restconf.version>1.4.1-Boron-SR1</odl.restconf.version>
62 <odl.controller.model.version>${odl.mdsal.model.version}</odl.controller.model.version>
63 <odl.controller.config.api.version>0.5.1-Boron-SR1</odl.controller.config.api.version>
64 <odl.karaf.empty.distro.version>${odl.version}</odl.karaf.empty.distro.version>
65 <odl.commons.opendaylight.version>${odl.version}</odl.commons.opendaylight.version>
66 <odl.ietf-inet-types.version>2010.09.24.9.1-Boron-SR1</odl.ietf-inet-types.version>
67 <odl.ietf-yang-types.version>2010.09.24.9.1-Boron-SR1</odl.ietf-yang-types.version>
68 <odl.yang.jmx.generator.version>0.5.1-Boron-SR1</odl.yang.jmx.generator.version>
69 <odl.yangtools.yang.maven.plugin.version>${odl.yangtools.version}</odl.yangtools.yang.maven.plugin.version>
70 <odl.sal.api.gen.plugin.version>0.9.1-Boron-SR1</odl.sal.api.gen.plugin.version>
71 <broker-mdsal.version>1.4.1-Boron-SR1</broker-mdsal.version>
73 <!-- OPENECOMP SDNC versions -->
74 <sdnctl.sli.version>1.1.2-SNAPSHOT</sdnctl.sli.version>
75 <sdnctl.dblib.version>1.1.2-SNAPSHOT</sdnctl.dblib.version>
76 <sdnctl.aai.service.version>1.1.2-SNAPSHOT</sdnctl.aai.service.version>
77 <openecomp.sdnc.sql-resource.version>1.1.2-SNAPSHOT</openecomp.sdnc.sql-resource.version>
79 <cdp.pal.version>1.1.7-oss</cdp.pal.version>
80 <dmaap.client.version>0.2.12</dmaap.client.version>
81 <eelf.version>0.0.1</eelf.version>
82 <eelf.maven.plugin.version>0.0.1</eelf.maven.plugin.version>
83 <cadi-version>1.3.0</cadi-version>
84 <inno-version>1.2.11</inno-version>
85 <dme2-version>3.1.200</dme2-version>
86 <bundle.plugin.version>2.5.0</bundle.plugin.version>
87 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
88 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
89 <apache.httpcomponents.version>4.4</apache.httpcomponents.version>
90 <commons.lang3.version>3.4</commons.lang3.version>
91 <antlr.version>4.5.1</antlr.version>
92 <mysql.connector.version>5.1.39</mysql.connector.version>
93 <logback.version>1.1.1</logback.version>
94 <toscalib.version>1.1.0</toscalib.version>
95 <sdc-client.version>1.1.13-SNAPSHOT</sdc-client.version>
96 <jackson.yml.version>2.3.2</jackson.yml.version>
99 <sonar.language>java</sonar.language>
100 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
101 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
102 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
103 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
104 <sonar.projectVersion>${project.version}</sonar.projectVersion>
106 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
107 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
108 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
109 <yang.file.directory>src/main/yang</yang.file.directory>
110 <features.file>features.xml</features.file>
111 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
112 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
117 <!-- ================================================================================== -->
118 <!-- Javadoc Generation Plugin -->
119 <!-- ================================================================================== -->
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-javadoc-plugin</artifactId>
125 <version>2.10</version>
127 <excludePackageNames>org.openecomp.sdnc</excludePackageNames>
128 <failOnError>false</failOnError>
129 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
131 <groupId>org.umlgraph</groupId>
132 <artifactId>umlgraph</artifactId>
133 <version>5.6</version>
135 <additionalparam>-views</additionalparam>
136 <useStandardDocletOptions>true</useStandardDocletOptions>
143 <!-- ================================================================================== -->
144 <!-- Distribution Management Sites -->
145 <!-- ================================================================================== -->
146 <distributionManagement>
147 <!-- This site is used for Javadocs -->
150 <url>dav:${onap.nexus.url}/sites/site/org/onap/appc/${project.version}</url>
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>
203 <groupId>org.opendaylight.odlparent</groupId>
204 <artifactId>odlparent</artifactId>
205 <version>1.7.1-Boron-SR1</version>
206 <scope>import</scope>
210 <groupId>org.opendaylight.controller</groupId>
211 <artifactId>config-api</artifactId>
212 <version>${odl.controller.config.api.version}</version>
215 <groupId>org.opendaylight.controller</groupId>
216 <artifactId>sal-binding-config</artifactId>
217 <version>${odl.mdsal.version}</version>
220 <groupId>org.opendaylight.controller</groupId>
221 <artifactId>sal-binding-api</artifactId>
222 <version>${odl.mdsal.version}</version>
225 <groupId>org.opendaylight.controller</groupId>
226 <artifactId>sal-test-model</artifactId>
227 <version>${odl.mdsal.version}</version>
230 <groupId>org.opendaylight.netconf</groupId>
231 <artifactId>sal-rest-connector</artifactId>
232 <version>${odl.mdsal.version}</version>
235 <groupId>org.opendaylight.controller</groupId>
236 <artifactId>sal-binding-broker-impl</artifactId>
237 <version>${odl.mdsal.version}</version>
240 <groupId>org.opendaylight.controller</groupId>
241 <artifactId>sal-common-util</artifactId>
242 <version>${odl.mdsal.version}</version>
245 <groupId>org.opendaylight.mdsal</groupId>
246 <artifactId>yang-binding</artifactId>
247 <version>${odl.mdsal.yang.binding.version}</version>
250 <groupId>org.opendaylight.yangtools</groupId>
251 <artifactId>yang-common</artifactId>
252 <version>${odl.yangtools.version}</version>
255 <groupId>org.opendaylight.controller</groupId>
256 <artifactId>features-mdsal</artifactId>
257 <version>${odl.controller.mdsal.features.version}</version>
258 <classifier>features</classifier>
262 <groupId>org.opendaylight.mdsal</groupId>
263 <artifactId>features-mdsal</artifactId>
264 <version>${odl.mdsal.features.version}</version>
265 <classifier>features</classifier>
269 <groupId>org.opendaylight.controller</groupId>
270 <artifactId>opendaylight-karaf-empty</artifactId>
271 <version>${odl.karaf.empty.distro.version}</version>
275 <groupId>org.opendaylight.mdsal.model</groupId>
276 <artifactId>ietf-inet-types</artifactId>
277 <version>${odl.ietf-inet-types.version}</version>
280 <groupId>org.opendaylight.mdsal.model</groupId>
281 <artifactId>ietf-yang-types</artifactId>
282 <version>${odl.ietf-yang-types.version}</version>
284 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
285 <!-- Required for launching the feature tests -->
286 <!-- <dependency> -->
287 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
288 <!-- <artifactId>features-test</artifactId> -->
289 <!-- <version>${odl.yangtools.version}</version> -->
290 <!-- <scope>test</scope> -->
291 <!-- </dependency> -->
295 <groupId>org.opendaylight.yangtools</groupId>
296 <artifactId>features-yangtools</artifactId>
297 <version>${odl.yangtools.version}</version>
298 <classifier>features</classifier>
303 <groupId>org.openecomp.sdnc.core</groupId>
304 <artifactId>sli-common</artifactId>
305 <version>${sdnctl.sli.version}</version>
308 <groupId>org.openecomp.sdnc.core</groupId>
309 <artifactId>sli-provider</artifactId>
310 <version>${sdnctl.sli.version}</version>
314 <groupId>org.openecomp.sdnc.core</groupId>
315 <artifactId>dblib-provider</artifactId>
316 <version>${sdnctl.dblib.version}</version>
318 <!-- A&AI service provider dependency override in order to use a stable
321 <groupId>org.openecomp.sdnc.adaptors</groupId>
322 <artifactId>aai-service-provider</artifactId>
323 <version>${sdnctl.aai.service.version}</version>
327 <groupId>org.openecomp.appc</groupId>
328 <artifactId>appc-controller-features</artifactId>
329 <classifier>features</classifier>
331 <version>${project.version}</version>
334 <groupId>org.openecomp.appc</groupId>
335 <artifactId>appc-controller-model</artifactId>
336 <version>${project.version}</version>
339 <groupId>org.openecomp.appc</groupId>
340 <artifactId>appc-controller-bundle</artifactId>
341 <version>${project.version}</version>
342 <classifier>config</classifier>
346 <groupId>org.openecomp.appc</groupId>
347 <artifactId>appc-controller-bundle</artifactId>
348 <version>${project.version}</version>
352 <groupId>equinoxSDK381</groupId>
353 <artifactId>org.eclipse.osgi</artifactId>
354 <version>${equinox.osgi.version}</version>
357 <groupId>org.apache.commons</groupId>
358 <artifactId>commons-lang3</artifactId>
359 <version>${commons.lang3.version}</version>
362 <groupId>junit</groupId>
363 <artifactId>junit</artifactId>
364 <version>4.12</version>
368 <groupId>ch.qos.logback</groupId>
369 <artifactId>logback-core</artifactId>
370 <version>1.1.1</version>
371 <scope>compile</scope>
374 <groupId>ch.qos.logback</groupId>
375 <artifactId>logback-classic</artifactId>
376 <version>1.1.1</version>
377 <scope>compile</scope>
379 <!-- <dependency> -->
380 <!-- <groupId>org.slf4j</groupId> -->
381 <!-- <artifactId>slf4j-api</artifactId> -->
382 <!-- <version>1.7.12</version> -->
383 <!-- </dependency> -->
385 <groupId>commons-lang</groupId>
386 <artifactId>commons-lang</artifactId>
387 <version>2.6</version>
390 <groupId>org.apache.sshd</groupId>
391 <artifactId>sshd-core</artifactId>
392 <version>0.12.0</version>
395 <groupId>org.mockito</groupId>
396 <artifactId>mockito-core</artifactId>
397 <version>1.10.19</version>
401 <groupId>com.att.cdp</groupId>
402 <artifactId>cdp-pal-common</artifactId>
403 <version>${cdp.pal.version}</version>
406 <groupId>com.att.cdp</groupId>
407 <artifactId>cdp-pal-openstack</artifactId>
408 <version>${cdp.pal.version}</version>
411 <groupId>com.att.authz</groupId>
412 <artifactId>authz-client</artifactId>
413 <version>2.3</version>
415 <!-- EELF logging framework -->
417 <groupId>com.att.eelf</groupId>
418 <artifactId>eelf-core</artifactId>
419 <version>${eelf.version}</version>
422 </dependencyManagement>
425 <!-- ================================================================================== -->
426 <!-- Define common plugins and make them available for all modules -->
427 <!-- ================================================================================== -->
431 <!-- Define the site plugin to generate documentation -->
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-site-plugin</artifactId>
435 <version>3.4</version>
437 <!-- add support for ssh/scp -->
439 <groupId>org.apache.maven.wagon</groupId>
440 <artifactId>wagon-ssh</artifactId>
441 <version>1.0</version>
445 <!-- Define the compiler plugin -->
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-compiler-plugin</artifactId>
449 <version>${maven.compile.plugin.version}</version>
451 <!-- Define the javadoc plugin -->
453 <groupId>org.apache.maven.plugins</groupId>
454 <artifactId>maven-javadoc-plugin</artifactId>
455 <version>2.10</version>
457 <excludePackageNames>org.opendaylight.*:org.openecomp.sdnc</excludePackageNames>
460 <!-- Define the source plugin -->
462 <artifactId>maven-source-plugin</artifactId>
463 <version>2.1.1</version>
465 <!-- Resources plugin -->
467 <groupId>org.apache.maven.plugins</groupId>
468 <artifactId>maven-resources-plugin</artifactId>
469 <version>2.6</version>
474 <goal>resources</goal>
476 <phase>generate-resources</phase>
481 <artifactId>maven-release-plugin</artifactId>
482 <version>2.5.2</version>
484 <goals>-s ${mvn.settings} deploy</goals>
488 <artifactId>maven-assembly-plugin</artifactId>
489 <version>2.5.5</version>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-deploy-plugin</artifactId>
494 <version>2.8.1</version>
497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-dependency-plugin</artifactId>
499 <version>2.10</version>
501 <!-- Maven surefire plugin for testing -->
503 <artifactId>maven-surefire-plugin</artifactId>
504 <version>2.17</version>
506 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
508 <groupId>org.apache.felix</groupId>
509 <artifactId>maven-bundle-plugin</artifactId>
510 <version>${bundle.plugin.version}</version>
513 <groupId>org.codehaus.mojo</groupId>
514 <artifactId>build-helper-maven-plugin</artifactId>
515 <version>1.9.1</version>
518 <groupId>org.sonarsource.scanner.maven</groupId>
519 <artifactId>sonar-maven-plugin</artifactId>
520 <version>3.2</version>
525 <!--maven staging plugin -->
527 <groupId>org.sonatype.plugins</groupId>
528 <artifactId>nexus-staging-maven-plugin</artifactId>
529 <version>1.6.7</version>
530 <extensions>true</extensions>
532 <nexusUrl>${onap.nexus.url}</nexusUrl>
533 <stagingProfileId>176c31dfe190a</stagingProfileId>
534 <serverId>ecomp-staging</serverId>
537 <!-- Javadocs Plugin -->
539 <groupId>org.apache.maven.plugins</groupId>
540 <artifactId>maven-site-plugin</artifactId>
541 <version>3.6</version>
544 <groupId>org.apache.maven.wagon</groupId>
545 <artifactId>wagon-webdav-jackrabbit</artifactId>
546 <version>2.10</version>
551 <groupId>org.codehaus.mojo</groupId>
552 <artifactId>properties-maven-plugin</artifactId>
556 <goal>set-system-properties</goal>
561 <name>maven.wagon.http.ssl.allowall</name>
562 <value>${ssl.allowall}</value>
565 <name>maven.wagon.http.ssl.insecure</name>
566 <value>${ssl.insecure}</value>
575 <!-- blackduck maven plugin -->
576 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
577 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
578 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
579 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
580 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
582 <!-- force Eclipse to skip the additional-install step specified in the
583 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
585 <groupId>org.apache.maven.plugins</groupId>
586 <artifactId>maven-install-plugin</artifactId>
589 <id>additional-install</id>
591 <goal>install-file</goal>
600 <!-- ================================================================================== -->
601 <!-- The modules we build every time -->
602 <!-- ================================================================================== -->
604 <module>appc-common</module>
606 <!-- Adding profiles for testing -->
611 <ssl.allowall>true</ssl.allowall>
612 <ssl.insecure>true</ssl.insecure>
613 <openecomp.git.port>7999</openecomp.git.port>
614 <openecomp.git.project>st_osecomp</openecomp.git.project>
615 <openecomp.git.protocol>http</openecomp.git.protocol>
617 <!-- Core app-c from 1604 -->
619 <activeByDefault>true</activeByDefault>
622 <module>appc-common</module>
623 <module>appc-adapters</module>
624 <module>appc-provider</module>
625 <module>appc-event-listener</module>
626 <module>appc-sdc-listener</module>
627 <module>appc-lifecycle-management</module>
628 <module>appc-oam</module>
629 <module>appc-config</module>
630 <module>appc-directed-graph</module>
631 <module>appc-outbound</module>
632 <module>appc-inbound</module>
633 <module>appc-sequence-generator</module>
634 <module>appc-client</module>
638 <id>request-dispatcher</id>
640 <ssl.allowall>true</ssl.allowall>
641 <ssl.insecure>true</ssl.insecure>
644 <activeByDefault>true</activeByDefault>
647 <module>appc-dispatcher</module>
648 <module>appc-metric</module>
649 <module>appc-dg</module>
650 <module>appc-dg-util</module>