From 35fc2213cd907c2cf8ec929e5fb3668e9cf402cf Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 31 Dec 2014 18:36:21 +0100 Subject: [PATCH] Adding maven configuration to run check-style and java-format plugins. Right now they are not run automatically until we fix all style issues --- gwtquery-core/pom.xml | 21 ++ .../src/main/code-style/gwt-checkstyle.xml | 228 ++++++++++++++ .../src/main/code-style/gwt-format.xml | 279 ++++++++++++++++++ 3 files changed, 528 insertions(+) create mode 100644 gwtquery-core/src/main/code-style/gwt-checkstyle.xml create mode 100644 gwtquery-core/src/main/code-style/gwt-format.xml diff --git a/gwtquery-core/pom.xml b/gwtquery-core/pom.xml index 24f4f1c4..65aaf451 100644 --- a/gwtquery-core/pom.xml +++ b/gwtquery-core/pom.xml @@ -132,6 +132,27 @@ + + + com.googlecode.maven-java-formatter-plugin + maven-java-formatter-plugin + 0.4 + + src/main/code-style/gwt-format.xml + + src/main/java + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.13 + + src/main/code-style/gwt-checkstyle.xml + + diff --git a/gwtquery-core/src/main/code-style/gwt-checkstyle.xml b/gwtquery-core/src/main/code-style/gwt-checkstyle.xml new file mode 100644 index 00000000..23439683 --- /dev/null +++ b/gwtquery-core/src/main/code-style/gwt-checkstyle.xml @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gwtquery-core/src/main/code-style/gwt-format.xml b/gwtquery-core/src/main/code-style/gwt-format.xml new file mode 100644 index 00000000..b13daa74 --- /dev/null +++ b/gwtquery-core/src/main/code-style/gwt-format.xml @@ -0,0 +1,279 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.5