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>
50 <!-- OPENECOMP SDNC versions -->
51 <sdnctl.sli.version>1.1.0-SNAPSHOT</sdnctl.sli.version>
52 <sdnctl.dblib.version>1.1.0-SNAPSHOT</sdnctl.dblib.version>
53 <sdnctl.aai.service.version>1.1.0-SNAPSHOT</sdnctl.aai.service.version>
55 <cdp.pal.version>0.0.1</cdp.pal.version>
56 <eelf.version>0.0.1</eelf.version>
57 <eelf.maven.plugin.version>0.0.1</eelf.maven.plugin.version>
58 <cadi-version>1.3.0</cadi-version>
59 <inno-version>1.2.11</inno-version>
60 <dme2-version>3.1.200</dme2-version>
61 <bundle.plugin.version>2.5.0</bundle.plugin.version>
62 <java.version.source>1.7</java.version.source>
63 <java.version.target>1.7</java.version.target>
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>
72 <sonar.language>java</sonar.language>
73 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
74 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
75 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
76 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
77 <sonar.projectVersion>${project.version}</sonar.projectVersion>
79 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
80 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
81 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
82 <yang.file.directory>src/main/yang</yang.file.directory>
83 <features.file>features.xml</features.file>
84 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
85 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
86 <checkstyle.skip>true</checkstyle.skip>
89 <openecomp.nexus.host>nexus.onap.org</openecomp.nexus.host>
90 <openecomp.nexus.url>https://${openecomp.nexus.host}/content</openecomp.nexus.url>
91 <openecomp.nexus.snapshot-url>${openecomp.nexus.url}/repositories/snapshots/</openecomp.nexus.snapshot-url>
92 <openecomp.nexus.release-url>${openecomp.nexus.url}/repositories/releases/</openecomp.nexus.release-url>
93 <openecomp.nexus.javadocs-url>dav:${openecomp.nexus.url}/sites/site/org/openecomp/appc/${project.version}</openecomp.nexus.javadocs-url>
97 <!-- ================================================================================== -->
98 <!-- Javadoc Generation Plugin -->
99 <!-- ================================================================================== -->
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-javadoc-plugin</artifactId>
105 <version>2.10.4</version>
107 <excludePackageNames>org.openecomp.sdnc</excludePackageNames>
108 <failOnError>false</failOnError>
109 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
111 <groupId>org.umlgraph</groupId>
112 <artifactId>umlgraph</artifactId>
113 <version>5.6</version>
115 <additionalparam>-views</additionalparam>
116 <useStandardDocletOptions>true</useStandardDocletOptions>
123 <!-- ================================================================================== -->
124 <!-- Distribution Management Sites -->
125 <!-- ================================================================================== -->
126 <distributionManagement>
127 <!-- This site is used for Javadocs -->
130 <url>${openecomp.nexus.javadocs-url}</url>
133 <id>ecomp-releases</id>
134 <name>openecomp-repository-releases</name>
135 <url>${openecomp.nexus.release-url}</url>
138 <id>ecomp-snapshots</id>
139 <name>openecomp-repository-snapshots</name>
140 <url>${openecomp.nexus.snapshot-url}</url>
141 </snapshotRepository>
142 </distributionManagement>
145 <!-- ================================================================================== -->
146 <!-- Define plugin repositories -->
147 <!-- ================================================================================== -->
150 <id>opendaylight-mirror</id>
151 <name>opendaylight-mirror</name>
152 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
154 <enabled>true</enabled>
155 <updatePolicy>never</updatePolicy>
158 <enabled>false</enabled>
162 <id>opendaylight-snapshot</id>
163 <name>opendaylight-snapshot</name>
164 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
166 <enabled>false</enabled>
169 <enabled>true</enabled>
172 <!-- Black Duck plugin dependencies -->
175 <name>JCenter Repository</name>
176 <url>http://jcenter.bintray.com</url>
180 <name>Restlet Repository</name>
181 <url>http://maven.restlet.com</url>
183 </pluginRepositories>
186 <!-- ================================================================================== -->
187 <!-- Define project-wide dependencies -->
188 <!-- ================================================================================== -->
189 <dependencyManagement>
193 <groupId>org.opendaylight.controller</groupId>
194 <artifactId>config-api</artifactId>
195 <version>${odl.controller.config.api.version}</version>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>sal-binding-config</artifactId>
200 <version>${odl.mdsal.version}</version>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>sal-binding-api</artifactId>
205 <version>${odl.mdsal.version}</version>
208 <groupId>org.opendaylight.controller</groupId>
209 <artifactId>sal-test-model</artifactId>
210 <version>${odl.mdsal.version}</version>
213 <groupId>org.opendaylight.netconf</groupId>
214 <artifactId>sal-rest-connector</artifactId>
215 <version>${odl.mdsal.version}</version>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>sal-binding-broker-impl</artifactId>
220 <version>${odl.mdsal.version}</version>
223 <groupId>org.opendaylight.controller</groupId>
224 <artifactId>sal-common-util</artifactId>
225 <version>${odl.mdsal.version}</version>
228 <groupId>org.opendaylight.mdsal</groupId>
229 <artifactId>yang-binding</artifactId>
230 <version>${odl.mdsal.yang.binding.version}</version>
233 <groupId>org.opendaylight.yangtools</groupId>
234 <artifactId>yang-common</artifactId>
235 <version>${odl.yangtools.version}</version>
238 <groupId>org.opendaylight.controller</groupId>
239 <artifactId>features-mdsal</artifactId>
240 <version>${odl.controller.mdsal.features.version}</version>
241 <classifier>features</classifier>
245 <groupId>org.opendaylight.mdsal</groupId>
246 <artifactId>features-mdsal</artifactId>
247 <version>${odl.mdsal.features.version}</version>
248 <classifier>features</classifier>
252 <groupId>org.opendaylight.controller</groupId>
253 <artifactId>opendaylight-karaf-empty</artifactId>
254 <version>${odl.karaf.empty.distro.version}</version>
257 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
258 <!-- Required for launching the feature tests -->
259 <!-- <dependency> -->
260 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
261 <!-- <artifactId>features-test</artifactId> -->
262 <!-- <version>${odl.yangtools.version}</version> -->
263 <!-- <scope>test</scope> -->
264 <!-- </dependency> -->
268 <groupId>org.opendaylight.yangtools</groupId>
269 <artifactId>features-yangtools</artifactId>
270 <version>${odl.yangtools.version}</version>
271 <classifier>features</classifier>
276 <groupId>org.openecomp.sdnc.core</groupId>
277 <artifactId>sli-common</artifactId>
278 <version>${sdnctl.sli.version}</version>
281 <groupId>org.openecomp.sdnc.core</groupId>
282 <artifactId>sli-provider</artifactId>
283 <version>${sdnctl.sli.version}</version>
287 <groupId>org.openecomp.sdnc.core</groupId>
288 <artifactId>dblib-provider</artifactId>
289 <version>${sdnctl.dblib.version}</version>
291 <!-- A&AI service provider dependency override in order to use
294 <groupId>org.openecomp.sdnc.adaptors</groupId>
295 <artifactId>aai-service-provider</artifactId>
296 <version>${sdnctl.aai.service.version}</version>
300 <groupId>org.openecomp.appc</groupId>
301 <artifactId>appc-controller-features</artifactId>
302 <classifier>features</classifier>
304 <version>${project.version}</version>
307 <groupId>org.openecomp.appc</groupId>
308 <artifactId>appc-controller-model</artifactId>
309 <version>${project.version}</version>
312 <groupId>org.openecomp.appc</groupId>
313 <artifactId>appc-controller-bundle</artifactId>
314 <version>${project.version}</version>
315 <classifier>config</classifier>
319 <groupId>org.openecomp.appc</groupId>
320 <artifactId>appc-controller-bundle</artifactId>
321 <version>${project.version}</version>
325 <groupId>equinoxSDK381</groupId>
326 <artifactId>org.eclipse.osgi</artifactId>
327 <version>${equinox.osgi.version}</version>
330 <groupId>org.apache.commons</groupId>
331 <artifactId>commons-lang3</artifactId>
332 <version>${commons.lang3.version}</version>
335 <groupId>junit</groupId>
336 <artifactId>junit</artifactId>
337 <version>4.12</version>
341 <groupId>ch.qos.logback</groupId>
342 <artifactId>logback-core</artifactId>
343 <version>1.1.1</version>
344 <scope>compile</scope>
347 <groupId>ch.qos.logback</groupId>
348 <artifactId>logback-classic</artifactId>
349 <version>1.1.1</version>
350 <scope>compile</scope>
353 <groupId>org.slf4j</groupId>
354 <artifactId>slf4j-api</artifactId>
355 <version>1.7.12</version>
358 <groupId>commons-lang</groupId>
359 <artifactId>commons-lang</artifactId>
360 <version>2.6</version>
363 <groupId>org.apache.sshd</groupId>
364 <artifactId>sshd-core</artifactId>
365 <version>0.12.0</version>
368 <groupId>org.mockito</groupId>
369 <artifactId>mockito-core</artifactId>
370 <version>1.10.19</version>
374 <groupId>com.att.cdp</groupId>
375 <artifactId>cdp-pal-common</artifactId>
376 <version>${cdp.pal.version}</version>
379 <groupId>com.att.cdp</groupId>
380 <artifactId>cdp-pal-openstack</artifactId>
381 <version>${cdp.pal.version}</version>
384 <groupId>com.att.authz</groupId>
385 <artifactId>authz-client</artifactId>
386 <version>2.3</version>
388 <!-- EELF logging framework -->
390 <groupId>com.att.eelf</groupId>
391 <artifactId>eelf-core</artifactId>
392 <version>${eelf.version}</version>
395 </dependencyManagement>
398 <!-- ================================================================================== -->
399 <!-- Define common plugins and make them available for all modules -->
400 <!-- ================================================================================== -->
404 <!-- Define the site plugin to generate documentation -->
406 <groupId>org.apache.maven.plugins</groupId>
407 <artifactId>maven-site-plugin</artifactId>
408 <version>3.4</version>
410 <!-- add support for ssh/scp -->
412 <groupId>org.apache.maven.wagon</groupId>
413 <artifactId>wagon-ssh</artifactId>
414 <version>1.0</version>
418 <!-- Define the compiler plugin -->
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-compiler-plugin</artifactId>
422 <version>${maven.compile.plugin.version}</version>
424 <source>${java.version.source}</source>
425 <target>${java.version.target}</target>
428 <!-- Define the javadoc plugin -->
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-javadoc-plugin</artifactId>
432 <version>2.10</version>
434 <excludePackageNames>org.opendaylight.*:org.openecomp.sdnc</excludePackageNames>
437 <!-- Define the source plugin -->
439 <artifactId>maven-source-plugin</artifactId>
440 <version>2.1.1</version>
442 <!-- Resources plugin -->
444 <groupId>org.apache.maven.plugins</groupId>
445 <artifactId>maven-resources-plugin</artifactId>
446 <version>2.6</version>
451 <goal>resources</goal>
453 <phase>generate-resources</phase>
458 <artifactId>maven-release-plugin</artifactId>
459 <version>2.5.2</version>
461 <goals>-s ${mvn.settings} deploy</goals>
465 <artifactId>maven-assembly-plugin</artifactId>
466 <version>2.5.5</version>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-deploy-plugin</artifactId>
471 <version>2.8.1</version>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-dependency-plugin</artifactId>
476 <version>2.10</version>
478 <!-- Maven surefire plugin for testing -->
480 <artifactId>maven-surefire-plugin</artifactId>
481 <version>2.17</version>
483 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
485 <groupId>org.apache.felix</groupId>
486 <artifactId>maven-bundle-plugin</artifactId>
487 <version>${bundle.plugin.version}</version>
490 <groupId>org.codehaus.mojo</groupId>
491 <artifactId>build-helper-maven-plugin</artifactId>
492 <version>1.9.1</version>
494 <!-- SonarQube plugin -->
496 <groupId>org.codehaus.mojo</groupId>
497 <artifactId>sonar-maven-plugin</artifactId>
498 <version>3.2</version>
503 <!--maven staging plugin-->
505 <groupId>org.sonatype.plugins</groupId>
506 <artifactId>nexus-staging-maven-plugin</artifactId>
507 <version>1.6.7</version>
508 <extensions>true</extensions>
510 <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
511 <stagingProfileId>176c31dfe190a</stagingProfileId>
512 <serverId>ecomp-staging</serverId>
515 <!-- Javadocs Plugin -->
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-site-plugin</artifactId>
519 <version>3.6</version>
522 <groupId>org.apache.maven.wagon</groupId>
523 <artifactId>wagon-webdav-jackrabbit</artifactId>
524 <version>2.10</version>
528 <!-- license plugin -->
530 <groupId>org.codehaus.mojo</groupId>
531 <artifactId>license-maven-plugin</artifactId>
532 <version>1.10</version>
534 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
535 <processStartTag>============LICENSE_START=======================================================</processStartTag>
536 <processEndTag>============LICENSE_END=========================================================</processEndTag>
537 <sectionDelimiter>================================================================================</sectionDelimiter>
538 <licenseName>apache_v2</licenseName>
539 <inceptionYear>2017</inceptionYear>
540 <organizationName>AT&T Intellectual Property. All rights
541 reserved.</organizationName>
542 <projectName>openECOMP : APP-C</projectName>
543 <canUpdateCopyright>true</canUpdateCopyright>
544 <canUpdateDescription>true</canUpdateDescription>
545 <canUpdateLicense>true</canUpdateLicense>
546 <emptyLineAfterHeader>true</emptyLineAfterHeader>
552 <goal>update-file-header</goal>
554 <phase>process-sources</phase>
559 <groupId>org.codehaus.mojo</groupId>
560 <artifactId>properties-maven-plugin</artifactId>
564 <goal>set-system-properties</goal>
569 <name>maven.wagon.http.ssl.allowall</name>
570 <value>${ssl.allowall}</value>
573 <name>maven.wagon.http.ssl.insecure</name>
574 <value>${ssl.insecure}</value>
581 <!-- blackduck maven plugin -->
584 <groupId>com.blackducksoftware.integration</groupId>
585 <artifactId>hub-maven-plugin</artifactId>
586 <version>1.4.0</version>
587 <inherited>false</inherited>
589 <hubProjectName>${project.name}</hubProjectName>
590 <outputDirectory>${project.basedir}</outputDirectory>
594 <id>create-bdio-file</id>
595 <phase>package</phase>
597 <goal>createHubOutput</goal>
607 <!-- ================================================================================== -->
608 <!-- The modules we build every time -->
609 <!-- ================================================================================== -->
611 <module>appc-common</module>
613 <!-- Adding profiles for testing -->
618 <ssl.allowall>true</ssl.allowall>
619 <ssl.insecure>true</ssl.insecure>
620 <openecomp.nexus.host>nexus.onap.org</openecomp.nexus.host>
621 <openecomp.nexus.release-url>https://nexus.onap.org/content/repositories/releases/</openecomp.nexus.release-url>
622 <openecomp.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots/</openecomp.nexus.snapshot-url>
623 <openecomp.git.port>7999</openecomp.git.port>
624 <openecomp.git.project>st_osecomp</openecomp.git.project>
625 <openecomp.git.protocol>http</openecomp.git.protocol>
627 <!-- Core app-c from 1604 -->
629 <activeByDefault>true</activeByDefault>
632 <module>appc-common</module>
633 <module>appc-adapters</module>
634 <module>appc-provider</module>
635 <module>appc-event-listener</module>
636 <module>appc-asdc-listener</module>
640 <id>request-dispatcher</id>
642 <ssl.allowall>true</ssl.allowall>
643 <ssl.insecure>true</ssl.insecure>
646 <activeByDefault>true</activeByDefault>
649 <module>appc-dispatcher</module>
650 <module>appc-metric</module>
651 <module>appc-dg</module>
652 <module>appc-dg-util</module>