From 335f5943f40f2e368b5bfdad3e425ba437130092 Mon Sep 17 00:00:00 2001 From: Ignasi Barrera Date: Sun, 30 Jun 2013 18:34:18 +0200 Subject: [PATCH] JCLOUDS-149: Reuse checkstyle configuration --- project/pom.xml | 20 ++++++++++++++++++-- resources/checkstyle.xml | 3 --- resources/checkstyle_suppressions.xml | 27 --------------------------- resources/pom.xml | 7 +++++++ 4 files changed, 25 insertions(+), 32 deletions(-) delete mode 100644 resources/checkstyle_suppressions.xml diff --git a/project/pom.xml b/project/pom.xml index 339ce3329e..6fd82933a1 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -652,11 +652,18 @@ - org.apache.maven.plugins maven-checkstyle-plugin 2.9.1 + + + org.apache.jclouds + jclouds-resources + ${project.version} + + - ../resources/checkstyle.xml + + resources/checkstyle.xml warning @@ -1017,6 +1024,15 @@ + + + maven-checkstyle-plugin + 2.9.1 + + ../resources/checkstyle.xml + warning + + diff --git a/resources/checkstyle.xml b/resources/checkstyle.xml index de81e0f3d1..008f4ba91e 100644 --- a/resources/checkstyle.xml +++ b/resources/checkstyle.xml @@ -22,9 +22,6 @@ - - - diff --git a/resources/checkstyle_suppressions.xml b/resources/checkstyle_suppressions.xml deleted file mode 100644 index 54c685015c..0000000000 --- a/resources/checkstyle_suppressions.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/resources/pom.xml b/resources/pom.xml index b1fd20e5a4..b6092b25ab 100644 --- a/resources/pom.xml +++ b/resources/pom.xml @@ -40,6 +40,13 @@ NOTICE.txt + + resources + ${project.basedir} + + checkstyle.xml + +