diff --git a/checkstyle/pom.xml b/checkstyle/pom.xml new file mode 100644 index 000000000..048745e3c --- /dev/null +++ b/checkstyle/pom.xml @@ -0,0 +1,7 @@ + + 4.0.0 + org.vivoweb + checkstyle + 1.11.0-SNAPSHOT + Vitro Checkstyle + diff --git a/checkstyle/src/main/resources/vitro-checkstyle/checkstyle-suppressions.xml b/checkstyle/src/main/resources/vitro-checkstyle/checkstyle-suppressions.xml new file mode 100644 index 000000000..ad64ea835 --- /dev/null +++ b/checkstyle/src/main/resources/vitro-checkstyle/checkstyle-suppressions.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 2274ee995..8d35b7faf 100644 --- a/pom.xml +++ b/pom.xml @@ -64,6 +64,7 @@ + checkstyle api dependencies webapp @@ -267,6 +268,54 @@ ${stagingBase}/vitro/${project.version} + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.0.0 + + + verify-style + + verify + + check + + + + + + duraspace-checkstyle/checkstyle.xml + + + vitro-checkstyle/checkstyle-suppressions.xml + + UTF-8 + true + true + true + true + + + + + com.puppycrawl.tools + checkstyle + 8.18 + + + org.duraspace + codestyle + 1.0.0 + + + org.vivoweb + checkstyle + 1.11.0-SNAPSHOT + + +