You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pl...@apache.org on 2015/07/30 08:24:52 UTC
[45/50] [abbrv] directory-kerby git commit: Re-enable checkstyle
checks. Configure Eclipse m2e.
Re-enable checkstyle checks. Configure Eclipse m2e.
Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/a16b9336
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/a16b9336
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/a16b9336
Branch: refs/heads/pkinit-support
Commit: a16b9336d14a9b2099edef3da6f6f8ab0115c734
Parents: b5d3809
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
Authored: Sun Jul 26 21:36:13 2015 +0200
Committer: Stefan Seelmann <ma...@stefan-seelmann.de>
Committed: Sun Jul 26 21:36:13 2015 +0200
----------------------------------------------------------------------
pom.xml | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 58 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/a16b9336/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1ef5bc8..c1d9cc6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -219,10 +219,65 @@
<configLocation>${checkstyle.dir}/kerby-checkstyle.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<encoding>UTF-8</encoding>
- <failOnViolation>false</failOnViolation>
+ <failOnViolation>true</failOnViolation>
</configuration>
+ <executions>
+ <execution>
+ <id>validate</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
+ <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>
+ org.apache.maven.plugins
+ </groupId>
+ <artifactId>
+ maven-pmd-plugin
+ </artifactId>
+ <versionRange>[3.4,)</versionRange>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>
+ org.apache.maven.plugins
+ </groupId>
+ <artifactId>
+ maven-checkstyle-plugin
+ </artifactId>
+ <versionRange>[2.15,)</versionRange>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
@@ -275,7 +330,7 @@
</properties>
</profile>
<profile>
- <id>activate-in-module</id>
+ <id>activate-checkstyle-in-module</id>
<activation>
<file>
<exists>${basedir}/../docs/kerby-checkstyle.xml</exists>
@@ -286,7 +341,7 @@
</properties>
</profile>
<profile>
- <id>activate-in-submodule</id>
+ <id>activate-checkstyle-in-submodule</id>
<activation>
<file>
<exists>${basedir}/../../docs/kerby-checkstyle.xml</exists>