1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017-2018 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.
21 ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26 <groupId>org.onap.ccsdk.parent</groupId>
27 <artifactId>odlparent-carbon-sr1</artifactId>
28 <version>0.1.0</version>
32 <modelVersion>4.0.0</modelVersion>
33 <packaging>pom</packaging>
34 <groupId>org.onap.appc</groupId>
35 <artifactId>appc</artifactId>
36 <version>1.3.0-SNAPSHOT</version>
38 <description>Construct the Application Controller component for the ECOMP project.</description>
39 <inceptionYear>2015-07-20</inceptionYear>
41 <name>OpenECOMP</name>
45 <!-- ================================================================================== -->
46 <!-- Configuration properties -->
47 <!-- ================================================================================== -->
52 <cdp.pal.version>1.1.25.6-oss</cdp.pal.version>
53 <dmaap.client.version>0.2.12</dmaap.client.version>
54 <eelf.version>1.0.0</eelf.version>
55 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
56 <cadi-version>1.3.0</cadi-version>
57 <inno-version>1.2.11</inno-version>
58 <dme2-version>3.1.200</dme2-version>
59 <bundle.plugin.version>2.5.0</bundle.plugin.version>
60 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
61 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
62 <apache.httpcomponents.version>4.4</apache.httpcomponents.version>
63 <commons.lang3.version>3.4</commons.lang3.version>
64 <antlr.version>4.5.1</antlr.version>
65 <logback.version>1.2.0</logback.version>
66 <toscalib.version>1.1.0</toscalib.version>
67 <sdc-client.version>1.2.2</sdc-client.version>
68 <jackson.yml.version>2.3.2</jackson.yml.version>
71 <sonar.language>java</sonar.language>
72 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
73 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
74 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
75 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
76 <sonar.projectVersion>${project.version}</sonar.projectVersion>
78 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
79 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
80 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
81 <yang.file.directory>src/main/yang</yang.file.directory>
82 <features.file>features.xml</features.file>
83 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
84 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
86 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
91 <!-- ================================================================================== -->
92 <!-- Javadoc Generation Plugin -->
93 <!-- ================================================================================== -->
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-javadoc-plugin</artifactId>
99 <version>2.10</version>
101 <excludePackageNames>org.onap.ccsdk.sli</excludePackageNames>
102 <failOnError>false</failOnError>
103 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
105 <groupId>org.umlgraph</groupId>
106 <artifactId>umlgraph</artifactId>
107 <version>5.6</version>
109 <additionalparam>-views</additionalparam>
110 <useStandardDocletOptions>true</useStandardDocletOptions>
117 <!-- ================================================================================== -->
118 <!-- Distribution Management Sites -->
119 <!-- ================================================================================== -->
120 <distributionManagement>
121 <!-- This site is used for Javadocs -->
124 <url>dav:${onap.nexus.url}/content/sites/site/org/onap/appc/${project.version}</url>
127 <id>ecomp-releases</id>
128 <name>openecomp-repository-releases</name>
129 <url>${onap.nexus.url}/content/repositories/releases</url>
132 <id>ecomp-snapshots</id>
133 <name>openecomp-repository-snapshots</name>
134 <url>${onap.nexus.url}/content/repositories/snapshots</url>
135 </snapshotRepository>
136 </distributionManagement>
139 <!-- ================================================================================== -->
140 <!-- Define plugin repositories -->
141 <!-- ================================================================================== -->
144 <id>opendaylight-mirror</id>
145 <name>opendaylight-mirror</name>
146 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
148 <enabled>true</enabled>
149 <updatePolicy>never</updatePolicy>
152 <enabled>false</enabled>
156 <id>opendaylight-snapshot</id>
157 <name>opendaylight-snapshot</name>
158 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
160 <enabled>false</enabled>
163 <enabled>true</enabled>
166 <!-- Black Duck plugin dependencies -->
169 <name>JCenter Repository</name>
170 <url>http://jcenter.bintray.com</url>
174 <name>Restlet Repository</name>
175 <url>http://maven.restlet.com</url>
177 </pluginRepositories>
180 <!-- ================================================================================== -->
181 <!-- Define project-wide dependencies -->
182 <!-- ================================================================================== -->
183 <dependencyManagement>
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.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.onap.ccsdk.sli.core</groupId>
280 <artifactId>sli-common</artifactId>
281 <version>${sdnctl.sli.version}</version>
284 <groupId>org.onap.ccsdk.sli.core</groupId>
285 <artifactId>sli-provider</artifactId>
286 <version>${sdnctl.sli.version}</version>
290 <groupId>org.onap.ccsdk.sli.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.onap.ccsdk.sli.adaptors</groupId>
298 <artifactId>aai-service-provider</artifactId>
299 <version>${sdnctl.aai.service.version}</version>
303 <groupId>org.onap.appc</groupId>
304 <artifactId>appc-controller-features</artifactId>
305 <classifier>features</classifier>
307 <version>${project.version}</version>
310 <groupId>org.onap.appc</groupId>
311 <artifactId>appc-controller-model</artifactId>
312 <version>${project.version}</version>
315 <groupId>org.onap.appc</groupId>
316 <artifactId>appc-controller-bundle</artifactId>
317 <version>${project.version}</version>
318 <classifier>config</classifier>
322 <groupId>org.onap.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>org.assertj</groupId>
345 <artifactId>assertj-core</artifactId>
346 <version>3.9.0</version>
350 <groupId>org.assertj</groupId>
351 <artifactId>assertj-guava</artifactId>
352 <version>3.1.0</version>
356 <groupId>ch.qos.logback</groupId>
357 <artifactId>logback-core</artifactId>
358 <version>1.2.0</version>
359 <scope>compile</scope>
362 <groupId>ch.qos.logback</groupId>
363 <artifactId>logback-classic</artifactId>
364 <version>1.2.0</version>
365 <scope>compile</scope>
367 <!-- <dependency> -->
368 <!-- <groupId>org.slf4j</groupId> -->
369 <!-- <artifactId>slf4j-api</artifactId> -->
370 <!-- <version>1.7.12</version> -->
371 <!-- </dependency> -->
373 <groupId>commons-lang</groupId>
374 <artifactId>commons-lang</artifactId>
375 <version>2.6</version>
378 <groupId>org.apache.sshd</groupId>
379 <artifactId>sshd-core</artifactId>
380 <version>0.12.0</version>
383 <groupId>org.mockito</groupId>
384 <artifactId>mockito-core</artifactId>
385 <version>1.10.19</version>
389 <groupId>com.att.cdp</groupId>
390 <artifactId>cdp-pal-common</artifactId>
391 <version>${cdp.pal.version}</version>
394 <groupId>com.att.cdp</groupId>
395 <artifactId>cdp-pal-openstack</artifactId>
396 <version>${cdp.pal.version}</version>
399 <groupId>com.att.authz</groupId>
400 <artifactId>authz-client</artifactId>
401 <version>2.3</version>
403 <!-- EELF logging framework -->
405 <groupId>com.att.eelf</groupId>
406 <artifactId>eelf-core</artifactId>
407 <version>${eelf.version}</version>
411 <groupId>org.mariadb.jdbc</groupId>
412 <artifactId>mariadb-java-client</artifactId>
413 <version>1.2.3</version>
416 </dependencyManagement>
419 <!-- ================================================================================== -->
420 <!-- Define common plugins and make them available for all modules -->
421 <!-- ================================================================================== -->
425 <!-- Define the site plugin to generate documentation -->
427 <groupId>org.apache.maven.plugins</groupId>
428 <artifactId>maven-site-plugin</artifactId>
429 <version>3.4</version>
431 <!-- add support for ssh/scp -->
433 <groupId>org.apache.maven.wagon</groupId>
434 <artifactId>wagon-ssh</artifactId>
435 <version>1.0</version>
439 <!-- Define the compiler plugin -->
441 <groupId>org.apache.maven.plugins</groupId>
442 <artifactId>maven-compiler-plugin</artifactId>
443 <version>${maven.compile.plugin.version}</version>
445 <!-- Define the javadoc plugin -->
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-javadoc-plugin</artifactId>
449 <version>2.10</version>
451 <excludePackageNames>org.opendaylight.*:org.onap.ccsdk.sli</excludePackageNames>
454 <!-- Define the source plugin -->
456 <artifactId>maven-source-plugin</artifactId>
457 <version>2.1.1</version>
459 <!-- Resources plugin -->
461 <groupId>org.apache.maven.plugins</groupId>
462 <artifactId>maven-resources-plugin</artifactId>
463 <version>2.6</version>
468 <goal>resources</goal>
470 <phase>generate-resources</phase>
475 <artifactId>maven-release-plugin</artifactId>
476 <version>2.5.2</version>
478 <goals>-s ${mvn.settings} deploy</goals>
482 <artifactId>maven-assembly-plugin</artifactId>
483 <version>2.5.5</version>
486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-deploy-plugin</artifactId>
488 <version>2.8.1</version>
491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-dependency-plugin</artifactId>
493 <version>2.10</version>
495 <!-- Maven surefire plugin for testing -->
497 <artifactId>maven-surefire-plugin</artifactId>
498 <version>2.17</version>
500 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
502 <groupId>org.apache.felix</groupId>
503 <artifactId>maven-bundle-plugin</artifactId>
504 <version>${bundle.plugin.version}</version>
507 <groupId>org.codehaus.mojo</groupId>
508 <artifactId>build-helper-maven-plugin</artifactId>
509 <version>1.9.1</version>
512 <groupId>org.sonarsource.scanner.maven</groupId>
513 <artifactId>sonar-maven-plugin</artifactId>
514 <version>3.2</version>
519 <!--maven staging plugin -->
521 <groupId>org.sonatype.plugins</groupId>
522 <artifactId>nexus-staging-maven-plugin</artifactId>
523 <version>1.6.7</version>
524 <extensions>true</extensions>
526 <nexusUrl>${onap.nexus.url}</nexusUrl>
527 <stagingProfileId>176c31dfe190a</stagingProfileId>
528 <serverId>ecomp-staging</serverId>
531 <!-- Javadocs Plugin -->
533 <groupId>org.apache.maven.plugins</groupId>
534 <artifactId>maven-site-plugin</artifactId>
535 <version>3.6</version>
538 <groupId>org.apache.maven.wagon</groupId>
539 <artifactId>wagon-webdav-jackrabbit</artifactId>
540 <version>2.10</version>
545 <groupId>org.codehaus.mojo</groupId>
546 <artifactId>properties-maven-plugin</artifactId>
550 <goal>set-system-properties</goal>
555 <name>maven.wagon.http.ssl.allowall</name>
556 <value>${ssl.allowall}</value>
559 <name>maven.wagon.http.ssl.insecure</name>
560 <value>${ssl.insecure}</value>
569 <!-- blackduck maven plugin -->
570 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
571 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
572 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
573 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
574 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
576 <!-- force Eclipse to skip the additional-install step specified in the
577 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-install-plugin</artifactId>
583 <id>additional-install</id>
585 <goal>install-file</goal>
594 <!-- ================================================================================== -->
595 <!-- The modules we build every time -->
596 <!-- ================================================================================== -->
598 <module>appc-common</module>
600 <!-- Adding profiles for testing -->
605 <ssl.allowall>true</ssl.allowall>
606 <ssl.insecure>true</ssl.insecure>
607 <openecomp.git.port>7999</openecomp.git.port>
608 <openecomp.git.project>st_osecomp</openecomp.git.project>
609 <openecomp.git.protocol>http</openecomp.git.protocol>
611 <!-- Core app-c from 1604 -->
613 <activeByDefault>true</activeByDefault>
616 <module>appc-common</module>
617 <module>appc-adapters</module>
618 <module>appc-provider</module>
619 <module>appc-event-listener</module>
620 <module>appc-sdc-listener</module>
621 <module>appc-lifecycle-management</module>
622 <module>appc-oam</module>
623 <module>appc-config</module>
624 <module>appc-directed-graph</module>
625 <module>appc-outbound</module>
626 <module>appc-inbound</module>
627 <module>appc-sequence-generator</module>
628 <module>appc-client</module>
629 <module>appc-test-dependencies</module>
633 <id>request-dispatcher</id>
635 <ssl.allowall>true</ssl.allowall>
636 <ssl.insecure>true</ssl.insecure>
639 <activeByDefault>true</activeByDefault>
642 <module>appc-dispatcher</module>
643 <module>appc-metric</module>
644 <module>appc-dg</module>
645 <module>appc-dg-util</module>