From 8ab3e2322dec10535ccfee78c80d7cd2f73307d1 Mon Sep 17 00:00:00 2001 From: Gary Tierney Date: Wed, 2 Mar 2016 00:48:30 +0000 Subject: [PATCH] Add initial checkstyle rules --- checkstyle.xml | 184 ++++++++++++++++++++++++++++++++++++ pom.xml | 246 +++++++++++++++++++++++++++++++------------------ 2 files changed, 341 insertions(+), 89 deletions(-) create mode 100644 checkstyle.xml diff --git a/checkstyle.xml b/checkstyle.xml new file mode 100644 index 00000000..f1dcf3d4 --- /dev/null +++ b/checkstyle.xml @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 4e28c1c5..d866334f 100644 --- a/pom.xml +++ b/pom.xml @@ -1,106 +1,174 @@ - 4.0.0 - apollo - org.apollo - 0.0.1 - pom + 4.0.0 + apollo + org.apollo + 0.0.1 + pom - Apollo + Apollo - - cache - game - net - util - + + ${session.executionRootDirectory}/checkstyle.xml + - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.5 - - 1.8 - 1.8 - - + + cache + game + net + util + - - org.codehaus.mojo - exec-maven-plugin - 1.4.0 - - org.apollo.Server - - -server - -Xmx750M - - - - - + + - - - org.apache.commons - commons-compress - 1.10 - + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.8 + + + org.apache.maven.shared + maven-shared-jar + 1.1 + + + org.apache.bcel + bcel + + + + + com.google.code.findbugs + bcel-findbugs + 6.0 + + + - - org.jruby - jruby-complete - 9.0.5.0 - + + org.apache.maven.plugins + maven-compiler-plugin + 3.5 + + 1.8 + 1.8 + + - - com.google.guava - guava - 19.0 - + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + org.apollo.Server + + -server + -Xmx750M + + + - - io.netty - netty-all - 4.0.34.Final - compile - + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + + verify-style + process-classes + + check + + + + + true - - com.lambdaworks - scrypt - 1.4.0 - + + + + - - com.mchange - c3p0 - 0.9.5.2 - + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + checkstyle.xml + + + + + checkstyle + + + + + + - - junit - junit - 4.12 - test - + + + org.apache.commons + commons-compress + 1.10 + - - org.powermock - powermock-module-junit4 - 1.6.4 - test - + + org.jruby + jruby-complete + 9.0.5.0 + - - org.powermock - powermock-api-mockito - 1.6.4 - test - - + + com.google.guava + guava + 19.0 + + + + io.netty + netty-all + 4.0.34.Final + compile + + + + com.lambdaworks + scrypt + 1.4.0 + + + + com.mchange + c3p0 + 0.9.5.2 + + + + junit + junit + 4.12 + test + + + + org.powermock + powermock-module-junit4 + 1.6.4 + test + + + + org.powermock + powermock-api-mockito + 1.6.4 + test + + \ No newline at end of file