[java-metadata-aggregator] branch master updated: JPAR-72 make Checkstyle configuration local instead of remote

Ian Young ian at iay.org.uk
Wed Oct 21 07:21:07 EDT 2015


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository java-metadata-aggregator.

The following commit(s) were added to refs/heads/master by this push:
       new  04a18ca   JPAR-72 make Checkstyle configuration local instead of remote
04a18ca is described below

commit 04a18ca24cd4502371a694134ea37a675a1880e1
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Wed Oct 21 12:21:21 2015 +0100

    JPAR-72 make Checkstyle configuration local instead of remote
---
 aggregator-cli/.checkstyle                         |   2 +-
 aggregator-parent/pom.xml                          |   2 +-
 .../resources/checkstyle/checkstyle.xml            | 109 +++++++++++++++++++++
 aggregator-pipeline/.checkstyle                    |   2 +-
 aggregator-web-service/.checkstyle                 |   2 +-
 5 files changed, 113 insertions(+), 4 deletions(-)

diff --git a/aggregator-cli/.checkstyle b/aggregator-cli/.checkstyle
index 7587030..65ff627 100644
--- a/aggregator-cli/.checkstyle
+++ b/aggregator-cli/.checkstyle
@@ -2,7 +2,7 @@
 
 <fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
 
-  <local-check-config name="Shibboleth Checkstyle" location="https://svn.shibboleth.net/java-parent-projects/java-parent-project-v3/trunk/resources/checkstyle/checkstyle.xml" type="remote" description="">
+  <local-check-config name="Shibboleth Checkstyle" location="/aggregator-parent/resources/checkstyle/checkstyle.xml" type="project" description="">
     <additional-data name="cache-file" value="true"/>
     <additional-data name="cache-props-file-location" value="null_1312636288299_cache.properties"/>
     <additional-data name="cache-file-location" value="null_1312636288299_cache.xml"/>
diff --git a/aggregator-parent/pom.xml b/aggregator-parent/pom.xml
index cd5cdb8..8b00d1b 100644
--- a/aggregator-parent/pom.xml
+++ b/aggregator-parent/pom.xml
@@ -33,7 +33,7 @@
     <properties>
         <java-support.version>7.1-SNAPSHOT</java-support.version>
         <spring-extensions.version>5.1-SNAPSHOT</spring-extensions.version>
-        <svn.relative.location>java-metadata-aggregator</svn.relative.location>
+        <checkstyle.configLocation>${project.basedir}/../aggregator-parent/resources/checkstyle/checkstyle.xml</checkstyle.configLocation>
     </properties>
 
     <repositories>
