diff --git a/pom.xml b/pom.xml index 23ae2bc86..db5c59553 100644 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,7 @@ spring-cloud-stream-reactive spring-cloud-stream-schema spring-cloud-stream-schema-server + spring-cloud-stream-tools @@ -63,7 +64,7 @@ com.puppycrawl.tools checkstyle - 6.17 + 7.1 @@ -87,14 +88,20 @@ org.apache.maven.plugins maven-checkstyle-plugin + + + org.springframework.cloud + spring-cloud-stream-tools + ${project.version} + + checkstyle-validation validate - src/checkstyle/checkstyle.xml - src/checkstyle/checkstyle-header.txt - checkstyle.build.directory=${project.build.directory} + checkstyle.xml + checkstyle-header.txt UTF-8 true true diff --git a/spring-cloud-stream-dependencies/pom.xml b/spring-cloud-stream-dependencies/pom.xml index 09dc98076..f6a37fbe9 100644 --- a/spring-cloud-stream-dependencies/pom.xml +++ b/spring-cloud-stream-dependencies/pom.xml @@ -26,6 +26,11 @@ spring-cloud-stream 1.1.0.BUILD-SNAPSHOT + + org.springframework.cloud + spring-cloud-stream-build-tools + 1.1.0.BUILD-SNAPSHOT + org.springframework.cloud spring-cloud-stream-codec diff --git a/spring-cloud-stream-tools/pom.xml b/spring-cloud-stream-tools/pom.xml new file mode 100644 index 000000000..63d8b4632 --- /dev/null +++ b/spring-cloud-stream-tools/pom.xml @@ -0,0 +1,19 @@ + + + 4.0.0 + + org.springframework.cloud + spring-cloud-build + 1.1.2.BUILD-SNAPSHOT + + + + spring-cloud-stream-tools + 1.1.0.BUILD-SNAPSHOT + spring-cloud-stream-build-tools + Spring Cloud Stream Build Tools + + + \ No newline at end of file diff --git a/src/checkstyle/checkstyle-header.txt b/spring-cloud-stream-tools/src/main/resources/checkstyle-header.txt similarity index 100% rename from src/checkstyle/checkstyle-header.txt rename to spring-cloud-stream-tools/src/main/resources/checkstyle-header.txt diff --git a/src/checkstyle/checkstyle.xml b/spring-cloud-stream-tools/src/main/resources/checkstyle.xml similarity index 98% rename from src/checkstyle/checkstyle.xml rename to spring-cloud-stream-tools/src/main/resources/checkstyle.xml index c4baccbb4..2d7db87b2 100644 --- a/src/checkstyle/checkstyle.xml +++ b/spring-cloud-stream-tools/src/main/resources/checkstyle.xml @@ -5,7 +5,7 @@ - +