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>
6 <groupId>org.springframework.boot</groupId>
7 <artifactId>spring-boot-starter-parent</artifactId>
8 <version>2.2.4.RELEASE</version>
12 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>spring-boot-starter-parent</artifactId>
14 <version>1.5.2-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
18 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
19 <url>http://wiki.onap.org</url>
26 <url>https://jira.onap.org/</url>
28 <distributionManagement>
30 <id>ecomp-releases</id>
31 <url>https://nexus.onap.org/content/repositories/releases</url>
34 <id>ecomp-snapshots</id>
35 <url>https://nexus.onap.org/content/repositories/snapshots</url>
37 </distributionManagement>
40 <!-- Sonar properties -->
41 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
42 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44 <!-- Default Sonar configuration -->
45 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
47 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <!-- Jacoco properties -->
50 <jacoco.version>0.8.5</jacoco.version>
51 <!-- properties from oparent -->
52 <maven.compiler.source>1.8</maven.compiler.source>
53 <maven.compiler.target>1.8</maven.compiler.target>
54 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
55 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
56 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
57 <!-- sitePath may be overridden in the inheriting POM if desired -->
58 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
60 <!-- If following file exist, auto-generation of swagger.json will be done -->
61 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
62 <!-- If following file exist, auto-generation of sdk will be done -->
63 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
64 <!-- end of properties from oparent -->
66 <!-- ONAP repositories -->
67 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
68 <onap.nexus.port>443</onap.nexus.port>
69 <onap.nexus.protocol>https</onap.nexus.protocol>
70 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
71 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
72 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
73 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
74 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
75 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
77 <java.version.source>1.8</java.version.source>
78 <java.version.target>1.8</java.version.target>
79 <bundle.plugin.version>2.5.0</bundle.plugin.version>
80 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
81 <features.file>features.xml</features.file>
82 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
83 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
84 <checkstyle.skip>true</checkstyle.skip>
86 <!-- CCSDK component versions -->
87 <ccsdk.cds.version>0.7.1-SNAPSHOT</ccsdk.cds.version>
88 <ccsdk.sli.core.version>0.7.1-SNAPSHOT</ccsdk.sli.core.version>
89 <ccsdk.sli.adaptors.version>0.7.1-SNAPSHOT</ccsdk.sli.adaptors.version>
90 <ccsdk.sli.northbound.version>0.7.1-SNAPSHOT</ccsdk.sli.northbound.version>
91 <ccsdk.sli.plugins.version>0.7.1-SNAPSHOT</ccsdk.sli.plugins.version>
92 <ccsdk.distribution.version>0.7.1-SNAPSHOT</ccsdk.distribution.version>
93 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
94 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
95 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
96 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
97 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
99 <!-- Spring versions -->
100 <spring.boot.version>2.2.4.RELEASE</spring.boot.version>
101 <spring.version>5.2.3.RELEASE</spring.version>
103 <!-- Kotlin versions -->
104 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
105 <kotlin.version>1.3.61</kotlin.version>
106 <kotlin.maven.version>1.3.61</kotlin.maven.version>
107 <kotlin.couroutines.version>1.3.3</kotlin.couroutines.version>
108 <kotlinpoet.version>1.5.0</kotlinpoet.version>
109 <kroto-plus.version>0.5.0</kroto-plus.version>
110 <nats.version>2.6.6</nats.version>
111 <nats.streaming.version>2.2.3</nats.streaming.version>
112 <mockk.version>1.9.3</mockk.version>
114 <!-- Managed dependency versions -->
115 <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
116 <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
117 <derby.version>10.14.2.0</derby.version>
118 <eelf.version>1.0.0</eelf.version>
119 <grpc.version>1.25.0</grpc.version>
120 <protobuff.java.version>3.10.0</protobuff.java.version>
121 <protobuff.java.utils.version>3.10.0</protobuff.java.utils.version>
122 <atomix.version>3.1.5</atomix.version>
123 <jersey.version>2.25.1</jersey.version>
124 <junit.version>4.12</junit.version>
125 <logback.version>1.2.3</logback.version>
126 <mariadb.connector.version>2.4.4</mariadb.connector.version>
127 <mariadb4j.version>2.4.0</mariadb4j.version>
128 <slf4j.version>1.7.25</slf4j.version>
129 <testng.version>6.11</testng.version>
130 <tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
131 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
134 <dependencyManagement>
137 <groupId>org.onap.ccsdk.parent</groupId>
138 <artifactId>dependencies-bom</artifactId>
139 <version>1.5.2-SNAPSHOT</version>
141 <scope>import</scope>
144 <groupId>org.onap.ccsdk.sli.core</groupId>
145 <artifactId>sli-common</artifactId>
146 <version>${ccsdk.sli.core.version}</version>
150 <groupId>org.onap.ccsdk.sli.core</groupId>
151 <artifactId>sli-provider</artifactId>
152 <version>${ccsdk.sli.core.version}</version>
155 <groupId>org.onap.ccsdk.sli.core</groupId>
156 <artifactId>ccsdk-sli</artifactId>
157 <version>${ccsdk.sli.core.version}</version>
159 <classifier>features</classifier>
162 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
163 <artifactId>aai-service-provider</artifactId>
164 <version>${sdnctl.aai.service.version}</version>
168 <groupId>org.onap.ccsdk.sli.core</groupId>
169 <artifactId>dblib-provider</artifactId>
170 <version>${sdnctl.dblib.version}</version>
173 <groupId>junit</groupId>
174 <artifactId>junit</artifactId>
175 <version>${junit.version}</version>
180 </dependencyManagement>
185 <url>https://nexus.onap.org/content/groups/public</url>
187 <enabled>true</enabled>
188 <updatePolicy>never</updatePolicy>
191 <enabled>true</enabled>
192 <updatePolicy>always</updatePolicy>
196 <id>onap-staging</id>
197 <url>https://nexus.onap.org/content/groups/staging</url>
199 <enabled>true</enabled>
200 <updatePolicy>never</updatePolicy>
203 <enabled>true</enabled>
204 <updatePolicy>always</updatePolicy>
208 <id>ecomp-release</id>
209 <name>onap-repository-releases</name>
210 <url>https://nexus.onap.org/content/repositories/releases</url>
212 <enabled>true</enabled>
213 <updatePolicy>never</updatePolicy>
216 <enabled>false</enabled>
220 <id>ecomp-snapshot</id>
221 <name>onap-repository-snapshots</name>
222 <url>https://nexus.onap.org/content/repositories/snapshots</url>
224 <enabled>false</enabled>
227 <enabled>true</enabled>
234 <url>${onap.nexus.public-url}</url>
236 <enabled>true</enabled>
239 <enabled>true</enabled>
243 <id>onap-staging</id>
244 <url>${onap.nexus.staging-url}</url>
246 <enabled>true</enabled>
249 <enabled>true</enabled>
253 <id>onap-snapshot</id>
254 <url>${onap.nexus.snapshot-url}</url>
256 <enabled>false</enabled>
259 <enabled>true</enabled>
262 <!-- Black Duck plugin dependencies -->
265 <name>JCenter Repository</name>
266 <url>http://jcenter.bintray.com</url>
271 <name>Restlet Repository</name>
272 <url>http://maven.restlet.com</url>
274 </pluginRepositories>
279 <!-- Plugins from ONAP oparent -->
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-deploy-plugin</artifactId>
283 <!-- This version supports the "deployAtEnd" parameter -->
284 <version>2.8</version>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-site-plugin</artifactId>
292 <version>3.6</version>
295 <groupId>org.apache.maven.wagon</groupId>
296 <artifactId>wagon-webdav-jackrabbit</artifactId>
297 <version>2.10</version>
301 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
303 <groupId>org.sonarsource.scanner.maven</groupId>
304 <artifactId>sonar-maven-plugin</artifactId>
305 <version>${sonar.scanner.version}</version>
307 <!-- end of plugins from ONAP version (parent of oparent) -->
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-surefire-plugin</artifactId>
312 <version>2.22.0</version>
314 <!-- Sets the VM argument line used when unit tests are run. -->
315 <argLine>${surefireArgLine}</argLine>
316 <!-- Excludes integration tests when unit tests are run. -->
318 <exclude>**/IT*.java</exclude>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-failsafe-plugin</artifactId>
325 <version>2.22.0</version>
327 <!-- Ensures that both integration-test and verify goals of the Failsafe
328 Maven plugin are executed. -->
330 <id>integration-tests</id>
332 <goal>integration-test</goal>
336 <!-- Sets the VM argument line used when integration tests are run. -->
337 <argLine>${failsafeArgLine}</argLine>
343 <!-- End of plugins from ONAP oparent -->
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>properties-maven-plugin</artifactId>
347 <version>1.0.0</version>
351 <goal>set-system-properties</goal>
356 <name>maven.wagon.http.ssl.allowall</name>
357 <value>${ssl.allowall}</value>
360 <name>maven.wagon.http.ssl.insecure</name>
361 <value>${ssl.insecure}</value>
370 <groupId>org.codehaus.mojo</groupId>
371 <artifactId>versions-maven-plugin</artifactId>
372 <version>2.5</version>
374 <processAllModules>true</processAllModules>
378 <artifactId>maven-scm-plugin</artifactId>
379 <version>1.8.1</version>
381 <tag>${project.artifactId}-${project.version}</tag>
385 <groupId>com.github.ferstl</groupId>
386 <artifactId>depgraph-maven-plugin</artifactId>
387 <version>3.3.0</version>
389 <graphFormat>text</graphFormat>
390 <outputFileName>${dependency-list.file}</outputFileName>
391 <outputDirectory>${project.basedir}</outputDirectory>
392 <transitiveExcludes>*</transitiveExcludes>
393 <showVersions>true</showVersions>
394 <showGroupIds>true</showGroupIds>
401 <!-- Plugins from oparent version (parent of oparent) -->
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-deploy-plugin</artifactId>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-site-plugin</artifactId>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-enforcer-plugin</artifactId>
414 <!-- end of plugins from oparent version (parent of oparent) -->
416 <!-- Plugins from oparent -->
418 <artifactId>maven-checkstyle-plugin</artifactId>
419 <version>2.17</version>
422 <groupId>org.onap.oparent</groupId>
423 <artifactId>checkstyle</artifactId>
424 <version>1.2.2</version>
429 <id>onap-license</id>
433 <phase>process-sources</phase>
435 <configLocation>onap-checkstyle/check-license.xml</configLocation>
436 <includeResources>false</includeResources>
437 <includeTestSourceDirectory>true</includeTestSourceDirectory>
438 <includeTestResources>false</includeTestResources>
439 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
442 <consoleOutput>true</consoleOutput>
443 <failOnViolation>false</failOnViolation>
447 <id>onap-java-style</id>
451 <phase>process-sources</phase>
453 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
454 with minor changes -->
455 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
456 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
457 sources directory -->
458 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
459 <includeResources>true</includeResources>
460 <includeTestSourceDirectory>true</includeTestSourceDirectory>
461 <includeTestResources>true</includeTestResources>
464 <consoleOutput>true</consoleOutput>
465 <failOnViolation>false</failOnViolation>
471 <groupId>org.codehaus.mojo</groupId>
472 <artifactId>build-helper-maven-plugin</artifactId>
473 <version>1.12</version>
475 <!-- Jacoco / Sonar -->
477 <groupId>org.jacoco</groupId>
478 <artifactId>jacoco-maven-plugin</artifactId>
479 <version>${jacoco.version}</version>
482 <id>pre-unit-test</id>
484 <goal>prepare-agent</goal>
487 <!-- Sets the path to the file which contains the execution data. -->
488 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
489 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
490 <propertyName>surefireArgLine</propertyName>
493 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
495 <id>post-unit-test</id>
501 <!-- Sets the path to the file which contains the execution data. -->
502 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
503 <!-- Sets the output directory for the code coverage report. -->
504 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
508 <id>pre-integration-test</id>
509 <phase>pre-integration-test</phase>
511 <goal>prepare-agent</goal>
514 <!-- Sets the path to the file which contains the execution data. -->
515 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
516 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
517 <propertyName>failsafeArgLine</propertyName>
520 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
522 <id>post-integration-test</id>
523 <phase>post-integration-test</phase>
528 <!-- Sets the path to the file which contains the execution data. -->
529 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
530 <!-- Sets the output directory for the code coverage report. -->
531 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
535 <id>default-prepare-agent</id>
537 <goal>prepare-agent</goal>
541 <id>default-report</id>
542 <phase>prepare-package</phase>
548 <id>default-check</id>
555 <element>PACKAGE</element>
558 <counter>COMPLEXITY</counter>
559 <value>COVEREDRATIO</value>
560 <minimum>0.0</minimum>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-surefire-plugin</artifactId>
574 <groupId>org.apache.maven.plugins</groupId>
575 <artifactId>maven-failsafe-plugin</artifactId>
577 <!-- end of plugins from oparent -->
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-javadoc-plugin</artifactId>
581 <version>2.10.4</version>
584 <id>attach-javadocs</id>
589 <additionalparam>-Xdoclint:none</additionalparam>
600 <artifactId>maven-javadoc-plugin</artifactId>
601 <version>2.10.4</version>
603 <failOnError>false</failOnError>
604 <additionalparam>-Xdoclint:none</additionalparam>
608 <groupId>org.jacoco</groupId>
609 <artifactId>jacoco-maven-plugin</artifactId>
610 <version>${jacoco.version}</version>
614 <!-- select non-aggregate reports -->
615 <report>report</report>
624 <!-- Profiles from ONAP oparent -->
626 <id>generate-json</id>
629 <exists>${swagger-properties}</exists>
632 <name>swagger-sdk.generate-json</name>
638 <groupId>org.codehaus.mojo</groupId>
639 <artifactId>properties-maven-plugin</artifactId>
640 <version>1.0.0</version>
643 <phase>initialize</phase>
645 <goal>read-project-properties</goal>
649 <file>${basedir}/src/main/resources/swagger.properties</file>
656 <groupId>com.github.kongchen</groupId>
657 <artifactId>swagger-maven-plugin</artifactId>
658 <version>3.1.4</version>
662 <locations>${api-rest-package}</locations>
663 <schemes>http,https</schemes>
664 <host>${api-host-ip}:${api-host-port}</host>
665 <basePath>${api-base-path}</basePath>
667 <title>${api-title}</title>
668 <version>${api-version}</version>
669 <description>${api-description}</description>
671 <name>${api-license}</name>
674 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
680 <phase>compile</phase>
682 <goal>generate</goal>
688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-install-plugin</artifactId>
690 <version>2.3.1</version>
693 <id>install-file-id</id>
694 <phase>install</phase>
696 <goal>install-file</goal>
699 <file>${basedir}/src/main/resources/swagger.json</file>
700 <groupId>${project.groupId}</groupId>
701 <artifactId>${project.artifactId}-swagger-schema</artifactId>
702 <version>${project.version}</version>
703 <packaging>json</packaging>
712 <id>generate-sdk</id>
715 <exists>${swagger-json}</exists>
718 <name>swagger-sdk.generate-java-sdk</name>
724 <groupId>org.apache.maven.plugins</groupId>
725 <artifactId>maven-antrun-plugin</artifactId>
726 <version>1.8</version>
729 <phase>initialize</phase>
730 <id>ant-create-script</id>
732 <exportAntProperties>true</exportAntProperties>
735 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
736 <condition property="is_windows" value="true">
737 <os family="windows"/>
739 <condition property="isLinux" value="true">
743 <equals arg1="${is_windows}" arg2="true"/>
745 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
746 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
747 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
750 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
751 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
752 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
753 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
765 <groupId>ant-contrib</groupId>
766 <artifactId>ant-contrib</artifactId>
767 <version>1.0b3</version>
770 <groupId>ant</groupId>
771 <artifactId>ant</artifactId>
778 <groupId>io.swagger</groupId>
779 <artifactId>swagger-codegen-maven-plugin</artifactId>
780 <version>2.2.1</version>
784 <goal>generate</goal>
787 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
788 <output>${project.build.directory}/generated-sources</output>
789 <language>java</language>
791 <dateLibrary>joda</dateLibrary>
793 <library>jersey2</library>
794 <groupId>${project.groupId}</groupId>
795 <artifactId>${project.artifactId}-java-sdk</artifactId>
796 <artifactVersion>${project.version}</artifactVersion>
797 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
798 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
799 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
805 <groupId>org.codehaus.mojo</groupId>
806 <artifactId>exec-maven-plugin</artifactId>
807 <version>1.5.0</version>
810 <id>swagger-generate-sources</id>
811 <phase>generate-sources</phase>
816 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
822 <groupId>org.apache.maven.plugins</groupId>
823 <artifactId>maven-clean-plugin</artifactId>
824 <version>3.0.0</version>
827 <id>clean-generated-files</id>
828 <phase>generate-sources</phase>
835 <directory>${project.build.directory}/generated-sources</directory>
846 <groupId>org.onap.msb.swagger-sdk</groupId>
847 <artifactId>swagger-sdk</artifactId>
848 <version>1.0.0</version>
853 <!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html
854 q = http://memory-alpha.wikia.com/wiki/Q ;)
856 The Quick profile is used during incremental local development, when you want to "just get that JAR built",
857 which is very handy e.g. for fast hot reloading cycles in Karaf with bundle watch. It (intentionally!) skips
858 tests, quality checks etc. which are great and useful to run before finally submitting changes to Gerrit, and
859 which all must run on Gerrit, but which are overhead during ongoing fast iterative local development.
861 Note that the idea here is that your IDE will already have run quality checks such as e.g. Checkstyle
862 while you typed the code anyway. Similarly, if you wrote a test, you'll probably already have compiled and run it
863 from your IDE, so when you want the OSGi bundle JAR for Karaf, ASAP, you typically don't want all that to run again.
867 <skipTests>true</skipTests>
868 <!-- But NOT <maven.test.skip>true, as that's for compiling, not running, tests;
869 and that's usually quick. Skipping test compilation with -Pq with maven.test.skip would be
870 particularly confusing when used in a project with maven-jar-plugin <goal>test-jar, so don't.) -->
871 <skipIT>true</skipIT>
872 <skipITs>true</skipITs>
873 <skip.karaf.featureTest>true</skip.karaf.featureTest>
874 <jacoco.skip>true</jacoco.skip>
875 <maven.javadoc.skip>true</maven.javadoc.skip>
876 <maven.source.skip>true</maven.source.skip>
877 <checkstyle.skip>true</checkstyle.skip>
878 <findbugs.skip>true</findbugs.skip>
879 <spotbugs.skip>true</spotbugs.skip>
880 <pmd.skip>true</pmd.skip>
881 <cpd.skip>true</cpd.skip>
882 <maven.site.skip>true</maven.site.skip>
883 <invoker.skip>true</invoker.skip>
884 <enforcer.skip>true</enforcer.skip>
885 <duplicate-finder.skip>true</duplicate-finder.skip>
886 <mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 -->
887 <maven.gitcommitid.skip>true</maven.gitcommitid.skip>
888 <modernizer.skip>true</modernizer.skip>
889 <format.skipExecute>true</format.skipExecute>
890 <format.skipValidate>true</format.skipValidate>
894 <id>sonar-jacoco-aggregate</id>
897 <name>onap.jacoco.aggregateFile</name>
903 <groupId>org.jacoco</groupId>
904 <artifactId>jacoco-maven-plugin</artifactId>
911 <phase>generate-resources</phase>
913 <destFile>${onap.jacoco.aggregateFile}</destFile>
916 <directory>${project.basedir}</directory>
918 <include>**/target/code-coverage/*.exec</include>
929 <!-- End of profiles from ONAP oparent -->