diff --git a/aggregator-parent/resources/checkstyle/checkstyle.xml b/aggregator-parent/resources/checkstyle/checkstyle.xml
new file mode 100644
index 0000000..5565264
--- /dev/null
+++ b/aggregator-parent/resources/checkstyle/checkstyle.xml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
+
+<!--
+    This configuration file was written by the eclipse-cs plugin configuration editor
+-->
+<!--
+    Checkstyle-Configuration: Shibboleth Checkstyle
+    Description: none
+-->
+<module name="Checker">
+  <property name="severity" value="warning"/>
+  <module name="TreeWalker">
+    <module name="FileContentsHolder"/>
+    <property name="tabWidth" value="4"/>
+    <module name="JavadocMethod">
+      <property name="allowThrowsTagsForSubclasses" value="true"/>
+      <property name="allowUndeclaredRTE" value="true"/>
+    </module>
+    <module name="JavadocType">
+        <property name="allowUnknownTags" value="true"/>
+    </module>
+    <module name="JavadocVariable"/>
+    <module name="JavadocStyle">
+      <property name="checkEmptyJavadoc" value="true"/>
+    </module>
+    <module name="ConstantName"/>
+    <module name="LocalFinalVariableName"/>
+    <module name="LocalVariableName"/>
+    <module name="MemberName"/>
+    <module name="MethodName"/>
+    <module name="PackageName"/>
+    <module name="ParameterName"/>
+    <module name="StaticVariableName"/>
+    <module name="TypeName"/>
+    <module name="AvoidStarImport"/>
+    <module name="IllegalImport"/>
+    <module name="RedundantImport"/>
+    <module name="UnusedImports"/>
+    <module name="LineLength">
+      <property name="max" value="120"/>
+    </module>
+    <module name="MethodLength">
+      <property name="max" value="70"/>
+    </module>
+    <module name="ParameterNumber">
+      <property name="max" value="5"/>
+    </module>
+    <module name="EmptyForIteratorPad"/>
+    <module name="MethodParamPad"/>
+    <module name="ModifierOrder"/>
+    <module name="AvoidNestedBlocks"/>
+    <module name="LeftCurly"/>
+    <module name="NeedBraces"/>
+    <module name="RightCurly"/>
+    <module name="EmptyStatement"/>
+    <module name="EqualsHashCode"/>
+    <module name="HiddenField"/>
+    <module name="IllegalInstantiation"/>
+    <module name="InnerAssignment"/>
+    <module name="MissingSwitchDefault"/>
+    <module name="SimplifyBooleanExpression"/>
+    <module name="SimplifyBooleanReturn"/>
+    <module name="FinalClass"/>
+    <module name="HideUtilityClassConstructor"/>
+    <module name="VisibilityModifier"/>
+    <module name="ArrayTypeStyle"/>
+    <module name="UpperEll"/>
+    <module name="AnonInnerLength"/>
+    <module name="EmptyForInitializerPad"/>
+    <module name="CovariantEquals"/>
+    <module name="DefaultComesLast"/>
+    <module name="DeclarationOrder"/>
+    <module name="ExplicitInitialization"/>
+    <module name="FallThrough"/>
+    <module name="IllegalThrows"/>
+    <module name="MultipleVariableDeclarations"/>
+    <module name="PackageDeclaration"/>
+    <module name="ParameterAssignment"/>
+    <module name="ReturnCount">
+      <property name="max" value="8"/>
+    </module>
+    <module name="StringLiteralEquality"/>
+    <module name="SuperFinalize"/>
+    <module name="ArrayTrailingComma"/>
+    <module name="UnnecessaryParentheses"/>
+    <module name="MutableException"/>
+    <module name="ThrowsCount">
+      <property name="max" value="3"/>
+    </module>
+    <module name="CyclomaticComplexity"/>
+    <module name="TrailingComment"/>
+    <module name="EqualsAvoidNull"/>
+    <module name="ModifiedControlVariable"/>
+  </module>
+  <module name="SuppressionCommentFilter">
+    <property name="offCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+OFF\b"/>
+    <property name="onCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+ON\b"/>
+    <property name="checkFormat" value="$1"/>
+  </module>
+  <module name="FileTabCharacter"/>
+  <module name="FileLength">
+    <property name="max" value="1000"/>
+  </module>
+  <module name="Header">
+    <property name="header" value="/*\n * Licensed to the University Corporation for Advanced Internet Development, \n * Inc. (UCAID) under one or more contributor license agreements.  See the \n * NOTICE file distributed with this work for additional information regarding\n * copyright ownership. The UCAID licenses this file to You under the Apache \n * License, Version 2.0 (the "License"); you may not use this file except in \n * compliance with the License.  You may obtain a [...]
+  </module>
+  <module name="JavadocPackage"/>
+</module>
\ No newline at end of file
diff --git a/aggregator-pipeline/.checkstyle b/aggregator-pipeline/.checkstyle
index 7587030..65ff627 100644
--- a/aggregator-pipeline/.checkstyle
+++ b/aggregator-pipeline/.checkstyle
@@ -2,7 +2,7 @@
 
 <fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
 
-  <local-check-config name="Shibboleth Checkstyle" location="https://svn.shibboleth.net/java-parent-projects/java-parent-project-v3/trunk/resources/checkstyle/checkstyle.xml" type="remote" description="">
+  <local-check-config name="Shibboleth Checkstyle" location="/aggregator-parent/resources/checkstyle/checkstyle.xml" type="project" description="">
     <additional-data name="cache-file" value="true"/>
     <additional-data name="cache-props-file-location" value="null_1312636288299_cache.properties"/>
     <additional-data name="cache-file-location" value="null_1312636288299_cache.xml"/>
diff --git a/aggregator-web-service/.checkstyle b/aggregator-web-service/.checkstyle
index 7587030..65ff627 100644
--- a/aggregator-web-service/.checkstyle
+++ b/aggregator-web-service/.checkstyle
@@ -2,7 +2,7 @@
 
 <fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
 
-  <local-check-config name="Shibboleth Checkstyle" location="https://svn.shibboleth.net/java-parent-projects/java-parent-project-v3/trunk/resources/checkstyle/checkstyle.xml" type="remote" description="">
+  <local-check-config name="Shibboleth Checkstyle" location="/aggregator-parent/resources/checkstyle/checkstyle.xml" type="project" description="">
     <additional-data name="cache-file" value="true"/>
     <additional-data name="cache-props-file-location" value="null_1312636288299_cache.properties"/>
     <additional-data name="cache-file-location" value="null_1312636288299_cache.xml"/>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list