[DMAAP-MR] Sonar Jdoc Fix 05/120905/1 master
authorseanfos <sean.osullivan@est.tech>
Mon, 26 Apr 2021 13:47:29 +0000 (14:47 +0100)
committerseanfos <sean.osullivan@est.tech>
Mon, 26 Apr 2021 13:48:44 +0000 (14:48 +0100)
Signed-off-by: seanfos <sean.osullivan@est.tech>
Change-Id: I9b7e9020f46c9c71b6852e00724089fe0be8eecb
Issue-ID: DMAAP-1385

pom.xml

diff --git a/pom.xml b/pom.xml
index de42c4e..96c1d21 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                             <includeTestResources>true</includeTestResources>
                             <excludes>
                             </excludes>
-                            <consoleOutput>true</consoleOutput>
+                            <consoleOutput>false</consoleOutput>
                             <failOnViolation>false</failOnViolation>
                         </configuration>
                     </execution>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-site-plugin</artifactId>
-                <version>3.6</version>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.maven.wagon</groupId>
-                        <artifactId>wagon-webdav-jackrabbit</artifactId>
-                        <version>2.10</version>
-                    </dependency>
-                </dependencies>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.10.4</version>
+                <version>3.2.0</version>
                 <configuration>
-                    <additionalparam>-Xdoclint:none</additionalparam>
-                    <source>8</source>
-                    <detectJavaApiLink>false</detectJavaApiLink>
+                    <failOnError>false</failOnError>
                 </configuration>
                 <executions>
                     <execution>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
-                <version>3.0.0-M5</version>
                 <configuration>
                     <excludes>
                         <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> -->
                     </excludes>
                     <argLine>
-                        --illegal-access=permit
+                        ${surefireArgLine} --illegal-access=permit
                     </argLine>
                 </configuration>
             </plugin>
             <plugin>
                 <groupId>org.jacoco</groupId>
                 <artifactId>jacoco-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>prepare-agent</id>
-                        <goals>
-                            <goal>prepare-agent</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>report</id>
-                        <goals>
-                            <goal>report</goal>
-                        </goals>
-                        <configuration>
-                            <dataFile>${project.build.directory}/code-coverage/jacoco.exec
-                            </dataFile>
-                            <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut
-                            </outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
+                <configuration>
+                    <excludes>
+                    </excludes>
+                </configuration>
             </plugin>
         </plugins>
     </build>