1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <groupId>org.onap.oparent</groupId>
6 <artifactId>oparent</artifactId>
7 <version>1.0.0-SNAPSHOT</version>
11 <modelVersion>4.0.0</modelVersion>
12 <packaging>pom</packaging>
13 <groupId>org.openecomp.appc</groupId>
14 <artifactId>appc</artifactId>
15 <version>1.1.0-SNAPSHOT</version>
17 <description>Construct the Application Controller component for the ECOMP project.</description>
18 <inceptionYear>2015-07-20</inceptionYear>
20 <name>OpenECOMP</name>
24 <!-- ================================================================================== -->
25 <!-- Configuration properties -->
26 <!-- ================================================================================== -->
29 <!-- OpenDaylight Versions -->
30 <odl.version>1.7.1-Boron-SR1</odl.version>
31 <odl.dlux.version>0.4.1-Boron-SR1</odl.dlux.version>
32 <odl.yangtools.version>1.0.1-Boron-SR1</odl.yangtools.version>
33 <odl.mdsal.version>1.4.1-Boron-SR1</odl.mdsal.version>
34 <odl.mdsal.features.version>2.1.1-Boron-SR1</odl.mdsal.features.version>
35 <odl.controller.mdsal.features.version>1.4.1-Boron-SR1</odl.controller.mdsal.features.version>
36 <odl.mdsal.model.version>0.9.1-Boron-SR1</odl.mdsal.model.version>
37 <odl.mdsal.yang.binding.version>0.9.1-Boron-SR1</odl.mdsal.yang.binding.version>
38 <odl.restconf.version>1.4.1-Boron-SR1</odl.restconf.version>
39 <odl.controller.model.version>${odl.mdsal.model.version}</odl.controller.model.version>
40 <odl.controller.config.api.version>0.5.1-Boron-SR1</odl.controller.config.api.version>
41 <odl.karaf.empty.distro.version>${odl.version}</odl.karaf.empty.distro.version>
42 <odl.commons.opendaylight.version>${odl.version}</odl.commons.opendaylight.version>
43 <odl.ietf-inet-types.version>2010.09.24.9.1-Boron-SR1</odl.ietf-inet-types.version>
44 <odl.ietf-yang-types.version>2010.09.24.9.1-Boron-SR1</odl.ietf-yang-types.version>
45 <odl.yang.jmx.generator.version>0.5.1-Boron-SR1</odl.yang.jmx.generator.version>
46 <odl.yangtools.yang.maven.plugin.version>${odl.yangtools.version}</odl.yangtools.yang.maven.plugin.version>
47 <odl.sal.api.gen.plugin.version>0.9.1-Boron-SR1</odl.sal.api.gen.plugin.version>
48 <broker-mdsal.version>1.4.1-Boron-SR1</broker-mdsal.version>
50 <!-- OPENECOMP SDNC versions -->
51 <sdnctl.sli.version>1.1.2-SNAPSHOT</sdnctl.sli.version>
52 <sdnctl.dblib.version>1.1.2-SNAPSHOT</sdnctl.dblib.version>
53 <sdnctl.aai.service.version>1.1.2-SNAPSHOT</sdnctl.aai.service.version>
55 <cdp.pal.version>1.1.7-oss</cdp.pal.version>
56 <dmaap.client.version>0.2.12</dmaap.client.version>
57 <eelf.version>0.0.1</eelf.version>
58 <eelf.maven.plugin.version>0.0.1</eelf.maven.plugin.version>
59 <cadi-version>1.3.0</cadi-version>
60 <inno-version>1.2.11</inno-version>
61 <dme2-version>3.1.200</dme2-version>
62 <bundle.plugin.version>2.5.0</bundle.plugin.version>
63 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
64 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
65 <apache.httpcomponents.version>4.4</apache.httpcomponents.version>
66 <commons.lang3.version>3.4</commons.lang3.version>
67 <antlr.version>4.5.1</antlr.version>
68 <mysql.connector.version>5.1.39</mysql.connector.version>
69 <logback.version>1.1.1</logback.version>
70 <toscalib.version>1.1.0-SNAPSHOT</toscalib.version>
71 <sdc-client.version>1.1.13-SNAPSHOT</sdc-client.version>
72 <jackson.yml.version>2.3.2</jackson.yml.version>
75 <sonar.language>java</sonar.language>
76 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
77 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
78 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
79 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
80 <sonar.projectVersion>${project.version}</sonar.projectVersion>
82 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
83 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
84 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
85 <yang.file.directory>src/main/yang</yang.file.directory>
86 <features.file>features.xml</features.file>
87 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
88 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
93 <!-- ================================================================================== -->
94 <!-- Javadoc Generation Plugin -->
95 <!-- ================================================================================== -->
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-javadoc-plugin</artifactId>
101 <version>2.10</version>
103 <excludePackageNames>org.openecomp.sdnc</excludePackageNames>
104 <failOnError>false</failOnError>
105 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
107 <groupId>org.umlgraph</groupId>
108 <artifactId>umlgraph</artifactId>
109 <version>5.6</version>
111 <additionalparam>-views</additionalparam>
112 <useStandardDocletOptions>true</useStandardDocletOptions>
119 <!-- ================================================================================== -->
120 <!-- Distribution Management Sites -->
121 <!-- ================================================================================== -->
122 <distributionManagement>
123 <!-- This site is used for Javadocs -->
126 <url>dav:${onap.nexus.url}/sites/site/org/onap/appc/${project.version}</url>
128 </distributionManagement>
131 <!-- ================================================================================== -->
132 <!-- Define plugin repositories -->
133 <!-- ================================================================================== -->
136 <id>opendaylight-mirror</id>
137 <name>opendaylight-mirror</name>
138 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
140 <enabled>true</enabled>
141 <updatePolicy>never</updatePolicy>
144 <enabled>false</enabled>
148 <id>opendaylight-snapshot</id>
149 <name>opendaylight-snapshot</name>
150 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
152 <enabled>false</enabled>
155 <enabled>true</enabled>
158 <!-- Black Duck plugin dependencies -->
161 <name>JCenter Repository</name>
162 <url>http://jcenter.bintray.com</url>
166 <name>Restlet Repository</name>
167 <url>http://maven.restlet.com</url>
169 </pluginRepositories>
172 <!-- ================================================================================== -->
173 <!-- Define project-wide dependencies -->
174 <!-- ================================================================================== -->
175 <dependencyManagement>
179 <groupId>org.opendaylight.odlparent</groupId>
180 <artifactId>odlparent</artifactId>
181 <version>1.7.1-Boron-SR1</version>
182 <scope>import</scope>
186 <groupId>org.opendaylight.controller</groupId>
187 <artifactId>config-api</artifactId>
188 <version>${odl.controller.config.api.version}</version>
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>sal-binding-config</artifactId>
193 <version>${odl.mdsal.version}</version>
196 <groupId>org.opendaylight.controller</groupId>
197 <artifactId>sal-binding-api</artifactId>
198 <version>${odl.mdsal.version}</version>
201 <groupId>org.opendaylight.controller</groupId>
202 <artifactId>sal-test-model</artifactId>
203 <version>${odl.mdsal.version}</version>
206 <groupId>org.opendaylight.netconf</groupId>
207 <artifactId>sal-rest-connector</artifactId>
208 <version>${odl.mdsal.version}</version>
211 <groupId>org.opendaylight.controller</groupId>
212 <artifactId>sal-binding-broker-impl</artifactId>
213 <version>${odl.mdsal.version}</version>
216 <groupId>org.opendaylight.controller</groupId>
217 <artifactId>sal-common-util</artifactId>
218 <version>${odl.mdsal.version}</version>
221 <groupId>org.opendaylight.mdsal</groupId>
222 <artifactId>yang-binding</artifactId>
223 <version>${odl.mdsal.yang.binding.version}</version>
226 <groupId>org.opendaylight.yangtools</groupId>
227 <artifactId>yang-common</artifactId>
228 <version>${odl.yangtools.version}</version>
231 <groupId>org.opendaylight.controller</groupId>
232 <artifactId>features-mdsal</artifactId>
233 <version>${odl.controller.mdsal.features.version}</version>
234 <classifier>features</classifier>
238 <groupId>org.opendaylight.mdsal</groupId>
239 <artifactId>features-mdsal</artifactId>
240 <version>${odl.mdsal.features.version}</version>
241 <classifier>features</classifier>
245 <groupId>org.opendaylight.controller</groupId>
246 <artifactId>opendaylight-karaf-empty</artifactId>
247 <version>${odl.karaf.empty.distro.version}</version>
251 <groupId>org.opendaylight.mdsal.model</groupId>
252 <artifactId>ietf-inet-types</artifactId>
253 <version>${odl.ietf-inet-types.version}</version>
256 <groupId>org.opendaylight.mdsal.model</groupId>
257 <artifactId>ietf-yang-types</artifactId>
258 <version>${odl.ietf-yang-types.version}</version>
260 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
261 <!-- Required for launching the feature tests -->
262 <!-- <dependency> -->
263 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
264 <!-- <artifactId>features-test</artifactId> -->
265 <!-- <version>${odl.yangtools.version}</version> -->
266 <!-- <scope>test</scope> -->
267 <!-- </dependency> -->
271 <groupId>org.opendaylight.yangtools</groupId>
272 <artifactId>features-yangtools</artifactId>
273 <version>${odl.yangtools.version}</version>
274 <classifier>features</classifier>
279 <groupId>org.openecomp.sdnc.core</groupId>
280 <artifactId>sli-common</artifactId>
281 <version>${sdnctl.sli.version}</version>
284 <groupId>org.openecomp.sdnc.core</groupId>
285 <artifactId>sli-provider</artifactId>
286 <version>${sdnctl.sli.version}</version>
290 <groupId>org.openecomp.sdnc.core</groupId>
291 <artifactId>dblib-provider</artifactId>
292 <version>${sdnctl.dblib.version}</version>
294 <!-- A&AI service provider dependency override in order to use a stable
297 <groupId>org.openecomp.sdnc.adaptors</groupId>
298 <artifactId>aai-service-provider</artifactId>
299 <version>${sdnctl.aai.service.version}</version>
303 <groupId>org.openecomp.appc</groupId>
304 <artifactId>appc-controller-features</artifactId>
305 <classifier>features</classifier>
307 <version>${project.version}</version>
310 <groupId>org.openecomp.appc</groupId>
311 <artifactId>appc-controller-model</artifactId>
312 <version>${project.version}</version>
315 <groupId>org.openecomp.appc</groupId>
316 <artifactId>appc-controller-bundle</artifactId>
317 <version>${project.version}</version>
318 <classifier>config</classifier>
322 <groupId>org.openecomp.appc</groupId>
323 <artifactId>appc-controller-bundle</artifactId>
324 <version>${project.version}</version>
328 <groupId>equinoxSDK381</groupId>
329 <artifactId>org.eclipse.osgi</artifactId>
330 <version>${equinox.osgi.version}</version>
333 <groupId>org.apache.commons</groupId>
334 <artifactId>commons-lang3</artifactId>
335 <version>${commons.lang3.version}</version>
338 <groupId>junit</groupId>
339 <artifactId>junit</artifactId>
340 <version>4.12</version>
344 <groupId>ch.qos.logback</groupId>
345 <artifactId>logback-core</artifactId>
346 <version>1.1.1</version>
347 <scope>compile</scope>
350 <groupId>ch.qos.logback</groupId>
351 <artifactId>logback-classic</artifactId>
352 <version>1.1.1</version>
353 <scope>compile</scope>
355 <!-- <dependency> -->
356 <!-- <groupId>org.slf4j</groupId> -->
357 <!-- <artifactId>slf4j-api</artifactId> -->
358 <!-- <version>1.7.12</version> -->
359 <!-- </dependency> -->
361 <groupId>commons-lang</groupId>
362 <artifactId>commons-lang</artifactId>
363 <version>2.6</version>
366 <groupId>org.apache.sshd</groupId>
367 <artifactId>sshd-core</artifactId>
368 <version>0.12.0</version>
371 <groupId>org.mockito</groupId>
372 <artifactId>mockito-core</artifactId>
373 <version>1.10.19</version>
377 <groupId>com.att.cdp</groupId>
378 <artifactId>cdp-pal-common</artifactId>
379 <version>${cdp.pal.version}</version>
382 <groupId>com.att.cdp</groupId>
383 <artifactId>cdp-pal-openstack</artifactId>
384 <version>${cdp.pal.version}</version>
387 <groupId>com.att.authz</groupId>
388 <artifactId>authz-client</artifactId>
389 <version>2.3</version>
391 <!-- EELF logging framework -->
393 <groupId>com.att.eelf</groupId>
394 <artifactId>eelf-core</artifactId>
395 <version>${eelf.version}</version>
398 </dependencyManagement>
401 <!-- ================================================================================== -->
402 <!-- Define common plugins and make them available for all modules -->
403 <!-- ================================================================================== -->
407 <!-- Define the site plugin to generate documentation -->
409 <groupId>org.apache.maven.plugins</groupId>
410 <artifactId>maven-site-plugin</artifactId>
411 <version>3.4</version>
413 <!-- add support for ssh/scp -->
415 <groupId>org.apache.maven.wagon</groupId>
416 <artifactId>wagon-ssh</artifactId>
417 <version>1.0</version>
421 <!-- Define the compiler plugin -->
423 <groupId>org.apache.maven.plugins</groupId>
424 <artifactId>maven-compiler-plugin</artifactId>
425 <version>${maven.compile.plugin.version}</version>
427 <!-- Define the javadoc plugin -->
429 <groupId>org.apache.maven.plugins</groupId>
430 <artifactId>maven-javadoc-plugin</artifactId>
431 <version>2.10</version>
433 <excludePackageNames>org.opendaylight.*:org.openecomp.sdnc</excludePackageNames>
436 <!-- Define the source plugin -->
438 <artifactId>maven-source-plugin</artifactId>
439 <version>2.1.1</version>
441 <!-- Resources plugin -->
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-resources-plugin</artifactId>
445 <version>2.6</version>
450 <goal>resources</goal>
452 <phase>generate-resources</phase>
457 <artifactId>maven-release-plugin</artifactId>
458 <version>2.5.2</version>
460 <goals>-s ${mvn.settings} deploy</goals>
464 <artifactId>maven-assembly-plugin</artifactId>
465 <version>2.5.5</version>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-deploy-plugin</artifactId>
470 <version>2.8.1</version>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-dependency-plugin</artifactId>
475 <version>2.10</version>
477 <!-- Maven surefire plugin for testing -->
479 <artifactId>maven-surefire-plugin</artifactId>
480 <version>2.17</version>
482 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
484 <groupId>org.apache.felix</groupId>
485 <artifactId>maven-bundle-plugin</artifactId>
486 <version>${bundle.plugin.version}</version>
489 <groupId>org.codehaus.mojo</groupId>
490 <artifactId>build-helper-maven-plugin</artifactId>
491 <version>1.9.1</version>
493 <!-- SonarQube plugin -->
495 <groupId>org.codehaus.mojo</groupId>
496 <artifactId>sonar-maven-plugin</artifactId>
497 <version>3.2</version>
502 <!--maven staging plugin -->
504 <groupId>org.sonatype.plugins</groupId>
505 <artifactId>nexus-staging-maven-plugin</artifactId>
506 <version>1.6.7</version>
507 <extensions>true</extensions>
509 <nexusUrl>${onap.nexus.url}</nexusUrl>
510 <stagingProfileId>176c31dfe190a</stagingProfileId>
511 <serverId>ecomp-staging</serverId>
514 <!-- Javadocs Plugin -->
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-site-plugin</artifactId>
518 <version>3.6</version>
521 <groupId>org.apache.maven.wagon</groupId>
522 <artifactId>wagon-webdav-jackrabbit</artifactId>
523 <version>2.10</version>
527 <!-- license plugin -->
529 <groupId>org.codehaus.mojo</groupId>
530 <artifactId>license-maven-plugin</artifactId>
531 <version>1.10</version>
534 <yml>properties</yml>
537 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
538 <processStartTag>============LICENSE_START=======================================================</processStartTag>
539 <processEndTag>============LICENSE_END=========================================================</processEndTag>
540 <sectionDelimiter>================================================================================</sectionDelimiter>
541 <licenseName>appc</licenseName>
542 <!-- This should point to the license directory of the root folder of the base appc project -->
543 <licenseResolver>file:${user.dir}/license-details</licenseResolver>
544 <inceptionYear>2017</inceptionYear>
545 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
546 <projectName>ONAP : APPC</projectName>
547 <canUpdateCopyright>true</canUpdateCopyright>
548 <canUpdateDescription>true</canUpdateDescription>
549 <canUpdateLicense>true</canUpdateLicense>
550 <emptyLineAfterHeader>true</emptyLineAfterHeader>
551 <!-- exclude json files -->
553 <exclude>**/*.json</exclude>
560 <goal>update-file-header</goal>
562 <phase>process-sources</phase>
567 <groupId>org.codehaus.mojo</groupId>
568 <artifactId>properties-maven-plugin</artifactId>
572 <goal>set-system-properties</goal>
577 <name>maven.wagon.http.ssl.allowall</name>
578 <value>${ssl.allowall}</value>
581 <name>maven.wagon.http.ssl.insecure</name>
582 <value>${ssl.insecure}</value>
591 <!-- blackduck maven plugin -->
592 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
593 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
594 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
595 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
596 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
598 <!-- force Eclipse to skip the additional-install step specified in the
599 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-install-plugin</artifactId>
605 <id>additional-install</id>
607 <goal>install-file</goal>
616 <!-- ================================================================================== -->
617 <!-- The modules we build every time -->
618 <!-- ================================================================================== -->
620 <module>appc-common</module>
622 <!-- Adding profiles for testing -->
627 <ssl.allowall>true</ssl.allowall>
628 <ssl.insecure>true</ssl.insecure>
629 <openecomp.git.port>7999</openecomp.git.port>
630 <openecomp.git.project>st_osecomp</openecomp.git.project>
631 <openecomp.git.protocol>http</openecomp.git.protocol>
633 <!-- Core app-c from 1604 -->
635 <activeByDefault>true</activeByDefault>
638 <module>appc-common</module>
639 <module>appc-adapters</module>
640 <module>appc-provider</module>
641 <module>appc-event-listener</module>
642 <module>appc-asdc-listener</module>
643 <module>appc-lifecycle-management</module>
644 <module>appc-oam</module>
648 <id>request-dispatcher</id>
650 <ssl.allowall>true</ssl.allowall>
651 <ssl.insecure>true</ssl.insecure>
654 <activeByDefault>true</activeByDefault>
657 <module>appc-dispatcher</module>
658 <module>appc-metric</module>
659 <module>appc-dg</module>
660 <module>appc-dg-util</module>