AMBARI-19158. Plugin configuration ignored when directly running checkstyle goals (Attila Doroszlai via oleewere)
Change-Id: Iaf65354eec0adfcf9a2dc7bb0cdb1356f81099b9 Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c2a4fa64 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c2a4fa64 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c2a4fa64 Branch: refs/heads/branch-2.5 Commit: c2a4fa64db2b148b5a174fb936120a3239a6271c Parents: 0c89587 Author: Attila Doroszlai <[email protected]> Authored: Mon Dec 12 16:55:24 2016 +0100 Committer: oleewere <[email protected]> Committed: Mon Dec 12 16:59:53 2016 +0100 ---------------------------------------------------------------------- ambari-project/pom.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c2a4fa64/ambari-project/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml index 52c9992..7ae58f5 100644 --- a/ambari-project/pom.xml +++ b/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>
