Pārlūkot izejas kodu

AMBARI-19158. Plugin configuration ignored when directly running checkstyle goals (Attila Doroszlai via oleewere)

Change-Id: Iaf65354eec0adfcf9a2dc7bb0cdb1356f81099b9
Attila Doroszlai 8 gadi atpakaļ
vecāks
revīzija
c2a4fa64db
1 mainītis faili ar 8 papildinājumiem un 8 dzēšanām
  1. 8 8
      ambari-project/pom.xml

+ 8 - 8
ambari-project/pom.xml

@@ -497,18 +497,18 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>2.17</version>
+          <configuration>
+            <configLocation>${project.basedir}/checkstyle.xml</configLocation>
+            <encoding>UTF-8</encoding>
+            <consoleOutput>true</consoleOutput>
+            <failsOnError>true</failsOnError>
+            <linkXRef>false</linkXRef>
+            <skip>${checkstyle.skip}</skip>
+          </configuration>
           <executions>
             <execution>
               <id>checkstyle</id>
               <phase>test</phase>
-              <configuration>
-                <configLocation>${project.basedir}/checkstyle.xml</configLocation>
-                <encoding>UTF-8</encoding>
-                <consoleOutput>true</consoleOutput>
-                <failsOnError>true</failsOnError>
-                <linkXRef>false</linkXRef>
-                <skip>${checkstyle.skip}</skip>
-              </configuration>
               <goals>
                 <goal>check</goal>
               </goals>