blob: 4085621e739a6aae7b33f754e3c34ab29af39d54 [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>
Patrick Brady7a638b62017-03-30 11:04:22 -07005 <groupId>org.opendaylight.odlparent</groupId>
6 <artifactId>odlparent</artifactId>
Patrick Bradya41533f2017-04-03 09:47:37 -07007 <version>1.7.1-Boron-SR1</version>
Patrick Brady7a638b62017-03-30 11:04:22 -07008 <relativePath>../../../../../opendaylight/odlparent</relativePath>
Patrick Brady57b5eef2017-02-10 15:00:49 -08009 </parent>
Patrick Brady7a638b62017-03-30 11:04:22 -070010
11
12 <modelVersion>4.0.0</modelVersion>
Patrick Brady57b5eef2017-02-10 15:00:49 -080013 <packaging>pom</packaging>
14 <groupId>org.openecomp.appc</groupId>
15 <artifactId>appc</artifactId>
Patrick Brady03682da2017-03-10 13:07:19 -080016 <version>1.1.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080017 <name>APP-C</name>
18 <description>Construct the Application Controller component for the ECOMP project.</description>
19 <inceptionYear>2015-07-20</inceptionYear>
20 <organization>
21 <name>OpenECOMP</name>
22 </organization>
Patrick Brady7a638b62017-03-30 11:04:22 -070023
24
Patrick Brady57b5eef2017-02-10 15:00:49 -080025 <!-- ================================================================================== -->
26 <!-- Configuration properties -->
27 <!-- ================================================================================== -->
28 <properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070029 <!-- VERSIONS -->
30 <!-- OpenDaylight Versions -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070031 <odl.version>1.7.1-Boron-SR1</odl.version>
32 <odl.dlux.version>0.4.1-Boron-SR1</odl.dlux.version>
33 <odl.yangtools.version>1.0.1-Boron-SR1</odl.yangtools.version>
34 <odl.mdsal.version>1.4.1-Boron-SR1</odl.mdsal.version>
35 <odl.mdsal.features.version>2.1.1-Boron-SR1</odl.mdsal.features.version>
Patrick Brady8d2ca0d2017-04-05 16:16:59 -070036 <odl.controller.mdsal.features.version>1.4.1-Boron-SR1</odl.controller.mdsal.features.version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070037 <odl.mdsal.model.version>0.9.1-Boron-SR1</odl.mdsal.model.version>
38 <odl.mdsal.yang.binding.version>0.9.1-Boron-SR1</odl.mdsal.yang.binding.version>
39 <odl.restconf.version>1.4.1-Boron-SR1</odl.restconf.version>
40 <odl.controller.model.version>${odl.mdsal.model.version}</odl.controller.model.version>
41 <odl.controller.config.api.version>0.5.1-Boron-SR1</odl.controller.config.api.version>
42 <odl.karaf.empty.distro.version>${odl.version}</odl.karaf.empty.distro.version>
43 <odl.commons.opendaylight.version>${odl.version}</odl.commons.opendaylight.version>
44 <odl.ietf-inet-types.version>2010.09.24.9.1-Boron-SR1</odl.ietf-inet-types.version>
45 <odl.ietf-yang-types.version>2010.09.24.9.1-Boron-SR1</odl.ietf-yang-types.version>
46 <odl.yang.jmx.generator.version>0.5.1-Boron-SR1</odl.yang.jmx.generator.version>
47 <odl.yangtools.yang.maven.plugin.version>${odl.yangtools.version}</odl.yangtools.yang.maven.plugin.version>
48 <odl.sal.api.gen.plugin.version>0.9.1-Boron-SR1</odl.sal.api.gen.plugin.version>
Patrick Brady8d2ca0d2017-04-05 16:16:59 -070049 <broker-mdsal.version>1.4.1-Boron-SR1</broker-mdsal.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070050
51 <!-- OPENECOMP SDNC versions -->
Patrick Brady5c387462017-06-22 10:30:40 -070052 <sdnctl.sli.version>1.1.2-SNAPSHOT</sdnctl.sli.version>
53 <sdnctl.dblib.version>1.1.2-SNAPSHOT</sdnctl.dblib.version>
54 <sdnctl.aai.service.version>1.1.2-SNAPSHOT</sdnctl.aai.service.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>
71 <toscalib.version>1.0.0-SNAPSHOT</toscalib.version>
Patrick Brady7a638b62017-03-30 11:04:22 -070072
73 <!-- SONAR -->
74 <sonar.language>java</sonar.language>
75 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
76 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
77 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
78 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
79 <sonar.projectVersion>${project.version}</sonar.projectVersion>
80
Patrick Brady57b5eef2017-02-10 15:00:49 -080081 <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
Patrick Brady57b5eef2017-02-10 15:00:49 -080082 <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
Patrick Brady7a638b62017-03-30 11:04:22 -070083 <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080084 <yang.file.directory>src/main/yang</yang.file.directory>
Patrick Brady7a638b62017-03-30 11:04:22 -070085 <features.file>features.xml</features.file>
Patrick Bradyc7d00752017-06-01 10:45:37 -070086 <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath>
87 <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
Patrick Brady7a638b62017-03-30 11:04:22 -070088 <checkstyle.skip>true</checkstyle.skip>
Patrick Bradyc7d00752017-06-01 10:45:37 -070089
Patrick Brady94216272017-04-03 22:53:26 -070090 <!-- NEXUS URLS -->
Patrick Brady53ba84c2017-04-04 13:13:42 -070091 <openecomp.nexus.host>nexus.onap.org</openecomp.nexus.host>
92 <openecomp.nexus.url>https://${openecomp.nexus.host}/content</openecomp.nexus.url>
Patrick Brady94216272017-04-03 22:53:26 -070093 <openecomp.nexus.snapshot-url>${openecomp.nexus.url}/repositories/snapshots/</openecomp.nexus.snapshot-url>
94 <openecomp.nexus.release-url>${openecomp.nexus.url}/repositories/releases/</openecomp.nexus.release-url>
Patrick Brady74825782017-04-14 09:32:19 -070095 <openecomp.nexus.javadocs-url>dav:${openecomp.nexus.url}/sites/site/org/onap/appc/${project.version}</openecomp.nexus.javadocs-url>
Patrick Brady57b5eef2017-02-10 15:00:49 -080096 </properties>
Patrick Brady7a638b62017-03-30 11:04:22 -070097
98
Patrick Brady57b5eef2017-02-10 15:00:49 -080099 <!-- ================================================================================== -->
100 <!-- Javadoc Generation Plugin -->
101 <!-- ================================================================================== -->
102 <reporting>
103 <plugins>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-javadoc-plugin</artifactId>
107 <version>2.10.4</version>
108 <configuration>
109 <excludePackageNames>org.openecomp.sdnc</excludePackageNames>
110 <failOnError>false</failOnError>
111 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
112 <docletArtifact>
113 <groupId>org.umlgraph</groupId>
114 <artifactId>umlgraph</artifactId>
115 <version>5.6</version>
116 </docletArtifact>
117 <additionalparam>-views</additionalparam>
118 <useStandardDocletOptions>true</useStandardDocletOptions>
119 </configuration>
120 </plugin>
121 </plugins>
122 </reporting>
Patrick Brady7a638b62017-03-30 11:04:22 -0700123
124
Patrick Brady57b5eef2017-02-10 15:00:49 -0800125 <!-- ================================================================================== -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700126 <!-- Distribution Management Sites -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800127 <!-- ================================================================================== -->
128 <distributionManagement>
129 <!-- This site is used for Javadocs -->
130 <site>
Patrick Brady7a638b62017-03-30 11:04:22 -0700131 <id>ecomp-site</id>
Patrick Brady94216272017-04-03 22:53:26 -0700132 <url>${openecomp.nexus.javadocs-url}</url>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800133 </site>
Patrick Brady6fa6c252017-04-03 09:00:49 -0700134 <repository>
135 <id>ecomp-releases</id>
136 <name>openecomp-repository-releases</name>
Patrick Brady94216272017-04-03 22:53:26 -0700137 <url>${openecomp.nexus.release-url}</url>
Patrick Brady6fa6c252017-04-03 09:00:49 -0700138 </repository>
139 <snapshotRepository>
140 <id>ecomp-snapshots</id>
141 <name>openecomp-repository-snapshots</name>
Patrick Brady94216272017-04-03 22:53:26 -0700142 <url>${openecomp.nexus.snapshot-url}</url>
Patrick Brady6fa6c252017-04-03 09:00:49 -0700143 </snapshotRepository>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800144 </distributionManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700145
146
Patrick Brady57b5eef2017-02-10 15:00:49 -0800147 <!-- ================================================================================== -->
148 <!-- Define plugin repositories -->
149 <!-- ================================================================================== -->
150 <pluginRepositories>
151 <pluginRepository>
152 <id>opendaylight-mirror</id>
153 <name>opendaylight-mirror</name>
154 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
155 <releases>
156 <enabled>true</enabled>
157 <updatePolicy>never</updatePolicy>
158 </releases>
159 <snapshots>
160 <enabled>false</enabled>
161 </snapshots>
162 </pluginRepository>
163 <pluginRepository>
164 <id>opendaylight-snapshot</id>
165 <name>opendaylight-snapshot</name>
166 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
167 <releases>
168 <enabled>false</enabled>
169 </releases>
170 <snapshots>
171 <enabled>true</enabled>
172 </snapshots>
173 </pluginRepository>
174 <!-- Black Duck plugin dependencies -->
175 <pluginRepository>
176 <id>JCenter</id>
177 <name>JCenter Repository</name>
178 <url>http://jcenter.bintray.com</url>
179 </pluginRepository>
180 <pluginRepository>
181 <id>Restlet</id>
182 <name>Restlet Repository</name>
183 <url>http://maven.restlet.com</url>
184 </pluginRepository>
185 </pluginRepositories>
Patrick Brady7a638b62017-03-30 11:04:22 -0700186
187
Patrick Brady57b5eef2017-02-10 15:00:49 -0800188 <!-- ================================================================================== -->
189 <!-- Define project-wide dependencies -->
190 <!-- ================================================================================== -->
191 <dependencyManagement>
192 <dependencies>
193 <!-- ODL -->
194 <dependency>
195 <groupId>org.opendaylight.controller</groupId>
196 <artifactId>config-api</artifactId>
197 <version>${odl.controller.config.api.version}</version>
198 </dependency>
199 <dependency>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>sal-binding-config</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800202 <version>${odl.mdsal.version}</version>
203 </dependency>
204 <dependency>
205 <groupId>org.opendaylight.controller</groupId>
206 <artifactId>sal-binding-api</artifactId>
207 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800208 </dependency>
209 <dependency>
210 <groupId>org.opendaylight.controller</groupId>
211 <artifactId>sal-test-model</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800212 <version>${odl.mdsal.version}</version>
213 </dependency>
214 <dependency>
215 <groupId>org.opendaylight.netconf</groupId>
216 <artifactId>sal-rest-connector</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800217 <version>${odl.mdsal.version}</version>
218 </dependency>
219 <dependency>
220 <groupId>org.opendaylight.controller</groupId>
221 <artifactId>sal-binding-broker-impl</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800222 <version>${odl.mdsal.version}</version>
223 </dependency>
224 <dependency>
225 <groupId>org.opendaylight.controller</groupId>
226 <artifactId>sal-common-util</artifactId>
227 <version>${odl.mdsal.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800228 </dependency>
229 <dependency>
230 <groupId>org.opendaylight.mdsal</groupId>
231 <artifactId>yang-binding</artifactId>
Patrick Bradya41533f2017-04-03 09:47:37 -0700232 <version>${odl.mdsal.yang.binding.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800233 </dependency>
234 <dependency>
235 <groupId>org.opendaylight.yangtools</groupId>
236 <artifactId>yang-common</artifactId>
237 <version>${odl.yangtools.version}</version>
238 </dependency>
239 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800240 <groupId>org.opendaylight.controller</groupId>
241 <artifactId>features-mdsal</artifactId>
Patrick Bradyda976a92017-04-05 10:16:12 -0700242 <version>${odl.controller.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800243 <classifier>features</classifier>
244 <type>xml</type>
245 </dependency>
246 <dependency>
247 <groupId>org.opendaylight.mdsal</groupId>
248 <artifactId>features-mdsal</artifactId>
Patrick Bradyda976a92017-04-05 10:16:12 -0700249 <version>${odl.mdsal.features.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800250 <classifier>features</classifier>
251 <type>xml</type>
252 </dependency>
253 <dependency>
254 <groupId>org.opendaylight.controller</groupId>
255 <artifactId>opendaylight-karaf-empty</artifactId>
256 <version>${odl.karaf.empty.distro.version}</version>
257 <type>zip</type>
258 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700259 <dependency>
260 <groupId>org.opendaylight.mdsal.model</groupId>
261 <artifactId>ietf-inet-types</artifactId>
262 <version>${odl.ietf-inet-types.version}</version>
263 </dependency>
264 <dependency>
265 <groupId>org.opendaylight.mdsal.model</groupId>
266 <artifactId>ietf-yang-types</artifactId>
267 <version>${odl.ietf-yang-types.version}</version>
268 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800269 <!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
270 <!-- Required for launching the feature tests -->
271 <!-- <dependency> -->
272 <!-- <groupId>org.opendaylight.yangtools</groupId> -->
273 <!-- <artifactId>features-test</artifactId> -->
274 <!-- <version>${odl.yangtools.version}</version> -->
275 <!-- <scope>test</scope> -->
276 <!-- </dependency> -->
Patrick Brady7a638b62017-03-30 11:04:22 -0700277
Patrick Brady57b5eef2017-02-10 15:00:49 -0800278 <!-- YANG tools -->
279 <dependency>
280 <groupId>org.opendaylight.yangtools</groupId>
281 <artifactId>features-yangtools</artifactId>
282 <version>${odl.yangtools.version}</version>
283 <classifier>features</classifier>
284 <type>xml</type>
285 </dependency>
286 <!-- SDNC -->
287 <dependency>
288 <groupId>org.openecomp.sdnc.core</groupId>
289 <artifactId>sli-common</artifactId>
290 <version>${sdnctl.sli.version}</version>
291 </dependency>
292 <dependency>
293 <groupId>org.openecomp.sdnc.core</groupId>
294 <artifactId>sli-provider</artifactId>
295 <version>${sdnctl.sli.version}</version>
296 </dependency>
297 <!-- dblib -->
298 <dependency>
299 <groupId>org.openecomp.sdnc.core</groupId>
300 <artifactId>dblib-provider</artifactId>
301 <version>${sdnctl.dblib.version}</version>
302 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700303 <!-- A&AI service provider dependency override in order to use a stable
304 version -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800305 <dependency>
306 <groupId>org.openecomp.sdnc.adaptors</groupId>
307 <artifactId>aai-service-provider</artifactId>
308 <version>${sdnctl.aai.service.version}</version>
309 </dependency>
310 <!-- APPC -->
311 <dependency>
312 <groupId>org.openecomp.appc</groupId>
313 <artifactId>appc-controller-features</artifactId>
314 <classifier>features</classifier>
315 <type>xml</type>
316 <version>${project.version}</version>
317 </dependency>
318 <dependency>
319 <groupId>org.openecomp.appc</groupId>
320 <artifactId>appc-controller-model</artifactId>
321 <version>${project.version}</version>
322 </dependency>
323 <dependency>
324 <groupId>org.openecomp.appc</groupId>
325 <artifactId>appc-controller-bundle</artifactId>
326 <version>${project.version}</version>
327 <classifier>config</classifier>
328 <type>xml</type>
329 </dependency>
330 <dependency>
331 <groupId>org.openecomp.appc</groupId>
332 <artifactId>appc-controller-bundle</artifactId>
333 <version>${project.version}</version>
334 </dependency>
335 <!-- OTHER -->
336 <dependency>
337 <groupId>equinoxSDK381</groupId>
338 <artifactId>org.eclipse.osgi</artifactId>
339 <version>${equinox.osgi.version}</version>
340 </dependency>
341 <dependency>
342 <groupId>org.apache.commons</groupId>
343 <artifactId>commons-lang3</artifactId>
344 <version>${commons.lang3.version}</version>
345 </dependency>
346 <dependency>
347 <groupId>junit</groupId>
348 <artifactId>junit</artifactId>
349 <version>4.12</version>
350 <scope>test</scope>
351 </dependency>
352 <dependency>
353 <groupId>ch.qos.logback</groupId>
354 <artifactId>logback-core</artifactId>
355 <version>1.1.1</version>
356 <scope>compile</scope>
357 </dependency>
358 <dependency>
359 <groupId>ch.qos.logback</groupId>
360 <artifactId>logback-classic</artifactId>
361 <version>1.1.1</version>
362 <scope>compile</scope>
363 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700364 <!-- <dependency> -->
365 <!-- <groupId>org.slf4j</groupId> -->
366 <!-- <artifactId>slf4j-api</artifactId> -->
367 <!-- <version>1.7.12</version> -->
368 <!-- </dependency> -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800369 <dependency>
370 <groupId>commons-lang</groupId>
371 <artifactId>commons-lang</artifactId>
372 <version>2.6</version>
373 </dependency>
374 <dependency>
375 <groupId>org.apache.sshd</groupId>
376 <artifactId>sshd-core</artifactId>
377 <version>0.12.0</version>
378 </dependency>
379 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800380 <groupId>org.mockito</groupId>
381 <artifactId>mockito-core</artifactId>
382 <version>1.10.19</version>
383 <scope>test</scope>
384 </dependency>
385 <dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800386 <groupId>com.att.cdp</groupId>
387 <artifactId>cdp-pal-common</artifactId>
388 <version>${cdp.pal.version}</version>
389 </dependency>
390 <dependency>
391 <groupId>com.att.cdp</groupId>
392 <artifactId>cdp-pal-openstack</artifactId>
393 <version>${cdp.pal.version}</version>
394 </dependency>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800395 <dependency>
396 <groupId>com.att.authz</groupId>
397 <artifactId>authz-client</artifactId>
398 <version>2.3</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800399 </dependency>
400 <!-- EELF logging framework -->
401 <dependency>
402 <groupId>com.att.eelf</groupId>
403 <artifactId>eelf-core</artifactId>
404 <version>${eelf.version}</version>
405 </dependency>
406 </dependencies>
407 </dependencyManagement>
Patrick Brady7a638b62017-03-30 11:04:22 -0700408
409
Patrick Brady57b5eef2017-02-10 15:00:49 -0800410 <!-- ================================================================================== -->
411 <!-- Define common plugins and make them available for all modules -->
412 <!-- ================================================================================== -->
413 <build>
414 <pluginManagement>
415 <plugins>
416 <!-- Define the site plugin to generate documentation -->
417 <plugin>
418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-site-plugin</artifactId>
420 <version>3.4</version>
421 <dependencies>
422 <!-- add support for ssh/scp -->
423 <dependency>
424 <groupId>org.apache.maven.wagon</groupId>
425 <artifactId>wagon-ssh</artifactId>
426 <version>1.0</version>
427 </dependency>
428 </dependencies>
429 </plugin>
430 <!-- Define the compiler plugin -->
431 <plugin>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-compiler-plugin</artifactId>
434 <version>${maven.compile.plugin.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800435 </plugin>
436 <!-- Define the javadoc plugin -->
437 <plugin>
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-javadoc-plugin</artifactId>
440 <version>2.10</version>
441 <configuration>
442 <excludePackageNames>org.opendaylight.*:org.openecomp.sdnc</excludePackageNames>
443 </configuration>
444 </plugin>
445 <!-- Define the source plugin -->
446 <plugin>
447 <artifactId>maven-source-plugin</artifactId>
448 <version>2.1.1</version>
449 </plugin>
450 <!-- Resources plugin -->
451 <plugin>
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-resources-plugin</artifactId>
454 <version>2.6</version>
455 <executions>
456 <execution>
457 <id>filter</id>
458 <goals>
459 <goal>resources</goal>
460 </goals>
461 <phase>generate-resources</phase>
462 </execution>
463 </executions>
464 </plugin>
465 <plugin>
466 <artifactId>maven-release-plugin</artifactId>
467 <version>2.5.2</version>
468 <configuration>
469 <goals>-s ${mvn.settings} deploy</goals>
470 </configuration>
471 </plugin>
472 <plugin>
473 <artifactId>maven-assembly-plugin</artifactId>
474 <version>2.5.5</version>
475 </plugin>
476 <plugin>
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-deploy-plugin</artifactId>
479 <version>2.8.1</version>
480 </plugin>
481 <plugin>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-dependency-plugin</artifactId>
484 <version>2.10</version>
485 </plugin>
486 <!-- Maven surefire plugin for testing -->
487 <plugin>
488 <artifactId>maven-surefire-plugin</artifactId>
489 <version>2.17</version>
490 </plugin>
491 <!-- Maven OSGi bundle plugin used to package OSGi bundles -->
492 <plugin>
493 <groupId>org.apache.felix</groupId>
494 <artifactId>maven-bundle-plugin</artifactId>
495 <version>${bundle.plugin.version}</version>
496 </plugin>
497 <plugin>
498 <groupId>org.codehaus.mojo</groupId>
499 <artifactId>build-helper-maven-plugin</artifactId>
500 <version>1.9.1</version>
501 </plugin>
502 <!-- SonarQube plugin -->
503 <plugin>
504 <groupId>org.codehaus.mojo</groupId>
505 <artifactId>sonar-maven-plugin</artifactId>
506 <version>3.2</version>
507 </plugin>
508 </plugins>
509 </pluginManagement>
510 <plugins>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700511 <!--maven staging plugin -->
Patrick Brady245d6f22017-04-04 11:24:11 -0700512 <plugin>
513 <groupId>org.sonatype.plugins</groupId>
514 <artifactId>nexus-staging-maven-plugin</artifactId>
515 <version>1.6.7</version>
516 <extensions>true</extensions>
517 <configuration>
Patrick Brady53ba84c2017-04-04 13:13:42 -0700518 <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
Patrick Brady245d6f22017-04-04 11:24:11 -0700519 <stagingProfileId>176c31dfe190a</stagingProfileId>
520 <serverId>ecomp-staging</serverId>
521 </configuration>
522 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800523 <!-- Javadocs Plugin -->
524 <plugin>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-site-plugin</artifactId>
527 <version>3.6</version>
528 <dependencies>
529 <dependency>
530 <groupId>org.apache.maven.wagon</groupId>
531 <artifactId>wagon-webdav-jackrabbit</artifactId>
532 <version>2.10</version>
533 </dependency>
534 </dependencies>
535 </plugin>
536 <!-- license plugin -->
537 <plugin>
538 <groupId>org.codehaus.mojo</groupId>
539 <artifactId>license-maven-plugin</artifactId>
540 <version>1.10</version>
541 <configuration>
542 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
543 <processStartTag>============LICENSE_START=======================================================</processStartTag>
544 <processEndTag>============LICENSE_END=========================================================</processEndTag>
545 <sectionDelimiter>================================================================================</sectionDelimiter>
546 <licenseName>apache_v2</licenseName>
547 <inceptionYear>2017</inceptionYear>
Patrick Brady7a261fb2017-06-06 22:35:43 -0700548 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
549 <projectName>APPC</projectName>
550 <!-- Do not automatically update copyright since Amdocs needs to be included manually -->
551 <canUpdateCopyright>false</canUpdateCopyright>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800552 <canUpdateDescription>true</canUpdateDescription>
553 <canUpdateLicense>true</canUpdateLicense>
554 <emptyLineAfterHeader>true</emptyLineAfterHeader>
555 </configuration>
556 <executions>
557 <execution>
558 <id>first</id>
559 <goals>
560 <goal>update-file-header</goal>
561 </goals>
562 <phase>process-sources</phase>
563 </execution>
564 </executions>
565 </plugin>
566 <plugin>
567 <groupId>org.codehaus.mojo</groupId>
568 <artifactId>properties-maven-plugin</artifactId>
569 <executions>
570 <execution>
571 <goals>
572 <goal>set-system-properties</goal>
573 </goals>
574 <configuration>
575 <properties>
576 <property>
577 <name>maven.wagon.http.ssl.allowall</name>
578 <value>${ssl.allowall}</value>
579 </property>
580 <property>
581 <name>maven.wagon.http.ssl.insecure</name>
582 <value>${ssl.insecure}</value>
583 </property>
584 </properties>
585 </configuration>
586 </execution>
587 </executions>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700588
Patrick Brady57b5eef2017-02-10 15:00:49 -0800589 </plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700590
Patrick Brady57b5eef2017-02-10 15:00:49 -0800591 <!-- blackduck maven plugin -->
Patrick Bradyc7d00752017-06-01 10:45:37 -0700592 <!-- <plugin> <groupId>com.blackducksoftware.integration</groupId> <artifactId>hub-maven-plugin</artifactId>
593 <version>2.0.0</version> <inherited>false</inherited> <configuration> <hubProjectName>${project.name}</hubProjectName>
594 <outputDirectory>${project.basedir}</outputDirectory> <deployHubBdio>false</deployHubBdio>
595 </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
596 <goals> <goal>build-bom</goal> </goals> </execution> </executions> </plugin> -->
597
598 <!-- force Eclipse to skip the additional-install step specified in the
599 org.opendaylight.odlparent:odlparent-lite:1.7.1-Boron-SR1.pom profile -->
Patrick Brady57b5eef2017-02-10 15:00:49 -0800600 <plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-install-plugin</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800603 <executions>
604 <execution>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700605 <id>additional-install</id>
606 <phase></phase>
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>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700610 <configuration>
611 <skip>true</skip>
612 </configuration>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800613 </execution>
614 </executions>
615 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800616 </plugins>
617 </build>
Patrick Brady7a638b62017-03-30 11:04:22 -0700618
619
Patrick Brady57b5eef2017-02-10 15:00:49 -0800620 <!-- ================================================================================== -->
621 <!-- The modules we build every time -->
622 <!-- ================================================================================== -->
623 <modules>
624 <module>appc-common</module>
625 </modules>
626 <!-- Adding profiles for testing -->
627 <profiles>
628 <profile>
629 <id>appc-core</id>
630 <properties>
631 <ssl.allowall>true</ssl.allowall>
632 <ssl.insecure>true</ssl.insecure>
Andrew Grimberg196901a2017-03-29 13:39:41 -0700633 <openecomp.nexus.host>nexus.onap.org</openecomp.nexus.host>
634 <openecomp.nexus.release-url>https://nexus.onap.org/content/repositories/releases/</openecomp.nexus.release-url>
635 <openecomp.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots/</openecomp.nexus.snapshot-url>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800636 <openecomp.git.port>7999</openecomp.git.port>
637 <openecomp.git.project>st_osecomp</openecomp.git.project>
638 <openecomp.git.protocol>http</openecomp.git.protocol>
639 </properties>
640 <!-- Core app-c from 1604 -->
641 <activation>
642 <activeByDefault>true</activeByDefault>
643 </activation>
644 <modules>
645 <module>appc-common</module>
646 <module>appc-adapters</module>
647 <module>appc-provider</module>
648 <module>appc-event-listener</module>
649 <module>appc-asdc-listener</module>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700650 <module>appc-oam</module>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800651 </modules>
652 </profile>
653 <profile>
654 <id>request-dispatcher</id>
655 <properties>
656 <ssl.allowall>true</ssl.allowall>
657 <ssl.insecure>true</ssl.insecure>
658 </properties>
659 <activation>
660 <activeByDefault>true</activeByDefault>
661 </activation>
662 <modules>
663 <module>appc-dispatcher</module>
664 <module>appc-metric</module>
665 <module>appc-dg</module>
666 <module>appc-dg-util</module>
667 </modules>
668 </profile>
669 </profiles>
Patrick Brady9171e282017-02-21 13:20:34 -0800670</project>