blob: fa874f67e8418805a66b58a1a680f8058d3fcc99 [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>
Patrick Brady7a638b62017-03-30 11:04:22 -070054
Patrick Bradyc7d00752017-06-01 10:45:37 -070055 <cdp.pal.version>1.1.7-oss</cdp.pal.version>
56 <dmaap.client.version>0.2.12</dmaap.client.version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080057 <eelf.version>0.0.1</eelf.version>
58 <eelf.maven.plugin.version>0.0.1</eelf.maven.plugin.version>
59 <cadi-version>1.3.0</cadi-version>
60 <inno-version>1.2.11</inno-version>
61 <dme2-version>3.1.200</dme2-version>
Patrick Brady7a638b62017-03-30 11:04:22 -070062 <bundle.plugin.version>2.5.0</bundle.plugin.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070063 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
64 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
65 <apache.httpcomponents.version>4.4</apache.httpcomponents.version>
Patrick Bradya41533f2017-04-03 09:47:37 -070066 <commons.lang3.version>3.4</commons.lang3.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070067 <antlr.version>4.5.1</antlr.version>
68 <mysql.connector.version>5.1.39</mysql.connector.version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070069 <logback.version>1.1.1</logback.version>
Patrick Brady38713202017-07-28 11:29:23 -070070 <toscalib.version>1.1.0-SNAPSHOT</toscalib.version>
71 <sdc-client.version>1.1.13-SNAPSHOT</sdc-client.version>
72 <jackson.yml.version>2.3.2</jackson.yml.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070073
74 <!-- SONAR -->
75 <sonar.language>java</sonar.language>
76 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
77 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
78 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
79 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
80 <sonar.projectVersion>${project.version}</sonar.projectVersion>
81
Patrick Brady57b5eef2017-02-10 15:00:49 -080082 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
Patrick Brady57b5eef2017-02-10 15:00:49 -080083 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
Patrick Brady7a638b62017-03-30 11:04:22 -070084 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080085 <yang.file.directory>src/main/yang</yang.file.directory>
Patrick Brady7a638b62017-03-30 11:04:22 -070086 <features.file>features.xml</features.file>
Patrick Bradyc7d00752017-06-01 10:45:37 -070087 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
88 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070089
Patrick Brady57b5eef2017-02-10 15:00:49 -080090 </properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070091
92
Patrick Brady57b5eef2017-02-10 15:00:49 -080093 <!-- ================================================================================== -->
94 <!-- Javadoc Generation Plugin -->
95 <!-- ================================================================================== -->
96 <reporting>
97 <plugins>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-javadoc-plugin</artifactId>
beili.zhoufe0e9892017-08-10 14:54:42 -0400101 <version>2.10</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800102 <configuration>
103 <excludePackageNames>org.openecomp.sdnc</excludePackageNames>
104 <failOnError>false</failOnError>
105 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
106 <docletArtifact>
107 <groupId>org.umlgraph</groupId>
108 <artifactId>umlgraph</artifactId>
109 <version>5.6</version>
110 </docletArtifact>
111 <additionalparam>-views</additionalparam>
112 <useStandardDocletOptions>true</useStandardDocletOptions>
113 </configuration>
114 </plugin>
115 </plugins>
116 </reporting>
Patrick Brady7a638b62017-03-30 11:04:22 -0700117
118
Patrick Brady57b5eef2017-02-10 15:00:49 -0800119 <!-- ================================================================================== -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700120 <!-- Distribution Management Sites -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800121 <!-- ================================================================================== -->
122 <distributionManagement>
123 <!-- This site is used for Javadocs -->
124 <site>
Patrick Brady7a638b62017-03-30 11:04:22 -0700125 <id>ecomp-site</id>
Gary Wuf6573912017-06-21 16:51:59 -0700126 <url>dav:${onap.nexus.url}/sites/site/org/onap/appc/${project.version}</url>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800127 </site>
128 </distributionManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700129
130
Patrick Brady57b5eef2017-02-10 15:00:49 -0800131 <!-- ================================================================================== -->
132 <!-- Define plugin repositories -->
133 <!-- ================================================================================== -->
134 <pluginRepositories>
135 <pluginRepository>
136 <id>opendaylight-mirror</id>
137 <name>opendaylight-mirror</name>
138 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
139 <releases>
140 <enabled>true</enabled>
141 <updatePolicy>never</updatePolicy>
142 </releases>
143 <snapshots>
144 <enabled>false</enabled>
145 </snapshots>
146 </pluginRepository>
147 <pluginRepository>
148 <id>opendaylight-snapshot</id>
149 <name>opendaylight-snapshot</name>
150 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
151 <releases>
152 <enabled>false</enabled>
153 </releases>
154 <snapshots>
155 <enabled>true</enabled>
156 </snapshots>
157 </pluginRepository>
158 <!-- Black Duck plugin dependencies -->
159 <pluginRepository>
160 <id>JCenter</id>
161 <name>JCenter Repository</name>
162 <url>http://jcenter.bintray.com</url>
163 </pluginRepository>
164 <pluginRepository>
165 <id>Restlet</id>
166 <name>Restlet Repository</name>
167 <url>http://maven.restlet.com</url>
168 </pluginRepository>
169 </pluginRepositories>
Patrick Brady7a638b62017-03-30 11:04:22 -0700170
171
Patrick Brady57b5eef2017-02-10 15:00:49 -0800172 <!-- ================================================================================== -->
173 <!-- Define project-wide dependencies -->
174 <!-- ================================================================================== -->
175 <dependencyManagement>
176 <dependencies>
177 <!-- ODL -->
178 <dependency>
Gary Wuf6573912017-06-21 16:51:59 -0700179 <groupId>org.opendaylight.odlparent</groupId>
180 <artifactId>odlparent</artifactId>
181 <version>1.7.1-Boron-SR1</version>
182 <scope>import</scope>
183 <type>pom</type>
184 </dependency>
185 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800186 <groupId>org.opendaylight.controller</groupId>
187 <artifactId>config-api</artifactId>
188 <version>${odl.controller.config.api.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>sal-binding-config</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800193 <version>${odl.mdsal.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.opendaylight.controller</groupId>
197 <artifactId>sal-binding-api</artifactId>
198 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800199 </dependency>
200 <dependency>
201 <groupId>org.opendaylight.controller</groupId>
202 <artifactId>sal-test-model</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800203 <version>${odl.mdsal.version}</version>
204 </dependency>
205 <dependency>
206 <groupId>org.opendaylight.netconf</groupId>
207 <artifactId>sal-rest-connector</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800208 <version>${odl.mdsal.version}</version>
209 </dependency>
210 <dependency>
211 <groupId>org.opendaylight.controller</groupId>
212 <artifactId>sal-binding-broker-impl</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800213 <version>${odl.mdsal.version}</version>
214 </dependency>
215 <dependency>
216 <groupId>org.opendaylight.controller</groupId>
217 <artifactId>sal-common-util</artifactId>
218 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800219 </dependency>
220 <dependency>
221 <groupId>org.opendaylight.mdsal</groupId>
222 <artifactId>yang-binding</artifactId>
Patrick Bradya41533f2017-04-03 09:47:37 -0700223 <version>${odl.mdsal.yang.binding.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800224 </dependency>
225 <dependency>
226 <groupId>org.opendaylight.yangtools</groupId>
227 <artifactId>yang-common</artifactId>
228 <version>${odl.yangtools.version}</version>
229 </dependency>
230 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800231 <groupId>org.opendaylight.controller</groupId>
232 <artifactId>features-mdsal</artifactId>
Patrick Bradyda976a92017-04-05 10:16:12 -0700233 <version>${odl.controller.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800234 <classifier>features</classifier>
235 <type>xml</type>
236 </dependency>
237 <dependency>
238 <groupId>org.opendaylight.mdsal</groupId>
239 <artifactId>features-mdsal</artifactId>
Patrick Bradyda976a92017-04-05 10:16:12 -0700240 <version>${odl.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800241 <classifier>features</classifier>
242 <type>xml</type>
243 </dependency>
244 <dependency>
245 <groupId>org.opendaylight.controller</groupId>
246 <artifactId>opendaylight-karaf-empty</artifactId>
247 <version>${odl.karaf.empty.distro.version}</version>
248 <type>zip</type>
249 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700250 <dependency>
251 <groupId>org.opendaylight.mdsal.model</groupId>
252 <artifactId>ietf-inet-types</artifactId>
253 <version>${odl.ietf-inet-types.version}</version>
254 </dependency>
255 <dependency>
256 <groupId>org.opendaylight.mdsal.model</groupId>
257 <artifactId>ietf-yang-types</artifactId>
258 <version>${odl.ietf-yang-types.version}</version>
259 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800260 <!-- 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> -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700268
Patrick Brady57b5eef2017-02-10 15:00:49 -0800269 <!-- YANG tools -->
270 <dependency>
271 <groupId>org.opendaylight.yangtools</groupId>
272 <artifactId>features-yangtools</artifactId>
273 <version>${odl.yangtools.version}</version>
274 <classifier>features</classifier>
275 <type>xml</type>
276 </dependency>
277 <!-- SDNC -->
278 <dependency>
279 <groupId>org.openecomp.sdnc.core</groupId>
280 <artifactId>sli-common</artifactId>
281 <version>${sdnctl.sli.version}</version>
282 </dependency>
283 <dependency>
284 <groupId>org.openecomp.sdnc.core</groupId>
285 <artifactId>sli-provider</artifactId>
286 <version>${sdnctl.sli.version}</version>
287 </dependency>
288 <!-- dblib -->
289 <dependency>
290 <groupId>org.openecomp.sdnc.core</groupId>
291 <artifactId>dblib-provider</artifactId>
292 <version>${sdnctl.dblib.version}</version>
293 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700294 <!-- A&AI service provider dependency override in order to use a stable
295 version -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800296 <dependency>
297 <groupId>org.openecomp.sdnc.adaptors</groupId>
298 <artifactId>aai-service-provider</artifactId>
299 <version>${sdnctl.aai.service.version}</version>
300 </dependency>
301 <!-- APPC -->
302 <dependency>
303 <groupId>org.openecomp.appc</groupId>
304 <artifactId>appc-controller-features</artifactId>
305 <classifier>features</classifier>
306 <type>xml</type>
307 <version>${project.version}</version>
308 </dependency>
309 <dependency>
310 <groupId>org.openecomp.appc</groupId>
311 <artifactId>appc-controller-model</artifactId>
312 <version>${project.version}</version>
313 </dependency>
314 <dependency>
315 <groupId>org.openecomp.appc</groupId>
316 <artifactId>appc-controller-bundle</artifactId>
317 <version>${project.version}</version>
318 <classifier>config</classifier>
319 <type>xml</type>
320 </dependency>
321 <dependency>
322 <groupId>org.openecomp.appc</groupId>
323 <artifactId>appc-controller-bundle</artifactId>
324 <version>${project.version}</version>
325 </dependency>
326 <!-- OTHER -->
327 <dependency>
328 <groupId>equinoxSDK381</groupId>
329 <artifactId>org.eclipse.osgi</artifactId>
330 <version>${equinox.osgi.version}</version>
331 </dependency>
332 <dependency>
333 <groupId>org.apache.commons</groupId>
334 <artifactId>commons-lang3</artifactId>
335 <version>${commons.lang3.version}</version>
336 </dependency>
337 <dependency>
338 <groupId>junit</groupId>
339 <artifactId>junit</artifactId>
340 <version>4.12</version>
341 <scope>test</scope>
342 </dependency>
343 <dependency>
344 <groupId>ch.qos.logback</groupId>
345 <artifactId>logback-core</artifactId>
346 <version>1.1.1</version>
347 <scope>compile</scope>
348 </dependency>
349 <dependency>
350 <groupId>ch.qos.logback</groupId>
351 <artifactId>logback-classic</artifactId>
352 <version>1.1.1</version>
353 <scope>compile</scope>
354 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700355 <!-- <dependency> -->
356 <!-- <groupId>org.slf4j</groupId> -->
357 <!-- <artifactId>slf4j-api</artifactId> -->
358 <!-- <version>1.7.12</version> -->
359 <!-- </dependency> -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800360 <dependency>
361 <groupId>commons-lang</groupId>
362 <artifactId>commons-lang</artifactId>
363 <version>2.6</version>
364 </dependency>
365 <dependency>
366 <groupId>org.apache.sshd</groupId>
367 <artifactId>sshd-core</artifactId>
368 <version>0.12.0</version>
369 </dependency>
370 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800371 <groupId>org.mockito</groupId>
372 <artifactId>mockito-core</artifactId>
373 <version>1.10.19</version>
374 <scope>test</scope>
375 </dependency>
376 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800377 <groupId>com.att.cdp</groupId>
378 <artifactId>cdp-pal-common</artifactId>
379 <version>${cdp.pal.version}</version>
380 </dependency>
381 <dependency>
382 <groupId>com.att.cdp</groupId>
383 <artifactId>cdp-pal-openstack</artifactId>
384 <version>${cdp.pal.version}</version>
385 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800386 <dependency>
387 <groupId>com.att.authz</groupId>
388 <artifactId>authz-client</artifactId>
389 <version>2.3</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800390 </dependency>
391 <!-- EELF logging framework -->
392 <dependency>
393 <groupId>com.att.eelf</groupId>
394 <artifactId>eelf-core</artifactId>
395 <version>${eelf.version}</version>
396 </dependency>
397 </dependencies>
398 </dependencyManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700399
400
Patrick Brady57b5eef2017-02-10 15:00:49 -0800401 <!-- ================================================================================== -->
402 <!-- Define common plugins and make them available for all modules -->
403 <!-- ================================================================================== -->
404 <build>
405 <pluginManagement>
406 <plugins>
407 <!-- Define the site plugin to generate documentation -->
408 <plugin>
409 <groupId>org.apache.maven.plugins</groupId>
410 <artifactId>maven-site-plugin</artifactId>
411 <version>3.4</version>
412 <dependencies>
413 <!-- add support for ssh/scp -->
414 <dependency>
415 <groupId>org.apache.maven.wagon</groupId>
416 <artifactId>wagon-ssh</artifactId>
417 <version>1.0</version>
418 </dependency>
419 </dependencies>
420 </plugin>
421 <!-- Define the compiler plugin -->
422 <plugin>
423 <groupId>org.apache.maven.plugins</groupId>
424 <artifactId>maven-compiler-plugin</artifactId>
425 <version>${maven.compile.plugin.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800426 </plugin>
427 <!-- Define the javadoc plugin -->
428 <plugin>
429 <groupId>org.apache.maven.plugins</groupId>
430 <artifactId>maven-javadoc-plugin</artifactId>
431 <version>2.10</version>
432 <configuration>
433 <excludePackageNames>org.opendaylight.*:org.openecomp.sdnc</excludePackageNames>
434 </configuration>
435 </plugin>
436 <!-- Define the source plugin -->
437 <plugin>
438 <artifactId>maven-source-plugin</artifactId>
439 <version>2.1.1</version>
440 </plugin>
441 <!-- Resources plugin -->
442 <plugin>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-resources-plugin</artifactId>
445 <version>2.6</version>
446 <executions>
447 <execution>
448 <id>filter</id>
449 <goals>
450 <goal>resources</goal>
451 </goals>
452 <phase>generate-resources</phase>
453 </execution>
454 </executions>
455 </plugin>
456 <plugin>
457 <artifactId>maven-release-plugin</artifactId>
458 <version>2.5.2</version>
459 <configuration>
460 <goals>-s ${mvn.settings} deploy</goals>
461 </configuration>
462 </plugin>
463 <plugin>
464 <artifactId>maven-assembly-plugin</artifactId>
465 <version>2.5.5</version>
466 </plugin>
467 <plugin>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-deploy-plugin</artifactId>
470 <version>2.8.1</version>
471 </plugin>
472 <plugin>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-dependency-plugin</artifactId>
475 <version>2.10</version>
476 </plugin>
477 <!-- Maven surefire plugin for testing -->
478 <plugin>
479 <artifactId>maven-surefire-plugin</artifactId>
480 <version>2.17</version>
481 </plugin>
482 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
483 <plugin>
484 <groupId>org.apache.felix</groupId>
485 <artifactId>maven-bundle-plugin</artifactId>
486 <version>${bundle.plugin.version}</version>
487 </plugin>
488 <plugin>
489 <groupId>org.codehaus.mojo</groupId>
490 <artifactId>build-helper-maven-plugin</artifactId>
491 <version>1.9.1</version>
492 </plugin>
493 <!-- SonarQube plugin -->
494 <plugin>
495 <groupId>org.codehaus.mojo</groupId>
496 <artifactId>sonar-maven-plugin</artifactId>
497 <version>3.2</version>
498 </plugin>
499 </plugins>
500 </pluginManagement>
501 <plugins>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700502 <!--maven staging plugin -->
Patrick Brady245d6f22017-04-04 11:24:11 -0700503 <plugin>
504 <groupId>org.sonatype.plugins</groupId>
505 <artifactId>nexus-staging-maven-plugin</artifactId>
506 <version>1.6.7</version>
507 <extensions>true</extensions>
508 <configuration>
Gary Wuf6573912017-06-21 16:51:59 -0700509 <nexusUrl>${onap.nexus.url}</nexusUrl>
Patrick Brady245d6f22017-04-04 11:24:11 -0700510 <stagingProfileId>176c31dfe190a</stagingProfileId>
511 <serverId>ecomp-staging</serverId>
512 </configuration>
513 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800514 <!-- Javadocs Plugin -->
515 <plugin>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-site-plugin</artifactId>
518 <version>3.6</version>
519 <dependencies>
520 <dependency>
521 <groupId>org.apache.maven.wagon</groupId>
522 <artifactId>wagon-webdav-jackrabbit</artifactId>
523 <version>2.10</version>
524 </dependency>
525 </dependencies>
526 </plugin>
527 <!-- license plugin -->
528 <plugin>
529 <groupId>org.codehaus.mojo</groupId>
530 <artifactId>license-maven-plugin</artifactId>
531 <version>1.10</version>
532 <configuration>
Patrick Bradyfd8bc372017-07-19 11:22:32 -0700533 <extraExtensions>
534 <yml>properties</yml>
535 <yang>java</yang>
536 </extraExtensions>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800537 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
538 <processStartTag>============LICENSE_START=======================================================</processStartTag>
539 <processEndTag>============LICENSE_END=========================================================</processEndTag>
540 <sectionDelimiter>================================================================================</sectionDelimiter>
Patrick Bradyfd8bc372017-07-19 11:22:32 -0700541 <licenseName>appc</licenseName>
542 <!-- This should point to the license directory of the root folder of the base appc project -->
beili.zhoub51814c2017-08-08 15:54:28 -0400543 <licenseResolver>file:${user.dir}/license-details</licenseResolver>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800544 <inceptionYear>2017</inceptionYear>
Patrick Brady7a261fb2017-06-06 22:35:43 -0700545 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
Patrick Bradyfd8bc372017-07-19 11:22:32 -0700546 <projectName>ONAP : APPC</projectName>
547 <canUpdateCopyright>true</canUpdateCopyright>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800548 <canUpdateDescription>true</canUpdateDescription>
549 <canUpdateLicense>true</canUpdateLicense>
550 <emptyLineAfterHeader>true</emptyLineAfterHeader>
551 </configuration>
552 <executions>
553 <execution>
554 <id>first</id>
555 <goals>
556 <goal>update-file-header</goal>
557 </goals>
558 <phase>process-sources</phase>
559 </execution>
560 </executions>
561 </plugin>
562 <plugin>
563 <groupId>org.codehaus.mojo</groupId>
564 <artifactId>properties-maven-plugin</artifactId>
565 <executions>
566 <execution>
567 <goals>
568 <goal>set-system-properties</goal>
569 </goals>
570 <configuration>
571 <properties>
572 <property>
573 <name>maven.wagon.http.ssl.allowall</name>
574 <value>${ssl.allowall}</value>
575 </property>
576 <property>
577 <name>maven.wagon.http.ssl.insecure</name>
578 <value>${ssl.insecure}</value>
579 </property>
580 </properties>
581 </configuration>
582 </execution>
583 </executions>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700584
Patrick Brady57b5eef2017-02-10 15:00:49 -0800585 </plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700586
Patrick Brady57b5eef2017-02-10 15:00:49 -0800587 <!-- blackduck maven plugin -->
Patrick Bradyc7d00752017-06-01 10:45:37 -0700588 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
589 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
590 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
591 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
592 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
593
beili.zhoufe0e9892017-08-10 14:54:42 -0400594 <!-- force Eclipse to skip the additional-install step specified in the
Patrick Bradyc7d00752017-06-01 10:45:37 -0700595 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800596 <plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700597 <groupId>org.apache.maven.plugins</groupId>
598 <artifactId>maven-install-plugin</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800599 <executions>
600 <execution>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700601 <id>additional-install</id>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800602 <goals>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700603 <goal>install-file</goal>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800604 </goals>
605 </execution>
606 </executions>
607 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800608 </plugins>
609 </build>
Patrick Brady7a638b62017-03-30 11:04:22 -0700610
611
Patrick Brady57b5eef2017-02-10 15:00:49 -0800612 <!-- ================================================================================== -->
613 <!-- The modules we build every time -->
614 <!-- ================================================================================== -->
615 <modules>
616 <module>appc-common</module>
617 </modules>
618 <!-- Adding profiles for testing -->
619 <profiles>
620 <profile>
621 <id>appc-core</id>
622 <properties>
623 <ssl.allowall>true</ssl.allowall>
624 <ssl.insecure>true</ssl.insecure>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800625 <openecomp.git.port>7999</openecomp.git.port>
626 <openecomp.git.project>st_osecomp</openecomp.git.project>
627 <openecomp.git.protocol>http</openecomp.git.protocol>
628 </properties>
629 <!-- Core app-c from 1604 -->
630 <activation>
631 <activeByDefault>true</activeByDefault>
632 </activation>
633 <modules>
634 <module>appc-common</module>
635 <module>appc-adapters</module>
636 <module>appc-provider</module>
637 <module>appc-event-listener</module>
638 <module>appc-asdc-listener</module>
beili.zhoufe0e9892017-08-10 14:54:42 -0400639 <module>appc-lifecycle-management</module>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700640 <module>appc-oam</module>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800641 </modules>
642 </profile>
643 <profile>
644 <id>request-dispatcher</id>
645 <properties>
646 <ssl.allowall>true</ssl.allowall>
647 <ssl.insecure>true</ssl.insecure>
648 </properties>
649 <activation>
650 <activeByDefault>true</activeByDefault>
651 </activation>
652 <modules>
653 <module>appc-dispatcher</module>
654 <module>appc-metric</module>
655 <module>appc-dg</module>
656 <module>appc-dg-util</module>
657 </modules>
658 </profile>
659 </profiles>
Patrick Brady9171e282017-02-21 13:20:34 -0800660</project>