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.opendaylight.odlparent</groupId>
6 <artifactId>odlparent</artifactId>
7 <version>1.7.1-Boron-SR1</version>
8 <relativePath>../../../../../opendaylight/odlparent</relativePath>
12 <modelVersion>4.0.0</modelVersion>
13 <packaging>pom</packaging>
14 <groupId>org.openecomp.appc</groupId>
15 <artifactId>appc</artifactId>
16 <version>1.1.0-SNAPSHOT</version>
18 <description>Construct the Application Controller component for the ECOMP project.</description>
19 <inceptionYear>2015-07-20</inceptionYear>
21 <name>OpenECOMP</name>
25 <!-- ================================================================================== -->
26 <!-- Configuration properties -->
27 <!-- ================================================================================== -->
30 <!-- OpenDaylight Versions -->
31 <odl.version>1.7.1-Boron-SR1</odl.version>
32 <odl.dlux.version>0.4.1-Boron-SR1</odl.dlux.version>
33 <odl.yangtools.version>1.0.1-Boron-SR1</odl.yangtools.version>
34 <odl.mdsal.version>1.4.1-Boron-SR1</odl.mdsal.version>
35 <odl.mdsal.features.version>2.1.1-Boron-SR1</odl.mdsal.features.version>
36 <odl.controller.mdsal.features.version>1.4.1-Boron-SR1</odl.controller.mdsal.features.version>
37 <odl.mdsal.model.version>0.9.1-Boron-SR1</odl.mdsal.model.version>
38 <odl.mdsal.yang.binding.version>0.9.1-Boron-SR1</odl.mdsal.yang.binding.version>
39 <odl.restconf.version>1.4.1-Boron-SR1</odl.restconf.version>
40 <odl.controller.model.version>${odl.mdsal.model.version}</odl.controller.model.version>
41 <odl.controller.config.api.version>0.5.1-Boron-SR1</odl.controller.config.api.version>
42 <odl.karaf.empty.distro.version>${odl.version}</odl.karaf.empty.distro.version>
43 <odl.commons.opendaylight.version>${odl.version}</odl.commons.opendaylight.version>
44 <odl.ietf-inet-types.version>2010.09.24.9.1-Boron-SR1</odl.ietf-inet-types.version>
45 <odl.ietf-yang-types.version>2010.09.24.9.1-Boron-SR1</odl.ietf-yang-types.version>
46 <odl.yang.jmx.generator.version>0.5.1-Boron-SR1</odl.yang.jmx.generator.version>
47 <odl.yangtools.yang.maven.plugin.version>${odl.yangtools.version}</odl.yangtools.yang.maven.plugin.version>
48 <odl.sal.api.gen.plugin.version>0.9.1-Boron-SR1</odl.sal.api.gen.plugin.version>
49 <broker-mdsal.version>1.4.1-Boron-SR1</broker-mdsal.version>
51 <!-- OPENECOMP SDNC versions -->
52 <sdnctl.sli.version>1.1.2</sdnctl.sli.version>
53 <sdnctl.dblib.version>1.1.2</sdnctl.dblib.version>
54 <sdnctl.aai.service.version>1.1.2</sdnctl.aai.service.version>
56 <cdp.pal.version>1.1.7-oss</cdp.pal.version>
57 <dmaap.client.version>0.2.12</dmaap.client.version>
58 <eelf.version>0.0.1</eelf.version>
59 <eelf.maven.plugin.version>0.0.1</eelf.maven.plugin.version>
60 <cadi-version>1.3.0</cadi-version>
61 <inno-version>1.2.11</inno-version>
62 <dme2-version>3.1.200</dme2-version>
63 <bundle.plugin.version>2.5.0</bundle.plugin.version>
64 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
65 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
66 <apache.httpcomponents.version>4.4</apache.httpcomponents.version>
67 <commons.lang3.version>3.4</commons.lang3.version>
68 <antlr.version>4.5.1</antlr.version>
69 <mysql.connector.version>5.1.39</mysql.connector.version>
70 <logback.version>1.1.1</logback.version>
71 <toscalib.version>1.0.0-SNAPSHOT</toscalib.version>
74 <sonar.language>java</sonar.language>
75 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
76 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
77 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
78 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
79 <sonar.projectVersion>${project.version}</sonar.projectVersion>
81 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
82 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
83 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
84 <yang.file.directory>src/main/yang</yang.file.directory>
85 <features.file>features.xml</features.file>
86 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
87 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
88 <checkstyle.skip>true</checkstyle.skip>
91 <openecomp.nexus.host>nexus.onap.org</openecomp.nexus.host>
92 <openecomp.nexus.url>https://${openecomp.nexus.host}/content</openecomp.nexus.url>
93 <openecomp.nexus.snapshot-url>${openecomp.nexus.url}/repositories/snapshots/</openecomp.nexus.snapshot-url>
94 <openecomp.nexus.release-url>${openecomp.nexus.url}/repositories/releases/</openecomp.nexus.release-url>
95 <openecomp.nexus.javadocs-url>dav:${openecomp.nexus.url}/sites/site/org/onap/appc/${project.version}</openecomp.nexus.javadocs-url>
99 <!-- ================================================================================== -->
100 <!-- Javadoc Generation Plugin -->
101 <!-- ================================================================================== -->
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-javadoc-plugin</artifactId>
107 <version>2.10.4</version>
109 <excludePackageNames>org.openecomp.sdnc</excludePackageNames>
110 <failOnError>false</failOnError>
111 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
113 <groupId>org.umlgraph</groupId>
114 <artifactId>umlgraph</artifactId>
115 <version>5.6</version>
117 <additionalparam>-views</additionalparam>
118 <useStandardDocletOptions>true</useStandardDocletOptions>
125 <!-- ================================================================================== -->
126 <!-- Distribution Management Sites -->
127 <!-- ================================================================================== -->
128 <distributionManagement>
129 <!-- This site is used for Javadocs -->
132 <url>${openecomp.nexus.javadocs-url}</url>
135 <id>ecomp-releases</id>
136 <name>openecomp-repository-releases</name>
137 <url>${openecomp.nexus.release-url}</url>
140 <id>ecomp-snapshots</id>
141 <name>openecomp-repository-snapshots</name>
142 <url>${openecomp.nexus.snapshot-url}</url>
143 </snapshotRepository>
144 </distributionManagement>
147 <!-- ================================================================================== -->
148 <!-- Define plugin repositories -->
149 <!-- ================================================================================== -->
152 <id>opendaylight-mirror</id>
153 <name>opendaylight-mirror</name>
154 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
156 <enabled>true</enabled>
157 <updatePolicy>never</updatePolicy>
160 <enabled>false</enabled>
164 <id>opendaylight-snapshot</id>
165 <name>opendaylight-snapshot</name>
166 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
168 <enabled>false</enabled>
171 <enabled>true</enabled>
174 <!-- Black Duck plugin dependencies -->
177 <name>JCenter Repository</name>
178 <url>http://jcenter.bintray.com</url>
182 <name>Restlet Repository</name>
183 <url>http://maven.restlet.com</url>
185 </pluginRepositories>
188 <!-- ================================================================================== -->
189 <!-- Define project-wide dependencies -->
190 <!-- ================================================================================== -->
191 <dependencyManagement>
195 <groupId>org.opendaylight.controller</groupId>
196 <artifactId>config-api</artifactId>
197 <version>${odl.controller.config.api.version}</version>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>sal-binding-config</artifactId>
202 <version>${odl.mdsal.version}</version>
205 <groupId>org.opendaylight.controller</groupId>
206 <artifactId>sal-binding-api</artifactId>
207 <version>${odl.mdsal.version}</version>
210 <groupId>org.opendaylight.controller</groupId>
211 <artifactId>sal-test-model</artifactId>
212 <version>${odl.mdsal.version}</version>
215 <groupId>org.opendaylight.netconf</groupId>
216 <artifactId>sal-rest-connector</artifactId>
217 <version>${odl.mdsal.version}</version>
220 <groupId>org.opendaylight.controller</groupId>
221 <artifactId>sal-binding-broker-impl</artifactId>
222 <version>${odl.mdsal.version}</version>
225 <groupId>org.opendaylight.controller</groupId>
226 <artifactId>sal-common-util</artifactId>
227 <version>${odl.mdsal.version}</version>
230 <groupId>org.opendaylight.mdsal</groupId>
231 <artifactId>yang-binding</artifactId>
232 <version>${odl.mdsal.yang.binding.version}</version>
235 <groupId>org.opendaylight.yangtools</groupId>
236 <artifactId>yang-common</artifactId>
237 <version>${odl.yangtools.version}</version>
240 <groupId>org.opendaylight.controller</groupId>
241 <artifactId>features-mdsal</artifactId>
242 <version>${odl.controller.mdsal.features.version}</version>
243 <classifier>features</classifier>
247 <groupId>org.opendaylight.mdsal</groupId>
248 <artifactId>features-mdsal</artifactId>
249 <version>${odl.mdsal.features.version}</version>
250 <classifier>features</classifier>
254 <groupId>org.opendaylight.controller</groupId>
255 <artifactId>opendaylight-karaf-empty</artifactId>
256 <version>${odl.karaf.empty.distro.version}</version>
260 <groupId>org.opendaylight.mdsal.model</groupId>
261 <artifactId>ietf-inet-types</artifactId>
262 <version>${odl.ietf-inet-types.version}</version>
265 <groupId>org.opendaylight.mdsal.model</groupId>
266 <artifactId>ietf-yang-types</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 <!-- <version>${odl.yangtools.version}</version> -->
275 <!-- <scope>test</scope> -->
276 <!-- </dependency> -->
280 <groupId>org.opendaylight.yangtools</groupId>
281 <artifactId>features-yangtools</artifactId>
282 <version>${odl.yangtools.version}</version>
283 <classifier>features</classifier>
288 <groupId>org.openecomp.sdnc.core</groupId>
289 <artifactId>sli-common</artifactId>
290 <version>${sdnctl.sli.version}</version>
293 <groupId>org.openecomp.sdnc.core</groupId>
294 <artifactId>sli-provider</artifactId>
295 <version>${sdnctl.sli.version}</version>
299 <groupId>org.openecomp.sdnc.core</groupId>
300 <artifactId>dblib-provider</artifactId>
301 <version>${sdnctl.dblib.version}</version>
303 <!-- A&AI service provider dependency override in order to use a stable
306 <groupId>org.openecomp.sdnc.adaptors</groupId>
307 <artifactId>aai-service-provider</artifactId>
308 <version>${sdnctl.aai.service.version}</version>
312 <groupId>org.openecomp.appc</groupId>
313 <artifactId>appc-controller-features</artifactId>
314 <classifier>features</classifier>
316 <version>${project.version}</version>
319 <groupId>org.openecomp.appc</groupId>
320 <artifactId>appc-controller-model</artifactId>
321 <version>${project.version}</version>
324 <groupId>org.openecomp.appc</groupId>
325 <artifactId>appc-controller-bundle</artifactId>
326 <version>${project.version}</version>
327 <classifier>config</classifier>
331 <groupId>org.openecomp.appc</groupId>
332 <artifactId>appc-controller-bundle</artifactId>
333 <version>${project.version}</version>
337 <groupId>equinoxSDK381</groupId>
338 <artifactId>org.eclipse.osgi</artifactId>
339 <version>${equinox.osgi.version}</version>
342 <groupId>org.apache.commons</groupId>
343 <artifactId>commons-lang3</artifactId>
344 <version>${commons.lang3.version}</version>
347 <groupId>junit</groupId>
348 <artifactId>junit</artifactId>
349 <version>4.12</version>
353 <groupId>ch.qos.logback</groupId>
354 <artifactId>logback-core</artifactId>
355 <version>1.1.1</version>
356 <scope>compile</scope>
359 <groupId>ch.qos.logback</groupId>
360 <artifactId>logback-classic</artifactId>
361 <version>1.1.1</version>
362 <scope>compile</scope>
364 <!-- <dependency> -->
365 <!-- <groupId>org.slf4j</groupId> -->
366 <!-- <artifactId>slf4j-api</artifactId> -->
367 <!-- <version>1.7.12</version> -->
368 <!-- </dependency> -->
370 <groupId>commons-lang</groupId>
371 <artifactId>commons-lang</artifactId>
372 <version>2.6</version>
375 <groupId>org.apache.sshd</groupId>
376 <artifactId>sshd-core</artifactId>
377 <version>0.12.0</version>
380 <groupId>org.mockito</groupId>
381 <artifactId>mockito-core</artifactId>
382 <version>1.10.19</version>
386 <groupId>com.att.cdp</groupId>
387 <artifactId>cdp-pal-common</artifactId>
388 <version>${cdp.pal.version}</version>
391 <groupId>com.att.cdp</groupId>
392 <artifactId>cdp-pal-openstack</artifactId>
393 <version>${cdp.pal.version}</version>
396 <groupId>com.att.authz</groupId>
397 <artifactId>authz-client</artifactId>
398 <version>2.3</version>
400 <!-- EELF logging framework -->
402 <groupId>com.att.eelf</groupId>
403 <artifactId>eelf-core</artifactId>
404 <version>${eelf.version}</version>
407 </dependencyManagement>
410 <!-- ================================================================================== -->
411 <!-- Define common plugins and make them available for all modules -->
412 <!-- ================================================================================== -->
416 <!-- Define the site plugin to generate documentation -->
418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-site-plugin</artifactId>
420 <version>3.4</version>
422 <!-- add support for ssh/scp -->
424 <groupId>org.apache.maven.wagon</groupId>
425 <artifactId>wagon-ssh</artifactId>
426 <version>1.0</version>
430 <!-- Define the compiler plugin -->
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-compiler-plugin</artifactId>
434 <version>${maven.compile.plugin.version}</version>
436 <!-- Define the javadoc plugin -->
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-javadoc-plugin</artifactId>
440 <version>2.10</version>
442 <excludePackageNames>org.opendaylight.*:org.openecomp.sdnc</excludePackageNames>
445 <!-- Define the source plugin -->
447 <artifactId>maven-source-plugin</artifactId>
448 <version>2.1.1</version>
450 <!-- Resources plugin -->
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-resources-plugin</artifactId>
454 <version>2.6</version>
459 <goal>resources</goal>
461 <phase>generate-resources</phase>
466 <artifactId>maven-release-plugin</artifactId>
467 <version>2.5.2</version>
469 <goals>-s ${mvn.settings} deploy</goals>
473 <artifactId>maven-assembly-plugin</artifactId>
474 <version>2.5.5</version>
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-deploy-plugin</artifactId>
479 <version>2.8.1</version>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-dependency-plugin</artifactId>
484 <version>2.10</version>
486 <!-- Maven surefire plugin for testing -->
488 <artifactId>maven-surefire-plugin</artifactId>
489 <version>2.17</version>
491 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
493 <groupId>org.apache.felix</groupId>
494 <artifactId>maven-bundle-plugin</artifactId>
495 <version>${bundle.plugin.version}</version>
498 <groupId>org.codehaus.mojo</groupId>
499 <artifactId>build-helper-maven-plugin</artifactId>
500 <version>1.9.1</version>
502 <!-- SonarQube plugin -->
504 <groupId>org.codehaus.mojo</groupId>
505 <artifactId>sonar-maven-plugin</artifactId>
506 <version>3.2</version>
511 <!--maven staging plugin -->
513 <groupId>org.sonatype.plugins</groupId>
514 <artifactId>nexus-staging-maven-plugin</artifactId>
515 <version>1.6.7</version>
516 <extensions>true</extensions>
518 <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
519 <stagingProfileId>176c31dfe190a</stagingProfileId>
520 <serverId>ecomp-staging</serverId>
523 <!-- Javadocs Plugin -->
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-site-plugin</artifactId>
527 <version>3.6</version>
530 <groupId>org.apache.maven.wagon</groupId>
531 <artifactId>wagon-webdav-jackrabbit</artifactId>
532 <version>2.10</version>
536 <!-- license plugin -->
538 <groupId>org.codehaus.mojo</groupId>
539 <artifactId>license-maven-plugin</artifactId>
540 <version>1.10</version>
542 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
543 <processStartTag>============LICENSE_START=======================================================</processStartTag>
544 <processEndTag>============LICENSE_END=========================================================</processEndTag>
545 <sectionDelimiter>================================================================================</sectionDelimiter>
546 <licenseName>apache_v2</licenseName>
547 <inceptionYear>2017</inceptionYear>
548 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
549 <projectName>APPC</projectName>
550 <!-- Do not automatically update copyright since Amdocs needs to be included manually -->
551 <canUpdateCopyright>false</canUpdateCopyright>
552 <canUpdateDescription>true</canUpdateDescription>
553 <canUpdateLicense>true</canUpdateLicense>
554 <emptyLineAfterHeader>true</emptyLineAfterHeader>
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>
608 <goal>install-file</goal>
620 <!-- ================================================================================== -->
621 <!-- The modules we build every time -->
622 <!-- ================================================================================== -->
624 <module>appc-common</module>
626 <!-- Adding profiles for testing -->
631 <ssl.allowall>true</ssl.allowall>
632 <ssl.insecure>true</ssl.insecure>
633 <openecomp.nexus.host>nexus.onap.org</openecomp.nexus.host>
634 <openecomp.nexus.release-url>https://nexus.onap.org/content/repositories/releases/</openecomp.nexus.release-url>
635 <openecomp.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots/</openecomp.nexus.snapshot-url>
636 <openecomp.git.port>7999</openecomp.git.port>
637 <openecomp.git.project>st_osecomp</openecomp.git.project>
638 <openecomp.git.protocol>http</openecomp.git.protocol>
640 <!-- Core app-c from 1604 -->
642 <activeByDefault>true</activeByDefault>
645 <module>appc-common</module>
646 <module>appc-adapters</module>
647 <module>appc-provider</module>
648 <module>appc-event-listener</module>
649 <module>appc-asdc-listener</module>
650 <module>appc-oam</module>
654 <id>request-dispatcher</id>
656 <ssl.allowall>true</ssl.allowall>
657 <ssl.insecure>true</ssl.insecure>
660 <activeByDefault>true</activeByDefault>
663 <module>appc-dispatcher</module>
664 <module>appc-metric</module>
665 <module>appc-dg</module>
666 <module>appc-dg-util</module>