diff --git a/build-config/pom.xml b/build-config/pom.xml new file mode 100644 index 000000000..ffa18cd1c --- /dev/null +++ b/build-config/pom.xml @@ -0,0 +1,37 @@ + + + + 4.0.0 + + + org.mapstruct + mapstruct-parent + 0.1.0-SNAPSHOT + ../parent/pom.xml + + + mapstruct-build-config + jar + MapStruct Build Configuration + diff --git a/build-config/src/main/resources/build-config/checkstyle.xml b/build-config/src/main/resources/build-config/checkstyle.xml new file mode 100644 index 000000000..3d58490e4 --- /dev/null +++ b/build-config/src/main/resources/build-config/checkstyle.xml @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/pom.xml b/core/pom.xml index 79703f38d..ace473810 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -47,4 +47,22 @@ test + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + check-style + verify + + checkstyle + + + + + + diff --git a/integrationtest/pom.xml b/integrationtest/pom.xml index d8f773257..6458f054c 100644 --- a/integrationtest/pom.xml +++ b/integrationtest/pom.xml @@ -92,6 +92,19 @@ true + + org.apache.maven.plugins + maven-checkstyle-plugin + + + check-style + verify + + checkstyle + + + + diff --git a/parent/pom.xml b/parent/pom.xml index 6cae38d52..24a31fd3b 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -139,6 +139,25 @@ maven-assembly-plugin 2.4 + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.10 + + build-config/checkstyle.xml + true + true + error + true + + + + ${project.groupId} + mapstruct-build-config + ${project.version} + + + org.apache.maven.plugins maven-clean-plugin @@ -276,6 +295,7 @@ true .idea/** + **/checkstyle.xml copyright.txt **/license.txt **/mapstruct.xml diff --git a/pom.xml b/pom.xml index 273a52389..7dc56a80e 100644 --- a/pom.xml +++ b/pom.xml @@ -38,6 +38,7 @@ parent + build-config core processor integrationtest diff --git a/processor/pom.xml b/processor/pom.xml index eb4620386..4c560011c 100644 --- a/processor/pom.xml +++ b/processor/pom.xml @@ -136,6 +136,19 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + + + check-style + verify + + checkstyle + + + +