blob: 7c1257378138a7e25cb0c8afb69a98f58db8f321 [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Patrick Brady7a638b62017-03-30 11:04:22 -07002<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">
Patrick Brady57b5eef2017-02-10 15:00:49 -08004 <parent>
Gary Wuf6573912017-06-21 16:51:59 -07005 <groupId>org.onap.oparent</groupId>
6 <artifactId>oparent</artifactId>
7 <version>1.0.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -08008 </parent>
Patrick Brady7a638b62017-03-30 11:04:22 -07009
10
11 <modelVersion>4.0.0</modelVersion>
Patrick Brady57b5eef2017-02-10 15:00:49 -080012 <packaging>pom</packaging>
13 <groupId>org.openecomp.appc</groupId>
14 <artifactId>appc</artifactId>
Patrick Brady03682da2017-03-10 13:07:19 -080015 <version>1.1.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080016 <name>APP-C</name>
17 <description>Construct the Application Controller component for the ECOMP project.</description>
18 <inceptionYear>2015-07-20</inceptionYear>
19 <organization>
20 <name>OpenECOMP</name>
21 </organization>
Patrick Brady7a638b62017-03-30 11:04:22 -070022
23
Patrick Brady57b5eef2017-02-10 15:00:49 -080024 <!-- ================================================================================== -->
25 <!-- Configuration properties -->
26 <!-- ================================================================================== -->
27 <properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070028 <!-- VERSIONS -->
29 <!-- OpenDaylight Versions -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070030 <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>
Patrick Brady8d2ca0d2017-04-05 16:16:59 -070035 <odl.controller.mdsal.features.version>1.4.1-Boron-SR1</odl.controller.mdsal.features.version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070036 <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>
Patrick Brady8d2ca0d2017-04-05 16:16:59 -070048 <broker-mdsal.version>1.4.1-Boron-SR1</broker-mdsal.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070049
50 <!-- OPENECOMP SDNC versions -->
Patrick Brady5c387462017-06-22 10:30:40 -070051 <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>
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -040054 <openecomp.sdnc.sql-resource.version>1.1.2-SNAPSHOT</openecomp.sdnc.sql-resource.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070055
Patrick Bradyc7d00752017-06-01 10:45:37 -070056 <cdp.pal.version>1.1.7-oss</cdp.pal.version>
57 <dmaap.client.version>0.2.12</dmaap.client.version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080058 <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>
Patrick Brady7a638b62017-03-30 11:04:22 -070063 <bundle.plugin.version>2.5.0</bundle.plugin.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070064 <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>
Patrick Bradya41533f2017-04-03 09:47:37 -070067 <commons.lang3.version>3.4</commons.lang3.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070068 <antlr.version>4.5.1</antlr.version>
69 <mysql.connector.version>5.1.39</mysql.connector.version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070070 <logback.version>1.1.1</logback.version>
Patrick Brady38713202017-07-28 11:29:23 -070071 <toscalib.version>1.1.0-SNAPSHOT</toscalib.version>
72 <sdc-client.version>1.1.13-SNAPSHOT</sdc-client.version>
73 <jackson.yml.version>2.3.2</jackson.yml.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070074
75 <!-- SONAR -->
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}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
80 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
81 <sonar.projectVersion>${project.version}</sonar.projectVersion>
82
Patrick Brady57b5eef2017-02-10 15:00:49 -080083 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
Patrick Brady57b5eef2017-02-10 15:00:49 -080084 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
Patrick Brady7a638b62017-03-30 11:04:22 -070085 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080086 <yang.file.directory>src/main/yang</yang.file.directory>
Patrick Brady7a638b62017-03-30 11:04:22 -070087 <features.file>features.xml</features.file>
Patrick Bradyc7d00752017-06-01 10:45:37 -070088 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
89 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070090
Patrick Brady57b5eef2017-02-10 15:00:49 -080091 </properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070092
93
Patrick Brady57b5eef2017-02-10 15:00:49 -080094 <!-- ================================================================================== -->
95 <!-- Javadoc Generation Plugin -->
96 <!-- ================================================================================== -->
97 <reporting>
98 <plugins>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-javadoc-plugin</artifactId>
beili.zhoufe0e9892017-08-10 14:54:42 -0400102 <version>2.10</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800103 <configuration>
104 <excludePackageNames>org.openecomp.sdnc</excludePackageNames>
105 <failOnError>false</failOnError>
106 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
107 <docletArtifact>
108 <groupId>org.umlgraph</groupId>
109 <artifactId>umlgraph</artifactId>
110 <version>5.6</version>
111 </docletArtifact>
112 <additionalparam>-views</additionalparam>
113 <useStandardDocletOptions>true</useStandardDocletOptions>
114 </configuration>
115 </plugin>
116 </plugins>
117 </reporting>
Patrick Brady7a638b62017-03-30 11:04:22 -0700118
119
Patrick Brady57b5eef2017-02-10 15:00:49 -0800120 <!-- ================================================================================== -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700121 <!-- Distribution Management Sites -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800122 <!-- ================================================================================== -->
123 <distributionManagement>
124 <!-- This site is used for Javadocs -->
125 <site>
Patrick Brady7a638b62017-03-30 11:04:22 -0700126 <id>ecomp-site</id>
Gary Wuf6573912017-06-21 16:51:59 -0700127 <url>dav:${onap.nexus.url}/sites/site/org/onap/appc/${project.version}</url>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800128 </site>
129 </distributionManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700130
131
Patrick Brady57b5eef2017-02-10 15:00:49 -0800132 <!-- ================================================================================== -->
133 <!-- Define plugin repositories -->
134 <!-- ================================================================================== -->
135 <pluginRepositories>
136 <pluginRepository>
137 <id>opendaylight-mirror</id>
138 <name>opendaylight-mirror</name>
139 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
140 <releases>
141 <enabled>true</enabled>
142 <updatePolicy>never</updatePolicy>
143 </releases>
144 <snapshots>
145 <enabled>false</enabled>
146 </snapshots>
147 </pluginRepository>
148 <pluginRepository>
149 <id>opendaylight-snapshot</id>
150 <name>opendaylight-snapshot</name>
151 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
152 <releases>
153 <enabled>false</enabled>
154 </releases>
155 <snapshots>
156 <enabled>true</enabled>
157 </snapshots>
158 </pluginRepository>
159 <!-- Black Duck plugin dependencies -->
160 <pluginRepository>
161 <id>JCenter</id>
162 <name>JCenter Repository</name>
163 <url>http://jcenter.bintray.com</url>
164 </pluginRepository>
165 <pluginRepository>
166 <id>Restlet</id>
167 <name>Restlet Repository</name>
168 <url>http://maven.restlet.com</url>
169 </pluginRepository>
170 </pluginRepositories>
Patrick Brady7a638b62017-03-30 11:04:22 -0700171
172
Patrick Brady57b5eef2017-02-10 15:00:49 -0800173 <!-- ================================================================================== -->
174 <!-- Define project-wide dependencies -->
175 <!-- ================================================================================== -->
176 <dependencyManagement>
177 <dependencies>
178 <!-- ODL -->
179 <dependency>
Gary Wuf6573912017-06-21 16:51:59 -0700180 <groupId>org.opendaylight.odlparent</groupId>
181 <artifactId>odlparent</artifactId>
182 <version>1.7.1-Boron-SR1</version>
183 <scope>import</scope>
184 <type>pom</type>
185 </dependency>
186 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800187 <groupId>org.opendaylight.controller</groupId>
188 <artifactId>config-api</artifactId>
189 <version>${odl.controller.config.api.version}</version>
190 </dependency>
191 <dependency>
192 <groupId>org.opendaylight.controller</groupId>
193 <artifactId>sal-binding-config</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800194 <version>${odl.mdsal.version}</version>
195 </dependency>
196 <dependency>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>sal-binding-api</artifactId>
199 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800200 </dependency>
201 <dependency>
202 <groupId>org.opendaylight.controller</groupId>
203 <artifactId>sal-test-model</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800204 <version>${odl.mdsal.version}</version>
205 </dependency>
206 <dependency>
207 <groupId>org.opendaylight.netconf</groupId>
208 <artifactId>sal-rest-connector</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800209 <version>${odl.mdsal.version}</version>
210 </dependency>
211 <dependency>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>sal-binding-broker-impl</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800214 <version>${odl.mdsal.version}</version>
215 </dependency>
216 <dependency>
217 <groupId>org.opendaylight.controller</groupId>
218 <artifactId>sal-common-util</artifactId>
219 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800220 </dependency>
221 <dependency>
222 <groupId>org.opendaylight.mdsal</groupId>
223 <artifactId>yang-binding</artifactId>
Patrick Bradya41533f2017-04-03 09:47:37 -0700224 <version>${odl.mdsal.yang.binding.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800225 </dependency>
226 <dependency>
227 <groupId>org.opendaylight.yangtools</groupId>
228 <artifactId>yang-common</artifactId>
229 <version>${odl.yangtools.version}</version>
230 </dependency>
231 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800232 <groupId>org.opendaylight.controller</groupId>
233 <artifactId>features-mdsal</artifactId>
Patrick Bradyda976a92017-04-05 10:16:12 -0700234 <version>${odl.controller.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800235 <classifier>features</classifier>
236 <type>xml</type>
237 </dependency>
238 <dependency>
239 <groupId>org.opendaylight.mdsal</groupId>
240 <artifactId>features-mdsal</artifactId>
Patrick Bradyda976a92017-04-05 10:16:12 -0700241 <version>${odl.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800242 <classifier>features</classifier>
243 <type>xml</type>
244 </dependency>
245 <dependency>
246 <groupId>org.opendaylight.controller</groupId>
247 <artifactId>opendaylight-karaf-empty</artifactId>
248 <version>${odl.karaf.empty.distro.version}</version>
249 <type>zip</type>
250 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700251 <dependency>
252 <groupId>org.opendaylight.mdsal.model</groupId>
253 <artifactId>ietf-inet-types</artifactId>
254 <version>${odl.ietf-inet-types.version}</version>
255 </dependency>
256 <dependency>
257 <groupId>org.opendaylight.mdsal.model</groupId>
258 <artifactId>ietf-yang-types</artifactId>
259 <version>${odl.ietf-yang-types.version}</version>
260 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800261 <!-- 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> -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700269
Patrick Brady57b5eef2017-02-10 15:00:49 -0800270 <!-- YANG tools -->
271 <dependency>
272 <groupId>org.opendaylight.yangtools</groupId>
273 <artifactId>features-yangtools</artifactId>
274 <version>${odl.yangtools.version}</version>
275 <classifier>features</classifier>
276 <type>xml</type>
277 </dependency>
278 <!-- SDNC -->
279 <dependency>
280 <groupId>org.openecomp.sdnc.core</groupId>
281 <artifactId>sli-common</artifactId>
282 <version>${sdnctl.sli.version}</version>
283 </dependency>
284 <dependency>
285 <groupId>org.openecomp.sdnc.core</groupId>
286 <artifactId>sli-provider</artifactId>
287 <version>${sdnctl.sli.version}</version>
288 </dependency>
289 <!-- dblib -->
290 <dependency>
291 <groupId>org.openecomp.sdnc.core</groupId>
292 <artifactId>dblib-provider</artifactId>
293 <version>${sdnctl.dblib.version}</version>
294 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700295 <!-- A&AI service provider dependency override in order to use a stable
296 version -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800297 <dependency>
298 <groupId>org.openecomp.sdnc.adaptors</groupId>
299 <artifactId>aai-service-provider</artifactId>
300 <version>${sdnctl.aai.service.version}</version>
301 </dependency>
302 <!-- APPC -->
303 <dependency>
304 <groupId>org.openecomp.appc</groupId>
305 <artifactId>appc-controller-features</artifactId>
306 <classifier>features</classifier>
307 <type>xml</type>
308 <version>${project.version}</version>
309 </dependency>
310 <dependency>
311 <groupId>org.openecomp.appc</groupId>
312 <artifactId>appc-controller-model</artifactId>
313 <version>${project.version}</version>
314 </dependency>
315 <dependency>
316 <groupId>org.openecomp.appc</groupId>
317 <artifactId>appc-controller-bundle</artifactId>
318 <version>${project.version}</version>
319 <classifier>config</classifier>
320 <type>xml</type>
321 </dependency>
322 <dependency>
323 <groupId>org.openecomp.appc</groupId>
324 <artifactId>appc-controller-bundle</artifactId>
325 <version>${project.version}</version>
326 </dependency>
327 <!-- OTHER -->
328 <dependency>
329 <groupId>equinoxSDK381</groupId>
330 <artifactId>org.eclipse.osgi</artifactId>
331 <version>${equinox.osgi.version}</version>
332 </dependency>
333 <dependency>
334 <groupId>org.apache.commons</groupId>
335 <artifactId>commons-lang3</artifactId>
336 <version>${commons.lang3.version}</version>
337 </dependency>
338 <dependency>
339 <groupId>junit</groupId>
340 <artifactId>junit</artifactId>
341 <version>4.12</version>
342 <scope>test</scope>
343 </dependency>
344 <dependency>
345 <groupId>ch.qos.logback</groupId>
346 <artifactId>logback-core</artifactId>
347 <version>1.1.1</version>
348 <scope>compile</scope>
349 </dependency>
350 <dependency>
351 <groupId>ch.qos.logback</groupId>
352 <artifactId>logback-classic</artifactId>
353 <version>1.1.1</version>
354 <scope>compile</scope>
355 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700356 <!-- <dependency> -->
357 <!-- <groupId>org.slf4j</groupId> -->
358 <!-- <artifactId>slf4j-api</artifactId> -->
359 <!-- <version>1.7.12</version> -->
360 <!-- </dependency> -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800361 <dependency>
362 <groupId>commons-lang</groupId>
363 <artifactId>commons-lang</artifactId>
364 <version>2.6</version>
365 </dependency>
366 <dependency>
367 <groupId>org.apache.sshd</groupId>
368 <artifactId>sshd-core</artifactId>
369 <version>0.12.0</version>
370 </dependency>
371 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800372 <groupId>org.mockito</groupId>
373 <artifactId>mockito-core</artifactId>
374 <version>1.10.19</version>
375 <scope>test</scope>
376 </dependency>
377 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800378 <groupId>com.att.cdp</groupId>
379 <artifactId>cdp-pal-common</artifactId>
380 <version>${cdp.pal.version}</version>
381 </dependency>
382 <dependency>
383 <groupId>com.att.cdp</groupId>
384 <artifactId>cdp-pal-openstack</artifactId>
385 <version>${cdp.pal.version}</version>
386 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800387 <dependency>
388 <groupId>com.att.authz</groupId>
389 <artifactId>authz-client</artifactId>
390 <version>2.3</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800391 </dependency>
392 <!-- EELF logging framework -->
393 <dependency>
394 <groupId>com.att.eelf</groupId>
395 <artifactId>eelf-core</artifactId>
396 <version>${eelf.version}</version>
397 </dependency>
398 </dependencies>
399 </dependencyManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700400
401
Patrick Brady57b5eef2017-02-10 15:00:49 -0800402 <!-- ================================================================================== -->
403 <!-- Define common plugins and make them available for all modules -->
404 <!-- ================================================================================== -->
405 <build>
406 <pluginManagement>
407 <plugins>
408 <!-- Define the site plugin to generate documentation -->
409 <plugin>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-site-plugin</artifactId>
412 <version>3.4</version>
413 <dependencies>
414 <!-- add support for ssh/scp -->
415 <dependency>
416 <groupId>org.apache.maven.wagon</groupId>
417 <artifactId>wagon-ssh</artifactId>
418 <version>1.0</version>
419 </dependency>
420 </dependencies>
421 </plugin>
422 <!-- Define the compiler plugin -->
423 <plugin>
424 <groupId>org.apache.maven.plugins</groupId>
425 <artifactId>maven-compiler-plugin</artifactId>
426 <version>${maven.compile.plugin.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800427 </plugin>
428 <!-- Define the javadoc plugin -->
429 <plugin>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-javadoc-plugin</artifactId>
432 <version>2.10</version>
433 <configuration>
434 <excludePackageNames>org.opendaylight.*:org.openecomp.sdnc</excludePackageNames>
435 </configuration>
436 </plugin>
437 <!-- Define the source plugin -->
438 <plugin>
439 <artifactId>maven-source-plugin</artifactId>
440 <version>2.1.1</version>
441 </plugin>
442 <!-- Resources plugin -->
443 <plugin>
444 <groupId>org.apache.maven.plugins</groupId>
445 <artifactId>maven-resources-plugin</artifactId>
446 <version>2.6</version>
447 <executions>
448 <execution>
449 <id>filter</id>
450 <goals>
451 <goal>resources</goal>
452 </goals>
453 <phase>generate-resources</phase>
454 </execution>
455 </executions>
456 </plugin>
457 <plugin>
458 <artifactId>maven-release-plugin</artifactId>
459 <version>2.5.2</version>
460 <configuration>
461 <goals>-s ${mvn.settings} deploy</goals>
462 </configuration>
463 </plugin>
464 <plugin>
465 <artifactId>maven-assembly-plugin</artifactId>
466 <version>2.5.5</version>
467 </plugin>
468 <plugin>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-deploy-plugin</artifactId>
471 <version>2.8.1</version>
472 </plugin>
473 <plugin>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-dependency-plugin</artifactId>
476 <version>2.10</version>
477 </plugin>
478 <!-- Maven surefire plugin for testing -->
479 <plugin>
480 <artifactId>maven-surefire-plugin</artifactId>
481 <version>2.17</version>
482 </plugin>
483 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
484 <plugin>
485 <groupId>org.apache.felix</groupId>
486 <artifactId>maven-bundle-plugin</artifactId>
487 <version>${bundle.plugin.version}</version>
488 </plugin>
489 <plugin>
490 <groupId>org.codehaus.mojo</groupId>
491 <artifactId>build-helper-maven-plugin</artifactId>
492 <version>1.9.1</version>
493 </plugin>
494 <!-- SonarQube plugin -->
495 <plugin>
496 <groupId>org.codehaus.mojo</groupId>
497 <artifactId>sonar-maven-plugin</artifactId>
498 <version>3.2</version>
499 </plugin>
500 </plugins>
501 </pluginManagement>
502 <plugins>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700503 <!--maven staging plugin -->
Patrick Brady245d6f22017-04-04 11:24:11 -0700504 <plugin>
505 <groupId>org.sonatype.plugins</groupId>
506 <artifactId>nexus-staging-maven-plugin</artifactId>
507 <version>1.6.7</version>
508 <extensions>true</extensions>
509 <configuration>
Gary Wuf6573912017-06-21 16:51:59 -0700510 <nexusUrl>${onap.nexus.url}</nexusUrl>
Patrick Brady245d6f22017-04-04 11:24:11 -0700511 <stagingProfileId>176c31dfe190a</stagingProfileId>
512 <serverId>ecomp-staging</serverId>
513 </configuration>
514 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800515 <!-- Javadocs Plugin -->
516 <plugin>
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-site-plugin</artifactId>
519 <version>3.6</version>
520 <dependencies>
521 <dependency>
522 <groupId>org.apache.maven.wagon</groupId>
523 <artifactId>wagon-webdav-jackrabbit</artifactId>
524 <version>2.10</version>
525 </dependency>
526 </dependencies>
527 </plugin>
528 <!-- license plugin -->
529 <plugin>
530 <groupId>org.codehaus.mojo</groupId>
531 <artifactId>license-maven-plugin</artifactId>
532 <version>1.10</version>
533 <configuration>
Patrick Bradyfd8bc372017-07-19 11:22:32 -0700534 <extraExtensions>
535 <yml>properties</yml>
536 <yang>java</yang>
537 </extraExtensions>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800538 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
539 <processStartTag>============LICENSE_START=======================================================</processStartTag>
540 <processEndTag>============LICENSE_END=========================================================</processEndTag>
541 <sectionDelimiter>================================================================================</sectionDelimiter>
Patrick Bradyfd8bc372017-07-19 11:22:32 -0700542 <licenseName>appc</licenseName>
543 <!-- This should point to the license directory of the root folder of the base appc project -->
beili.zhoub51814c2017-08-08 15:54:28 -0400544 <licenseResolver>file:${user.dir}/license-details</licenseResolver>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800545 <inceptionYear>2017</inceptionYear>
Patrick Brady7a261fb2017-06-06 22:35:43 -0700546 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
Patrick Bradyfd8bc372017-07-19 11:22:32 -0700547 <projectName>ONAP : APPC</projectName>
548 <canUpdateCopyright>true</canUpdateCopyright>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800549 <canUpdateDescription>true</canUpdateDescription>
550 <canUpdateLicense>true</canUpdateLicense>
551 <emptyLineAfterHeader>true</emptyLineAfterHeader>
Skip Wonnell49715792017-08-13 15:19:32 -0500552 <!-- exclude json files -->
553 <excludes>
554 <exclude>**/*.json</exclude>
555 </excludes>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800556 </configuration>
557 <executions>
558 <execution>
559 <id>first</id>
560 <goals>
561 <goal>update-file-header</goal>
562 </goals>
563 <phase>process-sources</phase>
564 </execution>
565 </executions>
566 </plugin>
567 <plugin>
568 <groupId>org.codehaus.mojo</groupId>
569 <artifactId>properties-maven-plugin</artifactId>
570 <executions>
571 <execution>
572 <goals>
573 <goal>set-system-properties</goal>
574 </goals>
575 <configuration>
576 <properties>
577 <property>
578 <name>maven.wagon.http.ssl.allowall</name>
579 <value>${ssl.allowall}</value>
580 </property>
581 <property>
582 <name>maven.wagon.http.ssl.insecure</name>
583 <value>${ssl.insecure}</value>
584 </property>
585 </properties>
586 </configuration>
587 </execution>
588 </executions>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700589
Patrick Brady57b5eef2017-02-10 15:00:49 -0800590 </plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700591
Patrick Brady57b5eef2017-02-10 15:00:49 -0800592 <!-- blackduck maven plugin -->
Patrick Bradyc7d00752017-06-01 10:45:37 -0700593 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
594 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
595 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
596 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
597 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
598
beili.zhoufe0e9892017-08-10 14:54:42 -0400599 <!-- force Eclipse to skip the additional-install step specified in the
Patrick Bradyc7d00752017-06-01 10:45:37 -0700600 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800601 <plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700602 <groupId>org.apache.maven.plugins</groupId>
603 <artifactId>maven-install-plugin</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800604 <executions>
605 <execution>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700606 <id>additional-install</id>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800607 <goals>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700608 <goal>install-file</goal>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800609 </goals>
610 </execution>
611 </executions>
612 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800613 </plugins>
614 </build>
Patrick Brady7a638b62017-03-30 11:04:22 -0700615
616
Patrick Brady57b5eef2017-02-10 15:00:49 -0800617 <!-- ================================================================================== -->
618 <!-- The modules we build every time -->
619 <!-- ================================================================================== -->
620 <modules>
621 <module>appc-common</module>
622 </modules>
623 <!-- Adding profiles for testing -->
624 <profiles>
625 <profile>
626 <id>appc-core</id>
627 <properties>
628 <ssl.allowall>true</ssl.allowall>
629 <ssl.insecure>true</ssl.insecure>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800630 <openecomp.git.port>7999</openecomp.git.port>
631 <openecomp.git.project>st_osecomp</openecomp.git.project>
632 <openecomp.git.protocol>http</openecomp.git.protocol>
633 </properties>
634 <!-- Core app-c from 1604 -->
635 <activation>
636 <activeByDefault>true</activeByDefault>
637 </activation>
638 <modules>
639 <module>appc-common</module>
640 <module>appc-adapters</module>
641 <module>appc-provider</module>
642 <module>appc-event-listener</module>
643 <module>appc-asdc-listener</module>
beili.zhoufe0e9892017-08-10 14:54:42 -0400644 <module>appc-lifecycle-management</module>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700645 <module>appc-oam</module>
Anand Chaturvedi0df7ab42017-08-12 01:31:10 -0400646 <module>appc-config</module>
Anand Chaturvedie178b072017-08-14 20:10:36 -0400647 <module>appc-outbound</module>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800648 </modules>
649 </profile>
650 <profile>
651 <id>request-dispatcher</id>
652 <properties>
653 <ssl.allowall>true</ssl.allowall>
654 <ssl.insecure>true</ssl.insecure>
655 </properties>
656 <activation>
657 <activeByDefault>true</activeByDefault>
658 </activation>
659 <modules>
660 <module>appc-dispatcher</module>
661 <module>appc-metric</module>
662 <module>appc-dg</module>
663 <module>appc-dg-util</module>
664 </modules>
665 </profile>
666 </profiles>
Patrick Brady9171e282017-02-21 13:20:34 -0800667</project>