diff --git a/parents/checkstyle/pom.xml b/parents/checkstyle/pom.xml new file mode 100644 index 00000000000..245631bc2ba --- /dev/null +++ b/parents/checkstyle/pom.xml @@ -0,0 +1,7 @@ + + 4.0.0 + Apache CloudStack Checkstyle Configuration + org.apache.cloudstack + checkstyle + 0.0.1-SNAPSHOT + diff --git a/parents/checkstyle/src/main/resources/tooling/checkstyle.xml b/parents/checkstyle/src/main/resources/tooling/checkstyle.xml new file mode 100644 index 00000000000..84653839754 --- /dev/null +++ b/parents/checkstyle/src/main/resources/tooling/checkstyle.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + diff --git a/plugins/network-elements/nicira-nvp/pom.xml b/plugins/network-elements/nicira-nvp/pom.xml index 5030ddf02c5..5c65e6a8180 100644 --- a/plugins/network-elements/nicira-nvp/pom.xml +++ b/plugins/network-elements/nicira-nvp/pom.xml @@ -26,4 +26,39 @@ 4.3.0-SNAPSHOT ../../pom.xml + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${cs.checkstyle.version} + + + org.apache.cloudstack + checkstyle + 0.0.1-SNAPSHOT + + + + + process-sources + + check + + + + + true + tooling/checkstyle.xml + true + true + ${project.basedir} + **\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat + **\/target\/,**\/bin\/ + + + + + diff --git a/pom.xml b/pom.xml index 82ee75d95e1..b8b2a37d3b7 100644 --- a/pom.xml +++ b/pom.xml @@ -86,6 +86,7 @@ target 1.0.10 4.0.0 + 2.10 @@ -174,6 +175,7 @@ services maven-standard quickcloud + parents/checkstyle