From aca097fa96b74307820093747bb2367789018273 Mon Sep 17 00:00:00 2001 From: Louis DeJardin Date: Wed, 16 Nov 2011 11:15:42 -0800 Subject: [PATCH 1/2] Adding standard checkstyle.xml rules to config Defaults for maven checkstyle plugin are defined by the plugin as: http://svn.apache.org/viewvc/maven/plugins/tags/maven-checkstyle-plugin-2.8/src/main/resources/config/sun_checks.xml?view=co&revision=1188083&content-type=text%2Fplain --- microsoft-azure-api/pom.xml | 10 +- microsoft-azure-api/src/config/checkstyle.xml | 187 ++++++++++++++++++ 2 files changed, 196 insertions(+), 1 deletion(-) create mode 100644 microsoft-azure-api/src/config/checkstyle.xml diff --git a/microsoft-azure-api/pom.xml b/microsoft-azure-api/pom.xml index b725a1eea6ee1..7cff6a2e1a385 100644 --- a/microsoft-azure-api/pom.xml +++ b/microsoft-azure-api/pom.xml @@ -109,7 +109,15 @@ true - + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.8 + + src/config/checkstyle.xml + + diff --git a/microsoft-azure-api/src/config/checkstyle.xml b/microsoft-azure-api/src/config/checkstyle.xml new file mode 100644 index 0000000000000..655ed45e76079 --- /dev/null +++ b/microsoft-azure-api/src/config/checkstyle.xml @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 865322cbc808ba5024b5791fba219cbe1d314b80 Mon Sep 17 00:00:00 2001 From: Louis DeJardin Date: Wed, 16 Nov 2011 11:17:22 -0800 Subject: [PATCH 2/2] Updating LineLength to validate with same limits as Eclipse settings --- microsoft-azure-api/src/config/checkstyle.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/microsoft-azure-api/src/config/checkstyle.xml b/microsoft-azure-api/src/config/checkstyle.xml index 655ed45e76079..0f628e43c5c52 100644 --- a/microsoft-azure-api/src/config/checkstyle.xml +++ b/microsoft-azure-api/src/config/checkstyle.xml @@ -118,7 +118,9 @@ - + + +