Remove checkstyle plugin from pap pom 84/109384/1
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Fri, 19 Jun 2020 21:49:21 +0000 (17:49 -0400)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Fri, 19 Jun 2020 21:49:58 +0000 (17:49 -0400)
Issue-ID: POLICY-2188
Change-Id: I4bfb1019782d6e72feda18ae1414c07e8ed460a2
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
pom.xml

diff --git a/pom.xml b/pom.xml
index a8d624c..8a27ee6 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     </distributionManagement>
 
     <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-checkstyle-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>onap-java-style</id>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                        <phase>process-sources</phase>
-                        <configuration>
-                            <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
-                                with minor changes -->
-                            <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
-                            <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
-                            <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
-                            <includeResources>true</includeResources>
-                            <includeTestSourceDirectory>true</includeTestSourceDirectory>
-                            <includeTestResources>true</includeTestResources>
-                            <excludes>
-                            </excludes>
-                            <consoleOutput>true</consoleOutput>
-                            <failOnViolation>true</failOnViolation>
-                            <violationSeverity>warning</violationSeverity>
-                        </configuration>
-                    </execution>
-                </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.onap.oparent</groupId>
-                        <artifactId>checkstyle</artifactId>
-                        <version>${oparent.version}</version>
-                        <scope>compile</scope>
-                    </dependency>
-                </dependencies>
-            </plugin>
-        </plugins>
         <pluginManagement>
             <plugins>
                 <plugin>