From 1c16811284f7132324b40eee056a46690266b141 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 339ce33..6fd8293 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 de81e0f..008f4ba 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 54c6850..0000000 --- a/resources/checkstyle_suppressions.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/resources/pom.xml b/resources/pom.xml index b1fd20e..b6092b2 100644 --- a/resources/pom.xml +++ b/resources/pom.xml @@ -40,6 +40,13 @@ NOTICE.txt + + resources + ${project.basedir} + + checkstyle.xml + + -- 1.7.12.4 (Apple Git-37)