migrate parents to phosphorus-sr1
[ccsdk/parent.git] / odlparent / odlparent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
6         Any updates needed should be made to that template and not to the generated
7         pom.xml file -->
8     <parent>
9         <groupId>org.opendaylight.odlparent</groupId>
10         <artifactId>odlparent</artifactId>
11         <version>9.0.8</version>
12         <relativePath/>
13     </parent>
14
15     <groupId>org.onap.ccsdk.parent</groupId>
16     <artifactId>odlparent</artifactId>
17     <version>2.3.3-SNAPSHOT</version>
18     <packaging>pom</packaging>
19
20     <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
21     <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
22     <url>http://wiki.onap.org</url>
23     <organization>
24         <name>ONAP</name>
25     </organization>
26
27     <issueManagement>
28         <system>JIRA</system>
29         <url>https://jira.onap.org/</url>
30     </issueManagement>
31     <distributionManagement>
32         <repository>
33             <id>ecomp-releases</id>
34             <url>${onap.nexus.release-url}</url>
35         </repository>
36         <snapshotRepository>
37             <id>ecomp-snapshots</id>
38             <url>${onap.nexus.snapshot-url}</url>
39         </snapshotRepository>
40     </distributionManagement>
41
42     <properties>
43         <!-- Sonar properties -->
44         <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
45         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
46         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47         <!-- Default Sonar configuration -->
48         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
49         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
50         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
51
52         <!-- Jacoco properties -->
53         <jacoco.version>0.8.5</jacoco.version>
54
55         <!-- properties from oparent -->
56         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
58         <!-- sitePath may be overridden in the inheriting POM if desired -->
59         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
60
61         <!-- If following file exist, auto-generation of swagger.json will be done -->
62         <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
63         <!-- If following file exist, auto-generation of sdk will be done -->
64         <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
65         <!-- end of properties from oparent -->
66
67         <!-- ONAP repositories -->
68         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
69         <onap.nexus.host>nexus.onap.org</onap.nexus.host>
70         <onap.nexus.port>443</onap.nexus.port>
71         <onap.nexus.protocol>https</onap.nexus.protocol>
72         <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
73         <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
74         <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
75         <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
76         <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
77         <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
78
79         <!-- OpenDaylight repositories -->
80         <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
81         <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
82
83         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
84         <java.version>11</java.version>
85         <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
86         <maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version>
87         <bundle.plugin.version>4.2.1</bundle.plugin.version>
88         <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
89         <features.file>features.xml</features.file>
90         <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
91         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
92         <checkstyle.plugin.version>3.1.1</checkstyle.plugin.version>
93         <checkstyle.skip>true</checkstyle.skip>
94         <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
95
96         <!-- logging-analytics versions -->
97         <logging-analytics.version>1.6.9</logging-analytics.version>
98
99         <!-- CCSDK component versions -->
100         <ccsdk.cds.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.cds.version>
101         <ccsdk.features.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.features.version>
102         <ccsdk.distribution.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.distribution.version>
103         <ccsdk.sli.version>(1.3.99999, 1.4.99999-SNAPSHOT]</ccsdk.sli.version>
104         <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version>
105         <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version>
106         <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version>
107         <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version>
108         <sdnctl.aai.service.version>${ccsdk.sli.version}</sdnctl.aai.service.version>
109         <sdnctl.dblib.version>${ccsdk.sli.version}</sdnctl.dblib.version>
110         <sdnctl.mdsal.resource.version>${ccsdk.sli.version}</sdnctl.mdsal.resource.version>
111         <sdnctl.slipluginutils.version>${ccsdk.sli.version}</sdnctl.slipluginutils.version>
112
113         <!-- Support libraries used by OpenDaylight -->
114         <odl.controller.mdsal.version>8.0.7</odl.controller.mdsal.version>
115         <odl.mdsal.version>9.0.8</odl.mdsal.version>
116         <odl.mdsal.model.version>9.0.8</odl.mdsal.model.version>
117         <odl.mdsal.generator.version>8.0.5</odl.mdsal.generator.version>
118         <odl.netconf.restconf.version>8.0.7</odl.netconf.restconf.version>
119         <odl.netconf.netconf.version>8.0.7</odl.netconf.netconf.version>
120         <odl.netconf.sal.rest.docgen.version>8.0.7</odl.netconf.sal.rest.docgen.version>
121
122         <!-- Used by aaa, vtn -->
123         <commons.codec.version>1.15</commons.codec.version>
124         <!-- Used by netconf, ovsdb -->
125         <commons.lang3.version>3.12.0</commons.lang3.version>
126         <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
127         <commons.lang.version>2.6</commons.lang.version>
128         <!-- Used by neutron; see also controller, vtn -->
129         <commons.net.version>3.8.0</commons.net.version>
130         <!-- Used by neutron -->
131         <eclipse.persistence.version>None</eclipse.persistence.version>
132         <!-- Used by aaa -->
133         <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
134         <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
135         <gson.version>2.8.8</gson.version>
136         <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
137         <guava.version>30.1.1-jre</guava.version>
138         <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
139             integration/distribution, snmp4sdn, toolkit, ttp -->
140         <jackson.version>2.12.5</jackson.version>
141         <!-- Used by snmp4sdn, yangtools -->
142         <javassist.version>3.27.0-GA</javassist.version>
143
144         <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
145         <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit -->
146         <jersey.version>2.27</jersey.version>
147         <!-- Used by sfc -->
148         <jersey.client.version>2.27</jersey.client.version>
149
150         <!-- New packages for jersey migration 1.17 to 2.8 -->
151         <!-- appache.geronimo.bundle for DocGen -->
152         <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
153         <org.json.version>20131018</org.json.version>
154
155         <!-- Used everywhere -->
156         <junit.version>4.13.2</junit.version>
157         <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
158         <logback.version>1.11.7</logback.version>
159         <!-- Used by nic, sfc, sxp, tsdr -->
160         <mockito.version>3.3.3</mockito.version>
161         <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
162         <netty.version>4.1.69.Final</netty.version>
163         <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
164         <slf4j.version>1.7.32</slf4j.version>
165         <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
166         <spring.version>4.3.25.RELEASE</spring.version>
167
168         <!-- Extra support libraries used by SDN-C -->
169         <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
170         <antlr.version>4.8-1</antlr.version>
171
172         <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
173
174         <!-- Managed dependency versions -->
175         <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
176         <apache.httpcomponents.client.version>4.5.13</apache.httpcomponents.client.version>
177         <derby.version>10.14.2.0</derby.version>
178         <eelf.version>1.0.0</eelf.version>
179         <grpc.version>1.21.1</grpc.version>
180         <log4j.version>2.17.1</log4j.version>
181         <log4j2.version>2.17.1</log4j2.version>
182         <jetty.version>9.4.43.v20210629</jetty.version>
183         <mariadb.connector.version>2.7.5</mariadb.connector.version>
184         <mariadb4j.version>2.4.0</mariadb4j.version>
185         <testng.version>6.14.3</testng.version>
186         <tomcat-jdbc.version>9.0.52</tomcat-jdbc.version>
187         <skip.karaf.featureTest>true</skip.karaf.featureTest>
188         <dependency-list.file>direct-dependencies.txt</dependency-list.file>
189     </properties>
190
191     <dependencyManagement>
192         <dependencies>
193             <!-- Note: If value in BOM conflicts with value inherited from
194             parent pom, inherited value takes precedence.  This seems more like
195             a bug than a feature, but this is how maven 3.6 works -->
196             <dependency>
197                 <groupId>org.onap.ccsdk.parent</groupId>
198                 <artifactId>dependencies-odl-bom</artifactId>
199                 <version>2.3.3-SNAPSHOT</version>
200                 <type>pom</type>
201                 <scope>import</scope>
202             </dependency>
203             <dependency>
204                 <groupId>org.onap.ccsdk.parent</groupId>
205                 <artifactId>dependencies-bom</artifactId>
206                 <version>2.3.3-SNAPSHOT</version>
207                 <type>pom</type>
208                 <scope>import</scope>
209             </dependency>
210             <dependency>
211                 <groupId>org.springframework.boot</groupId>
212                 <artifactId>spring-boot-dependencies</artifactId>
213                 <version>2.3.8.RELEASE</version>
214                 <scope>import</scope>
215                 <type>pom</type>
216             </dependency>
217             <dependency>
218                 <groupId>org.mariadb.jdbc</groupId>
219                 <artifactId>mariadb-java-client</artifactId>
220                 <version>${mariadb.connector.version}</version>
221             </dependency>
222             <dependency>
223                 <groupId>org.onap.logging-analytics</groupId>
224                 <artifactId>logging-slf4j</artifactId>
225                 <version>${logging-analytics.version}</version>
226             </dependency>
227             <dependency>
228                 <groupId>org.onap.logging-analytics</groupId>
229                 <artifactId>logging-filter-base</artifactId>
230                 <version>${logging-analytics.version}</version>
231             </dependency>
232             <dependency>
233                 <groupId>junit</groupId>
234                 <artifactId>junit</artifactId>
235                 <version>${junit.version}</version>
236                 <scope>test</scope>
237             </dependency>
238         </dependencies>
239     </dependencyManagement>
240
241     <repositories>
242         <repository>
243             <id>onap-public</id>
244             <url>${onap.nexus.public-url}</url>
245             <releases>
246                 <enabled>true</enabled>
247                 <updatePolicy>never</updatePolicy>
248             </releases>
249             <snapshots>
250                 <enabled>true</enabled>
251                 <updatePolicy>always</updatePolicy>
252             </snapshots>
253         </repository>
254         <repository>
255             <id>onap-staging</id>
256             <url>${onap.nexus.staging-url}</url>
257             <releases>
258                 <enabled>true</enabled>
259                 <updatePolicy>never</updatePolicy>
260             </releases>
261             <snapshots>
262                 <enabled>true</enabled>
263                 <updatePolicy>always</updatePolicy>
264             </snapshots>
265         </repository>
266         <repository>
267             <id>ecomp-release</id>
268             <name>onap-repository-releases</name>
269             <url>${onap.nexus.release-url}</url>
270             <releases>
271                 <enabled>true</enabled>
272                 <updatePolicy>never</updatePolicy>
273             </releases>
274             <snapshots>
275                 <enabled>false</enabled>
276             </snapshots>
277         </repository>
278         <repository>
279             <id>ecomp-snapshot</id>
280             <name>onap-repository-snapshots</name>
281             <url>${onap.nexus.snapshot-url}</url>
282             <releases>
283                 <enabled>false</enabled>
284             </releases>
285             <snapshots>
286                 <enabled>true</enabled>
287             </snapshots>
288         </repository>
289         <repository>
290             <id>opendaylight-mirror</id>
291             <name>opendaylight-mirror</name>
292             <url>${opendaylight.nexus.public-url}</url>
293             <releases>
294                 <enabled>true</enabled>
295                 <updatePolicy>never</updatePolicy>
296             </releases>
297             <snapshots>
298                 <enabled>false</enabled>
299             </snapshots>
300         </repository>
301         <repository>
302             <id>opendaylight-snapshot</id>
303             <name>opendaylight-snapshot</name>
304             <url>${opendaylight.nexus.snapshot-url}</url>
305             <releases>
306                 <enabled>false</enabled>
307             </releases>
308             <snapshots>
309                 <enabled>true</enabled>
310             </snapshots>
311         </repository>
312     </repositories>
313
314     <pluginRepositories>
315         <pluginRepository>
316             <id>onap-public</id>
317             <url>${onap.nexus.public-url}</url>
318             <releases>
319                 <enabled>true</enabled>
320             </releases>
321             <snapshots>
322                 <enabled>true</enabled>
323             </snapshots>
324         </pluginRepository>
325         <pluginRepository>
326             <id>onap-staging</id>
327             <url>${onap.nexus.staging-url}</url>
328             <releases>
329                 <enabled>true</enabled>
330             </releases>
331             <snapshots>
332                 <enabled>true</enabled>
333             </snapshots>
334         </pluginRepository>
335         <pluginRepository>
336             <id>onap-snapshot</id>
337             <url>${onap.nexus.snapshot-url}</url>
338             <releases>
339                 <enabled>false</enabled>
340             </releases>
341             <snapshots>
342                 <enabled>true</enabled>
343             </snapshots>
344         </pluginRepository>
345         <pluginRepository>
346             <id>opendaylight-mirror</id>
347             <name>opendaylight-mirror</name>
348             <url>${opendaylight.nexus.public-url}</url>
349             <releases>
350                 <enabled>true</enabled>
351                 <updatePolicy>never</updatePolicy>
352             </releases>
353             <snapshots>
354                 <enabled>false</enabled>
355             </snapshots>
356         </pluginRepository>
357         <pluginRepository>
358             <id>opendaylight-snapshot</id>
359             <name>opendaylight-snapshot</name>
360             <url>${opendaylight.nexus.snapshot-url}</url>
361             <releases>
362                 <enabled>false</enabled>
363             </releases>
364             <snapshots>
365                 <enabled>true</enabled>
366             </snapshots>
367         </pluginRepository>
368         <!-- Black Duck plugin dependencies -->
369         <pluginRepository>
370             <id>JCenter</id>
371             <name>JCenter Repository</name>
372             <url>http://jcenter.bintray.com</url>
373         </pluginRepository>
374         <pluginRepository>
375             <id>Restlet</id>
376             <name>Restlet Repository</name>
377             <url>http://maven.restlet.com</url>
378         </pluginRepository>
379     </pluginRepositories>
380
381     <build>
382         <pluginManagement>
383             <plugins>
384                 <!-- Plugins from ONAP version (parent of oparent) -->
385                 <plugin>
386                     <groupId>org.apache.maven.plugins</groupId>
387                     <artifactId>maven-deploy-plugin</artifactId>
388                     <!-- This version supports the "deployAtEnd" parameter -->
389                     <version>2.8</version>
390                     <configuration>
391                         <skip/>
392                         <deployAtEnd>true</deployAtEnd>
393                     </configuration>
394                 </plugin>
395                 <plugin>
396                     <groupId>org.apache.maven.plugins</groupId>
397                     <artifactId>maven-site-plugin</artifactId>
398                     <version>3.6</version>
399                     <dependencies>
400                         <dependency>
401                             <groupId>org.apache.maven.wagon</groupId>
402                             <artifactId>wagon-webdav-jackrabbit</artifactId>
403                             <version>2.10</version>
404                         </dependency>
405                     </dependencies>
406                 </plugin>
407                 <plugin>
408                     <groupId>org.apache.maven.plugins</groupId>
409                     <artifactId>maven-enforcer-plugin</artifactId>
410                     <version>3.0.0-M2</version>
411                     <executions>
412                         <execution>
413                             <id>enforce-property</id>
414                             <goals>
415                                 <goal>enforce</goal>
416                             </goals>
417                             <configuration>
418                                 <rules>
419                                     <requireProperty>
420                                         <property>onap.nexus.url</property>
421                                         <message>You must set a onap.nexus.url property in your
422                                             ~/.m2/settings.xml. See oparent/settings.xml for an example.
423                                         </message>
424                                     </requireProperty>
425                                 </rules>
426                                 <fail>true</fail>
427                             </configuration>
428                         </execution>
429                         <execution>
430                             <id>enforce-no-snapshots</id>
431                             <goals>
432                                 <goal>enforce</goal>
433                             </goals>
434                             <configuration>
435                                 <rules>
436                                     <requireReleaseDeps>
437                                         <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
438                                         <onlyWhenRelease>true</onlyWhenRelease>
439                                         <level>WARN</level>
440                                     </requireReleaseDeps>
441                                 </rules>
442                             </configuration>
443                         </execution>
444                         <execution>
445                             <id>enforce-maven</id>
446                             <goals>
447                                 <goal>enforce</goal>
448                             </goals>
449                             <configuration>
450                                 <rules>
451                                     <requireJavaVersion>
452                                         <version>8</version>
453                                     </requireJavaVersion>
454                                     <requireMavenVersion>
455                                         <version>[3.5.0,)</version>
456                                     </requireMavenVersion>
457                                 </rules>
458                             </configuration>
459                         </execution>
460                         <execution>
461                             <id>enforce-banned-dependencies</id>
462                             <goals>
463                                 <goal>enforce</goal>
464                             </goals>
465                             <configuration>
466                                 <rules>
467                                     <bannedDependencies>
468                                         <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
469                                         <excludes>
470                                             <exclude>org.mockito:mockito-all</exclude>
471                                             <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
472                                         </excludes>
473                                     </bannedDependencies>
474                                 </rules>
475                                 <fail>true</fail>
476                             </configuration>
477                         </execution>
478                     </executions>
479                 </plugin>
480                 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
481                 <plugin>
482                     <groupId>org.sonarsource.scanner.maven</groupId>
483                     <artifactId>sonar-maven-plugin</artifactId>
484                     <version>${sonar.scanner.version}</version>
485                 </plugin>
486                 <!-- end of plugins from ONAP version (parent of oparent) -->
487                 <!-- Plugins from ONAP oparent -->
488                 <plugin>
489                     <groupId>org.apache.maven.plugins</groupId>
490                     <artifactId>maven-surefire-plugin</artifactId>
491                     <version>${maven-surefire-plugin.version}</version>
492                     <configuration>
493                         <!-- Sets the VM argument line used when unit tests are run. -->
494                         <argLine>${surefireArgLine}</argLine>
495                         <!-- Excludes integration tests when unit tests are run. -->
496                         <excludes>
497                             <exclude>**/IT*.java</exclude>
498                         </excludes>
499                     </configuration>
500                 </plugin>
501                 <plugin>
502                     <groupId>org.apache.maven.plugins</groupId>
503                     <artifactId>maven-failsafe-plugin</artifactId>
504                     <version>${maven-failsafe-plugin.version}</version>
505                     <executions>
506                         <!-- Ensures that both integration-test and verify goals of the Failsafe
507                             Maven plugin are executed. -->
508                         <execution>
509                             <id>integration-tests</id>
510                             <goals>
511                                 <goal>integration-test</goal>
512                                 <goal>verify</goal>
513                             </goals>
514                             <configuration>
515                                 <!-- Sets the VM argument line used when integration tests are run. -->
516                                 <argLine>${failsafeArgLine}</argLine>
517                             </configuration>
518                         </execution>
519                     </executions>
520                 </plugin>
521
522                 <!-- End of plugins from ONAP oparent -->
523                 <plugin>
524                     <groupId>org.codehaus.mojo</groupId>
525                     <artifactId>properties-maven-plugin</artifactId>
526                     <version>1.0.0</version>
527                     <executions>
528                         <execution>
529                             <goals>
530                                 <goal>set-system-properties</goal>
531                             </goals>
532                             <configuration>
533                                 <properties>
534                                     <property>
535                                         <name>maven.wagon.http.ssl.allowall</name>
536                                         <value>${ssl.allowall}</value>
537                                     </property>
538                                     <property>
539                                         <name>maven.wagon.http.ssl.insecure</name>
540                                         <value>${ssl.insecure}</value>
541                                     </property>
542                                 </properties>
543                             </configuration>
544                         </execution>
545                     </executions>
546                 </plugin>
547
548                 <plugin>
549                     <groupId>org.codehaus.mojo</groupId>
550                     <artifactId>versions-maven-plugin</artifactId>
551                     <version>2.5</version>
552                     <configuration>
553                         <processAllModules>true</processAllModules>
554                     </configuration>
555                 </plugin>
556                 <plugin>
557                     <artifactId>maven-scm-plugin</artifactId>
558                     <version>1.8.1</version>
559                     <configuration>
560                         <tag>${project.artifactId}-${project.version}</tag>
561                     </configuration>
562                 </plugin>
563                 <plugin>
564                     <groupId>com.github.ferstl</groupId>
565                     <artifactId>depgraph-maven-plugin</artifactId>
566                     <version>3.3.0</version>
567                     <configuration>
568                         <graphFormat>text</graphFormat>
569                         <outputFileName>${dependency-list.file}</outputFileName>
570                         <outputDirectory>${project.basedir}</outputDirectory>
571                         <transitiveExcludes>*</transitiveExcludes>
572                         <showVersions>true</showVersions>
573                         <showGroupIds>true</showGroupIds>
574                     </configuration>
575                 </plugin>
576                 <plugin>
577                     <groupId>de.jacks-it-lab</groupId>
578                     <artifactId>frontend-maven-plugin</artifactId>
579                     <version>1.7.2</version>
580                 </plugin>
581                 <plugin>
582                     <groupId>com.github.alexcojocaru</groupId>
583                     <artifactId>elasticsearch-maven-plugin</artifactId>
584                     <version>6.16</version>
585                     <configuration>
586                         <version>7.1.1</version>
587                     </configuration>
588                 </plugin>
589                 <plugin>
590                     <groupId>org.apache.maven.plugins</groupId>
591                     <artifactId>maven-javadoc-plugin</artifactId>
592                     <version>3.2.0</version>
593                     <configuration>
594                         <failOnError>false</failOnError>
595                     </configuration>
596                 </plugin>
597                 <plugin>
598                     <groupId>com.github.spotbugs</groupId>
599                     <artifactId>spotbugs-maven-plugin</artifactId>
600                     <version>3.1.12.2</version>
601                     <executions>
602                         <execution>
603                             <id>analyze-compile</id>
604                             <phase>compile</phase>
605                             <goals>
606                                 <goal>check</goal>
607                             </goals>
608                             <configuration>
609                                 <plugins>
610                                     <plugin>
611                                         <groupId>jp.skypencil.findbugs.slf4j</groupId>
612                                         <artifactId>bug-pattern</artifactId>
613                                         <version>1.5.0</version>
614                                     </plugin>
615                                 </plugins>
616                                 <effort>Max</effort>
617                                 <threshold>Low</threshold>
618                                 <failOnError>false</failOnError>
619                                 <skip>true</skip>
620                                 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
621                                 <xmlOutput>true</xmlOutput>
622                                 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
623                             </configuration>
624                         </execution>
625                     </executions>
626                     <dependencies>
627                         <dependency>
628                             <groupId>com.github.spotbugs</groupId>
629                             <artifactId>spotbugs</artifactId>
630                             <version>3.1.12</version>
631                             <scope>compile</scope>
632                         </dependency>
633                         <dependency>
634                             <groupId>org.opendaylight.odlparent</groupId>
635                             <artifactId>spotbugs</artifactId>
636                             <version>7.0.5</version>
637                             <scope>compile</scope>
638                         </dependency>
639                         <dependency>
640                             <groupId>org.slf4j</groupId>
641                             <artifactId>slf4j-simple</artifactId>
642                             <version>1.8.0-beta2</version>
643                             <scope>compile</scope>
644                         </dependency>
645                     </dependencies>
646                     <configuration>
647                         <plugins>
648                             <plugin>
649                                 <groupId>jp.skypencil.findbugs.slf4j</groupId>
650                                 <artifactId>bug-pattern</artifactId>
651                                 <version>1.5.0</version>
652                             </plugin>
653                         </plugins>
654                         <effort>Max</effort>
655                         <threshold>Low</threshold>
656                         <failOnError>false</failOnError>
657                         <skip>true</skip>
658                         <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
659                         <xmlOutput>true</xmlOutput>
660                         <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
661                     </configuration>
662                 </plugin>
663                 <plugin>
664                     <groupId>org.apache.maven.plugins</groupId>
665                     <artifactId>maven-checkstyle-plugin</artifactId>
666                     <version>${checkstyle.plugin.version}</version>
667                     <dependencies>
668                         <dependency>
669                             <groupId>org.onap.oparent</groupId>
670                             <artifactId>checkstyle</artifactId>
671                             <version>1.2.2</version>
672                         </dependency>
673                     </dependencies>
674                     <executions>
675                         <execution>
676                             <phase>process-sources</phase>
677                             <goals>
678                                 <goal>check</goal>
679                             </goals>
680                             <configuration>
681                                 <failOnViolation>false</failOnViolation>
682                                 <skip>true</skip>
683                             </configuration>
684                         </execution>
685                         <execution>
686                             <id>check-license</id>
687                             <goals>
688                                 <goal>check</goal>
689                             </goals>
690                             <phase>process-sources</phase>
691                             <configuration>
692                                 <configLocation>onap-checkstyle/check-license.xml</configLocation>
693                                 <includeResources>false</includeResources>
694                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
695                                 <includeTestResources>false</includeTestResources>
696                                 <sourceDirectories>
697                                     <directory>${project.build.sourceDirectory}</directory>
698                                 </sourceDirectories>
699                                 <excludes>
700                                 </excludes>
701                                 <consoleOutput>true</consoleOutput>
702                                 <failOnViolation>false</failOnViolation>
703                             </configuration>
704                         </execution>
705                         <execution>
706                             <id>onap-java-style</id>
707                             <goals>
708                                 <goal>check</goal>
709                             </goals>
710                             <phase>process-sources</phase>
711                             <configuration>
712                                 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
713                                     with minor changes -->
714                                 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
715                                 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
716                                 <sourceDirectories>
717                                     <directory>${project.build.sourceDirectory}/src/main/java</directory>
718                                 </sourceDirectories>
719                                 <includeResources>true</includeResources>
720                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
721                                 <includeTestResources>true</includeTestResources>
722                                 <excludes>
723                                 </excludes>
724                                 <consoleOutput>true</consoleOutput>
725                                 <failOnViolation>false</failOnViolation>
726                             </configuration>
727                         </execution>
728                     </executions>
729                 </plugin>
730                 <plugin>
731                     <groupId>org.gaul</groupId>
732                     <artifactId>modernizer-maven-plugin</artifactId>
733                     <version>2.1.0</version>
734                     <executions>
735                         <execution>
736                             <id>modernizer</id>
737                             <phase>verify</phase>
738                             <goals>
739                                 <goal>modernizer</goal>
740                             </goals>
741                             <configuration>
742                                 <failOnViolations>false</failOnViolations>
743                                 <skip>true</skip>
744                             </configuration>
745                         </execution>
746                     </executions>
747                     <configuration>
748                         <failOnViolations>false</failOnViolations>
749                         <skip>true</skip>
750                     </configuration>
751                 </plugin>
752                 <!--
753                 <plugin>
754                     <groupId>org.apache.karaf.tooling</groupId>
755                     <artifactId>karaf-maven-plugin</artifactId>
756                     <configuration>
757                         <useVersionRange>true</useVersionRange>
758                         <includeTransitiveVersionRanges>true</includeTransitiveVersionRanges>
759                     </configuration>
760                 </plugin>
761             -->
762             </plugins>
763         </pluginManagement>
764         <plugins>
765             <!-- Plugins from oparent version (parent of oparent) -->
766             <plugin>
767                 <groupId>org.apache.maven.plugins</groupId>
768                 <artifactId>maven-deploy-plugin</artifactId>
769             </plugin>
770             <plugin>
771                 <groupId>org.apache.maven.plugins</groupId>
772                 <artifactId>maven-site-plugin</artifactId>
773                 <!--
774                 <configuration>
775                     <reportPlugins>
776                         <reportPlugin>
777                             <groupId>org.apache.maven.plugins</groupId>
778                             <artifactId>maven-checkstyle-plugin</artifactId>
779                             <version>${checkstyle.plugin.version}</version>
780                         </reportPlugin>
781                     </reportPlugins>
782                 </configuration>
783                 -->
784             </plugin>
785             <!-- end of plugins from oparent version (parent of oparent) -->
786
787             <!-- Plugins from oparent -->
788             <plugin>
789                 <groupId>org.apache.maven.plugins</groupId>
790                 <artifactId>maven-checkstyle-plugin</artifactId>
791             </plugin>
792             <plugin>
793                 <groupId>org.codehaus.mojo</groupId>
794                 <artifactId>build-helper-maven-plugin</artifactId>
795                 <version>1.12</version>
796             </plugin>
797             <!-- Jacoco / Sonar -->
798             <plugin>
799                 <groupId>org.jacoco</groupId>
800                 <artifactId>jacoco-maven-plugin</artifactId>
801                 <version>${jacoco.version}</version>
802                 <executions>
803                     <execution>
804                         <id>pre-unit-test</id>
805                         <goals>
806                             <goal>prepare-agent</goal>
807                         </goals>
808                         <configuration>
809                             <!-- Sets the path to the file which contains the execution data. -->
810                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
811                             <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
812                             <propertyName>surefireArgLine</propertyName>
813                         </configuration>
814                     </execution>
815                     <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
816                     <execution>
817                         <id>post-unit-test</id>
818                         <phase>test</phase>
819                         <goals>
820                             <goal>report</goal>
821                         </goals>
822                         <configuration>
823                             <!-- Sets the path to the file which contains the execution data. -->
824                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
825                             <!-- Sets the output directory for the code coverage report. -->
826                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
827                         </configuration>
828                     </execution>
829                     <execution>
830                         <id>pre-integration-test</id>
831                         <phase>pre-integration-test</phase>
832                         <goals>
833                             <goal>prepare-agent</goal>
834                         </goals>
835                         <configuration>
836                             <!-- Sets the path to the file which contains the execution data. -->
837                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
838                             <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
839                             <propertyName>failsafeArgLine</propertyName>
840                         </configuration>
841                     </execution>
842                     <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
843                     <execution>
844                         <id>post-integration-test</id>
845                         <phase>post-integration-test</phase>
846                         <goals>
847                             <goal>report</goal>
848                         </goals>
849                         <configuration>
850                             <!-- Sets the path to the file which contains the execution data. -->
851                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
852                             <!-- Sets the output directory for the code coverage report. -->
853                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
854                         </configuration>
855                     </execution>
856                     <execution>
857                         <id>default-prepare-agent</id>
858                         <goals>
859                             <goal>prepare-agent</goal>
860                         </goals>
861                     </execution>
862                     <execution>
863                         <id>default-report</id>
864                         <phase>prepare-package</phase>
865                         <goals>
866                             <goal>report</goal>
867                         </goals>
868                     </execution>
869                     <execution>
870                         <id>default-check</id>
871                         <goals>
872                             <goal>check</goal>
873                         </goals>
874                         <configuration>
875                             <rules>
876                                 <rule>
877                                     <element>PACKAGE</element>
878                                     <limits>
879                                         <limit>
880                                             <counter>COMPLEXITY</counter>
881                                             <value>COVEREDRATIO</value>
882                                             <minimum>0.0</minimum>
883                                         </limit>
884                                     </limits>
885                                 </rule>
886                             </rules>
887                         </configuration>
888                     </execution>
889                 </executions>
890             </plugin>
891             <plugin>
892                 <groupId>org.apache.maven.plugins</groupId>
893                 <artifactId>maven-surefire-plugin</artifactId>
894             </plugin>
895             <plugin>
896                 <groupId>org.apache.maven.plugins</groupId>
897                 <artifactId>maven-failsafe-plugin</artifactId>
898             </plugin>
899             <!-- end of plugins from oparent -->
900             <plugin>
901                 <groupId>org.apache.maven.plugins</groupId>
902                 <artifactId>maven-javadoc-plugin</artifactId>
903                 <executions>
904                     <execution>
905                         <id>attach-javadocs</id>
906                         <goals>
907                             <goal>jar</goal>
908                         </goals>
909                         <configuration>
910                             <additionalparam>-Xdoclint:none</additionalparam>
911                         </configuration>
912                     </execution>
913                 </executions>
914             </plugin>
915             <plugin>
916                 <artifactId>maven-enforcer-plugin</artifactId>
917                 <version>3.0.0-M2</version>
918                 <executions>
919                     <execution>
920                         <id>enforce-property</id>
921                         <goals>
922                             <goal>enforce</goal>
923                         </goals>
924                         <configuration>
925                             <rules>
926                                 <requireProperty>
927                                     <property>onap.nexus.url</property>
928                                     <message>You must set a onap.nexus.url property in your
929                                         ~/.m2/settings.xml. See oparent/settings.xml for an example.
930                                     </message>
931                                 </requireProperty>
932                             </rules>
933                             <fail>true</fail>
934                         </configuration>
935                     </execution>
936                     <execution>
937                         <id>enforce-no-snapshots</id>
938                         <goals>
939                             <goal>enforce</goal>
940                         </goals>
941                         <configuration>
942                             <rules>
943                                 <requireReleaseDeps>
944                                     <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
945                                     <onlyWhenRelease>true</onlyWhenRelease>
946                                     <level>WARN</level>
947                                 </requireReleaseDeps>
948                             </rules>
949                         </configuration>
950                     </execution>
951                     <execution>
952                         <id>enforce-maven</id>
953                         <goals>
954                             <goal>enforce</goal>
955                         </goals>
956                         <configuration>
957                             <rules>
958                                 <requireJavaVersion>
959                                     <version>1.8.0</version>
960                                 </requireJavaVersion>
961                                 <requireMavenVersion>
962                                     <version>[3.5.0,)</version>
963                                 </requireMavenVersion>
964                             </rules>
965                         </configuration>
966                     </execution>
967                     <execution>
968                         <id>enforce-banned-dependencies</id>
969                         <goals>
970                             <goal>enforce</goal>
971                         </goals>
972                         <configuration>
973                             <rules>
974                                 <bannedDependencies>
975                                     <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
976                                     <excludes>
977                                         <exclude>org.mockito:mockito-all</exclude>
978                                         <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
979                                     </excludes>
980                                 </bannedDependencies>
981                             </rules>
982                             <fail>true</fail>
983                         </configuration>
984                     </execution>
985                 </executions>
986             </plugin>
987             <plugin>
988                 <groupId>pl.project13.maven</groupId>
989                 <artifactId>git-commit-id-plugin</artifactId>
990                 <version>4.0.0</version>
991                 <configuration>
992                     <commitIdGenerationMode>full</commitIdGenerationMode>
993                     <includeOnlyProperties>
994                         <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
995                         <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
996                     </includeOnlyProperties>
997                 </configuration>
998             </plugin>
999         </plugins>
1000     </build>
1001
1002     <reporting>
1003         <plugins>
1004             <plugin>
1005                 <artifactId>maven-javadoc-plugin</artifactId>
1006                 <configuration>
1007                     <failOnError>false</failOnError>
1008                     <additionalparam>-Xdoclint:none</additionalparam>
1009                 </configuration>
1010             </plugin>
1011         </plugins>
1012     </reporting>
1013
1014     <profiles>
1015         <!-- Profiles from ONAP oparent -->
1016         <profile>
1017             <id>generate-json</id>
1018             <activation>
1019                 <file>
1020                     <exists>${swagger-properties}</exists>
1021                 </file>
1022                 <property>
1023                     <name>swagger-sdk.generate-json</name>
1024                 </property>
1025             </activation>
1026             <build>
1027                 <plugins>
1028                     <plugin>
1029                         <groupId>org.codehaus.mojo</groupId>
1030                         <artifactId>properties-maven-plugin</artifactId>
1031                         <version>1.0.0</version>
1032                         <executions>
1033                             <execution>
1034                                 <phase>initialize</phase>
1035                                 <goals>
1036                                     <goal>read-project-properties</goal>
1037                                 </goals>
1038                                 <configuration>
1039                                     <files>
1040                                         <file>${basedir}/src/main/resources/swagger.properties</file>
1041                                     </files>
1042                                 </configuration>
1043                             </execution>
1044                         </executions>
1045                     </plugin>
1046                     <plugin>
1047                         <groupId>com.github.kongchen</groupId>
1048                         <artifactId>swagger-maven-plugin</artifactId>
1049                         <version>3.1.4</version>
1050                         <configuration>
1051                             <apiSources>
1052                                 <apiSource>
1053                                     <locations>${api-rest-package}</locations>
1054                                     <schemes>http,https</schemes>
1055                                     <host>${api-host-ip}:${api-host-port}</host>
1056                                     <basePath>${api-base-path}</basePath>
1057                                     <info>
1058                                         <title>${api-title}</title>
1059                                         <version>${api-version}</version>
1060                                         <description>${api-description}</description>
1061                                         <license>
1062                                             <name>${api-license}</name>
1063                                         </license>
1064                                     </info>
1065                                     <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
1066                                 </apiSource>
1067                             </apiSources>
1068                         </configuration>
1069                         <executions>
1070                             <execution>
1071                                 <phase>compile</phase>
1072                                 <goals>
1073                                     <goal>generate</goal>
1074                                 </goals>
1075                             </execution>
1076                         </executions>
1077                     </plugin>
1078                     <plugin>
1079                         <groupId>org.apache.maven.plugins</groupId>
1080                         <artifactId>maven-install-plugin</artifactId>
1081                         <version>2.3.1</version>
1082                         <executions>
1083                             <execution>
1084                                 <id>install-file-id</id>
1085                                 <phase>install</phase>
1086                                 <goals>
1087                                     <goal>install-file</goal>
1088                                 </goals>
1089                                 <configuration>
1090                                     <file>${basedir}/src/main/resources/swagger.json</file>
1091                                     <groupId>${project.groupId}</groupId>
1092                                     <artifactId>${project.artifactId}-swagger-schema</artifactId>
1093                                     <version>${project.version}</version>
1094                                     <packaging>json</packaging>
1095                                 </configuration>
1096                             </execution>
1097                         </executions>
1098                     </plugin>
1099                 </plugins>
1100             </build>
1101         </profile>
1102         <profile>
1103             <id>generate-sdk</id>
1104             <activation>
1105                 <file>
1106                     <exists>${swagger-json}</exists>
1107                 </file>
1108                 <property>
1109                     <name>swagger-sdk.generate-java-sdk</name>
1110                 </property>
1111             </activation>
1112             <build>
1113                 <plugins>
1114                     <plugin>
1115                         <groupId>org.apache.maven.plugins</groupId>
1116                         <artifactId>maven-antrun-plugin</artifactId>
1117                         <version>1.8</version>
1118                         <executions>
1119                             <execution>
1120                                 <phase>initialize</phase>
1121                                 <id>ant-create-script</id>
1122                                 <configuration>
1123                                     <exportAntProperties>true</exportAntProperties>
1124                                     <tasks>
1125                                         <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
1126                                         <condition property="is_windows" value="true">
1127                                             <os family="windows"/>
1128                                         </condition>
1129                                         <condition property="isLinux" value="true">
1130                                             <os family="unix"/>
1131                                         </condition>
1132                                         <if>
1133                                             <equals arg1="${is_windows}" arg2="true"/>
1134                                             <then>
1135                                                 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
1136                                                 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
1137                                                       message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
1138                                                 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
1139                                                       message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
1140                                             </then>
1141                                             <else>
1142                                                 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
1143                                                 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
1144                                                       message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
1145                                                 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
1146                                                       message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
1147                                                 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
1148                                             </else>
1149                                         </if>
1150                                     </tasks>
1151                                 </configuration>
1152                                 <goals>
1153                                     <goal>run</goal>
1154                                 </goals>
1155                             </execution>
1156                         </executions>
1157                         <dependencies>
1158                             <dependency>
1159                                 <groupId>ant-contrib</groupId>
1160                                 <artifactId>ant-contrib</artifactId>
1161                                 <version>1.0b3</version>
1162                                 <exclusions>
1163                                     <exclusion>
1164                                         <groupId>ant</groupId>
1165                                         <artifactId>ant</artifactId>
1166                                     </exclusion>
1167                                 </exclusions>
1168                             </dependency>
1169                         </dependencies>
1170                     </plugin>
1171                     <plugin>
1172                         <groupId>io.swagger</groupId>
1173                         <artifactId>swagger-codegen-maven-plugin</artifactId>
1174                         <version>2.2.1</version>
1175                         <executions>
1176                             <execution>
1177                                 <goals>
1178                                     <goal>generate</goal>
1179                                 </goals>
1180                                 <configuration>
1181                                     <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
1182                                     <output>${project.build.directory}/generated-sources</output>
1183                                     <language>java</language>
1184                                     <configOptions>
1185                                         <dateLibrary>joda</dateLibrary>
1186                                     </configOptions>
1187                                     <library>jersey2</library>
1188                                     <groupId>${project.groupId}</groupId>
1189                                     <artifactId>${project.artifactId}-java-sdk</artifactId>
1190                                     <artifactVersion>${project.version}</artifactVersion>
1191                                     <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
1192                                     <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
1193                                     <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
1194                                 </configuration>
1195                             </execution>
1196                         </executions>
1197                     </plugin>
1198                     <plugin>
1199                         <groupId>org.codehaus.mojo</groupId>
1200                         <artifactId>exec-maven-plugin</artifactId>
1201                         <version>1.5.0</version>
1202                         <executions>
1203                             <execution>
1204                                 <id>swagger-generate-sources</id>
1205                                 <phase>generate-sources</phase>
1206                                 <goals>
1207                                     <goal>exec</goal>
1208                                 </goals>
1209                                 <configuration>
1210                                     <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
1211                                 </configuration>
1212                             </execution>
1213                         </executions>
1214                     </plugin>
1215                     <plugin>
1216                         <groupId>org.apache.maven.plugins</groupId>
1217                         <artifactId>maven-clean-plugin</artifactId>
1218                         <version>3.0.0</version>
1219                         <executions>
1220                             <execution>
1221                                 <id>clean-generated-files</id>
1222                                 <phase>generate-sources</phase>
1223                                 <goals>
1224                                     <goal>clean</goal>
1225                                 </goals>
1226                                 <configuration>
1227                                     <filesets>
1228                                         <fileset>
1229                                             <directory>${project.build.directory}/generated-sources</directory>
1230                                         </fileset>
1231                                     </filesets>
1232                                 </configuration>
1233                             </execution>
1234                         </executions>
1235                     </plugin>
1236                 </plugins>
1237             </build>
1238             <dependencies>
1239                 <dependency>
1240                     <groupId>org.onap.msb.swagger-sdk</groupId>
1241                     <artifactId>swagger-sdk</artifactId>
1242                     <version>1.0.0</version>
1243                 </dependency>
1244             </dependencies>
1245         </profile>
1246         <profile>
1247             <id>sonar-jacoco-aggregate</id>
1248             <activation>
1249                 <property>
1250                     <name>onap.jacoco.aggregateFile</name>
1251                 </property>
1252             </activation>
1253             <build>
1254                 <plugins>
1255                     <plugin>
1256                         <groupId>org.jacoco</groupId>
1257                         <artifactId>jacoco-maven-plugin</artifactId>
1258                         <executions>
1259                             <execution>
1260                                 <id>merge</id>
1261                                 <goals>
1262                                     <goal>merge</goal>
1263                                 </goals>
1264                                 <phase>generate-resources</phase>
1265                                 <configuration>
1266                                     <destFile>${onap.jacoco.aggregateFile}</destFile>
1267                                     <fileSets>
1268                                         <fileSet>
1269                                             <directory>${project.basedir}</directory>
1270                                             <includes>
1271                                                 <include>**/target/code-coverage/*.exec</include>
1272                                             </includes>
1273                                         </fileSet>
1274                                     </fileSets>
1275                                 </configuration>
1276                             </execution>
1277                         </executions>
1278                     </plugin>
1279                 </plugins>
1280             </build>
1281         </profile>
1282         <!-- End of profiles from ONAP oparent -->
1283
1284        
1285     </profiles>
1286 </project>