diff --git a/.springjavaformatconfig b/.springjavaformatconfig new file mode 100644 index 000000000..e69de29bb diff --git a/checkstyle.xml b/checkstyle.xml new file mode 100644 index 000000000..2620b2405 --- /dev/null +++ b/checkstyle.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dc3-api/pom.xml b/dc3-api/pom.xml index 8c6fabc0d..09d071a62 100644 --- a/dc3-api/pom.xml +++ b/dc3-api/pom.xml @@ -117,6 +117,53 @@ org.xolstice.maven.plugins protobuf-maven-plugin + + + io.spring.javaformat + spring-javaformat-maven-plugin + 0.0.47 + + + validate + validate + + validate + + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.1.1 + + + com.puppycrawl.tools + checkstyle + 9.3 + + + io.spring.javaformat + spring-javaformat-checkstyle + 0.0.47 + + + + + checkstyle-validation + validate + true + + ${maven.multiModuleProjectDirectory}/checkstyle.xml + true + + + check + + + + diff --git a/dc3-common/pom.xml b/dc3-common/pom.xml index 3a54dfed8..80bcd0942 100644 --- a/dc3-common/pom.xml +++ b/dc3-common/pom.xml @@ -117,6 +117,58 @@ + + + + + io.spring.javaformat + spring-javaformat-maven-plugin + 0.0.47 + + + validate + validate + + validate + + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.1.1 + + + com.puppycrawl.tools + checkstyle + 9.3 + + + io.spring.javaformat + spring-javaformat-checkstyle + 0.0.47 + + + + + checkstyle-validation + validate + true + + ${maven.multiModuleProjectDirectory}/checkstyle.xml + true + + + check + + + + + + + deploy diff --git a/pom.xml b/pom.xml index 3e40bf15f..282cc814b 100644 --- a/pom.xml +++ b/pom.xml @@ -304,7 +304,7 @@ io.spring.javaformat spring-javaformat-maven-plugin - 0.0.43 + 0.0.47 validate @@ -315,6 +315,38 @@ + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.1.1 + + + com.puppycrawl.tools + checkstyle + 9.3 + + + io.spring.javaformat + spring-javaformat-checkstyle + 0.0.47 + + + + + checkstyle-validation + validate + true + + ${maven.multiModuleProjectDirectory}/checkstyle.xml + true + + + check + + + +