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>
54 <openecomp.sdnc.sql-resource.version>1.1.2-SNAPSHOT</openecomp.sdnc.sql-resource.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.1.0</toscalib.version>
72 <sdc-client.version>1.1.13-SNAPSHOT</sdc-client.version>
73 <jackson.yml.version>2.3.2</jackson.yml.version>
76 <sonar.language>java</sonar.language>
77 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
78 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
79 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
80 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
81 <sonar.projectVersion>${project.version}</sonar.projectVersion>
83 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
84 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
85 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
86 <yang.file.directory>src/main/yang</yang.file.directory>
87 <features.file>features.xml</features.file>
88 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
89 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
94 <!-- ================================================================================== -->
95 <!-- Javadoc Generation Plugin -->
96 <!-- ================================================================================== -->
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-javadoc-plugin</artifactId>
102 <version>2.10</version>
104 <excludePackageNames>org.openecomp.sdnc</excludePackageNames>
105 <failOnError>false</failOnError>
106 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
108 <groupId>org.umlgraph</groupId>
109 <artifactId>umlgraph</artifactId>
110 <version>5.6</version>
112 <additionalparam>-views</additionalparam>
113 <useStandardDocletOptions>true</useStandardDocletOptions>
120 <!-- ================================================================================== -->
121 <!-- Distribution Management Sites -->
122 <!-- ================================================================================== -->
123 <distributionManagement>
124 <!-- This site is used for Javadocs -->
127 <url>dav:${onap.nexus.url}/sites/site/org/onap/appc/${project.version}</url>
129 </distributionManagement>
132 <!-- ================================================================================== -->
133 <!-- Define plugin repositories -->
134 <!-- ================================================================================== -->
137 <id>opendaylight-mirror</id>
138 <name>opendaylight-mirror</name>
139 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
141 <enabled>true</enabled>
142 <updatePolicy>never</updatePolicy>
145 <enabled>false</enabled>
149 <id>opendaylight-snapshot</id>
150 <name>opendaylight-snapshot</name>
151 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
153 <enabled>false</enabled>
156 <enabled>true</enabled>
159 <!-- Black Duck plugin dependencies -->
162 <name>JCenter Repository</name>
163 <url>http://jcenter.bintray.com</url>
167 <name>Restlet Repository</name>
168 <url>http://maven.restlet.com</url>
170 </pluginRepositories>
173 <!-- ================================================================================== -->
174 <!-- Define project-wide dependencies -->
175 <!-- ================================================================================== -->
176 <dependencyManagement>
180 <groupId>org.opendaylight.odlparent</groupId>
181 <artifactId>odlparent</artifactId>
182 <version>1.7.1-Boron-SR1</version>
183 <scope>import</scope>
187 <groupId>org.opendaylight.controller</groupId>
188 <artifactId>config-api</artifactId>
189 <version>${odl.controller.config.api.version}</version>
192 <groupId>org.opendaylight.controller</groupId>
193 <artifactId>sal-binding-config</artifactId>
194 <version>${odl.mdsal.version}</version>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>sal-binding-api</artifactId>
199 <version>${odl.mdsal.version}</version>
202 <groupId>org.opendaylight.controller</groupId>
203 <artifactId>sal-test-model</artifactId>
204 <version>${odl.mdsal.version}</version>
207 <groupId>org.opendaylight.netconf</groupId>
208 <artifactId>sal-rest-connector</artifactId>
209 <version>${odl.mdsal.version}</version>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>sal-binding-broker-impl</artifactId>
214 <version>${odl.mdsal.version}</version>
217 <groupId>org.opendaylight.controller</groupId>
218 <artifactId>sal-common-util</artifactId>
219 <version>${odl.mdsal.version}</version>
222 <groupId>org.opendaylight.mdsal</groupId>
223 <artifactId>yang-binding</artifactId>
224 <version>${odl.mdsal.yang.binding.version}</version>
227 <groupId>org.opendaylight.yangtools</groupId>
228 <artifactId>yang-common</artifactId>
229 <version>${odl.yangtools.version}</version>
232 <groupId>org.opendaylight.controller</groupId>
233 <artifactId>features-mdsal</artifactId>
234 <version>${odl.controller.mdsal.features.version}</version>
235 <classifier>features</classifier>
239 <groupId>org.opendaylight.mdsal</groupId>
240 <artifactId>features-mdsal</artifactId>
241 <version>${odl.mdsal.features.version}</version>
242 <classifier>features</classifier>
246 <groupId>org.opendaylight.controller</groupId>
247 <artifactId>opendaylight-karaf-empty</artifactId>
248 <version>${odl.karaf.empty.distro.version}</version>
252 <groupId>org.opendaylight.mdsal.model</groupId>
253 <artifactId>ietf-inet-types</artifactId>
254 <version>${odl.ietf-inet-types.version}</version>
257 <groupId>org.opendaylight.mdsal.model</groupId>
258 <artifactId>ietf-yang-types</artifactId>
259 <version>${odl.ietf-yang-types.version}</version>
261 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
262 <!-- Required for launching the feature tests -->
263 <!-- <dependency> -->
264 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
265 <!-- <artifactId>features-test</artifactId> -->
266 <!-- <version>${odl.yangtools.version}</version> -->
267 <!-- <scope>test</scope> -->
268 <!-- </dependency> -->
272 <groupId>org.opendaylight.yangtools</groupId>
273 <artifactId>features-yangtools</artifactId>
274 <version>${odl.yangtools.version}</version>
275 <classifier>features</classifier>
280 <groupId>org.openecomp.sdnc.core</groupId>
281 <artifactId>sli-common</artifactId>
282 <version>${sdnctl.sli.version}</version>
285 <groupId>org.openecomp.sdnc.core</groupId>
286 <artifactId>sli-provider</artifactId>
287 <version>${sdnctl.sli.version}</version>
291 <groupId>org.openecomp.sdnc.core</groupId>
292 <artifactId>dblib-provider</artifactId>
293 <version>${sdnctl.dblib.version}</version>
295 <!-- A&AI service provider dependency override in order to use a stable
298 <groupId>org.openecomp.sdnc.adaptors</groupId>
299 <artifactId>aai-service-provider</artifactId>
300 <version>${sdnctl.aai.service.version}</version>
304 <groupId>org.openecomp.appc</groupId>
305 <artifactId>appc-controller-features</artifactId>
306 <classifier>features</classifier>
308 <version>${project.version}</version>
311 <groupId>org.openecomp.appc</groupId>
312 <artifactId>appc-controller-model</artifactId>
313 <version>${project.version}</version>
316 <groupId>org.openecomp.appc</groupId>
317 <artifactId>appc-controller-bundle</artifactId>
318 <version>${project.version}</version>
319 <classifier>config</classifier>
323 <groupId>org.openecomp.appc</groupId>
324 <artifactId>appc-controller-bundle</artifactId>
325 <version>${project.version}</version>
329 <groupId>equinoxSDK381</groupId>
330 <artifactId>org.eclipse.osgi</artifactId>
331 <version>${equinox.osgi.version}</version>
334 <groupId>org.apache.commons</groupId>
335 <artifactId>commons-lang3</artifactId>
336 <version>${commons.lang3.version}</version>
339 <groupId>junit</groupId>
340 <artifactId>junit</artifactId>
341 <version>4.12</version>
345 <groupId>ch.qos.logback</groupId>
346 <artifactId>logback-core</artifactId>
347 <version>1.1.1</version>
348 <scope>compile</scope>
351 <groupId>ch.qos.logback</groupId>
352 <artifactId>logback-classic</artifactId>
353 <version>1.1.1</version>
354 <scope>compile</scope>
356 <!-- <dependency> -->
357 <!-- <groupId>org.slf4j</groupId> -->
358 <!-- <artifactId>slf4j-api</artifactId> -->
359 <!-- <version>1.7.12</version> -->
360 <!-- </dependency> -->
362 <groupId>commons-lang</groupId>
363 <artifactId>commons-lang</artifactId>
364 <version>2.6</version>
367 <groupId>org.apache.sshd</groupId>
368 <artifactId>sshd-core</artifactId>
369 <version>0.12.0</version>
372 <groupId>org.mockito</groupId>
373 <artifactId>mockito-core</artifactId>
374 <version>1.10.19</version>
378 <groupId>com.att.cdp</groupId>
379 <artifactId>cdp-pal-common</artifactId>
380 <version>${cdp.pal.version}</version>
383 <groupId>com.att.cdp</groupId>
384 <artifactId>cdp-pal-openstack</artifactId>
385 <version>${cdp.pal.version}</version>
388 <groupId>com.att.authz</groupId>
389 <artifactId>authz-client</artifactId>
390 <version>2.3</version>
392 <!-- EELF logging framework -->
394 <groupId>com.att.eelf</groupId>
395 <artifactId>eelf-core</artifactId>
396 <version>${eelf.version}</version>
399 </dependencyManagement>
402 <!-- ================================================================================== -->
403 <!-- Define common plugins and make them available for all modules -->
404 <!-- ================================================================================== -->
408 <!-- Define the site plugin to generate documentation -->
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-site-plugin</artifactId>
412 <version>3.4</version>
414 <!-- add support for ssh/scp -->
416 <groupId>org.apache.maven.wagon</groupId>
417 <artifactId>wagon-ssh</artifactId>
418 <version>1.0</version>
422 <!-- Define the compiler plugin -->
424 <groupId>org.apache.maven.plugins</groupId>
425 <artifactId>maven-compiler-plugin</artifactId>
426 <version>${maven.compile.plugin.version}</version>
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>
495 <groupId>org.sonarsource.scanner.maven</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>
528 <groupId>org.codehaus.mojo</groupId>
529 <artifactId>properties-maven-plugin</artifactId>
533 <goal>set-system-properties</goal>
538 <name>maven.wagon.http.ssl.allowall</name>
539 <value>${ssl.allowall}</value>
542 <name>maven.wagon.http.ssl.insecure</name>
543 <value>${ssl.insecure}</value>
552 <!-- blackduck maven plugin -->
553 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
554 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
555 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
556 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
557 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
559 <!-- force Eclipse to skip the additional-install step specified in the
560 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
562 <groupId>org.apache.maven.plugins</groupId>
563 <artifactId>maven-install-plugin</artifactId>
566 <id>additional-install</id>
568 <goal>install-file</goal>
577 <!-- ================================================================================== -->
578 <!-- The modules we build every time -->
579 <!-- ================================================================================== -->
581 <module>appc-common</module>
583 <!-- Adding profiles for testing -->
588 <ssl.allowall>true</ssl.allowall>
589 <ssl.insecure>true</ssl.insecure>
590 <openecomp.git.port>7999</openecomp.git.port>
591 <openecomp.git.project>st_osecomp</openecomp.git.project>
592 <openecomp.git.protocol>http</openecomp.git.protocol>
594 <!-- Core app-c from 1604 -->
596 <activeByDefault>true</activeByDefault>
599 <module>appc-common</module>
600 <module>appc-adapters</module>
601 <module>appc-provider</module>
602 <module>appc-event-listener</module>
603 <module>appc-asdc-listener</module>
604 <module>appc-lifecycle-management</module>
605 <module>appc-oam</module>
606 <module>appc-config</module>
607 <module>appc-directed-graph</module>
608 <module>appc-outbound</module>
609 <module>appc-inbound</module>
610 <module>appc-sequence-generator</module>
611 <module>appc-client</module>
615 <id>request-dispatcher</id>
617 <ssl.allowall>true</ssl.allowall>
618 <ssl.insecure>true</ssl.insecure>
621 <activeByDefault>true</activeByDefault>
624 <module>appc-dispatcher</module>
625 <module>appc-metric</module>
626 <module>appc-dg</module>
627 <module>appc-dg-util</module>