diff --git a/README.adoc b/README.adoc index 2d204d1..63a6090 100644 --- a/README.adoc +++ b/README.adoc @@ -211,6 +211,57 @@ Go to `File` -> `Settings` -> `Other settings` -> `Checkstyle`. There click on t IMPORTANT: Remember to set the `Scan Scope` to `All sources` since we apply checkstyle rules for production and test sources. +=== Duplicate Finder + +Spring Cloud Build brings along the `basepom:duplicate-finder-maven-plugin`, that enables flagging duplicate and conflicting classes and resources on the java classpath. + +==== Duplicate Finder configuration + +Duplicate finder is *enabled by default* and will run in the `verify` phase of your Maven build, but it will only take effect in your project if you add the `duplicate-finder-maven-plugin` to the `build` section of the projecst's `pom.xml`. + +.pom.xml +[source,xml] +---- + + + + org.basepom.maven + duplicate-finder-maven-plugin + + + +---- + +For other properties, we have set defaults as listed in the https://github.com/basepom/duplicate-finder-maven-plugin/wiki[plugin documentation]. + +You can easily override them but setting the value of the selected property prefixed with `duplicate-finder-maven-plugin`. For example, set `duplicate-finder-maven-plugin.skip` to `true` in order to skip duplicates check in your build. + +If you need to add `ignoredClassPatterns` or `ignoredResourcePatterns` to your setup, make sure to add them in the plugin configuration section of your project: + +[source,xml] +---- + + + + org.basepom.maven + duplicate-finder-maven-plugin + + + org.joda.time.base.BaseDateTime + .*module-info + + + changelog.txt + + + + + + + +---- + + == Building and Deploying Since there is no code to compile in the starters they should do not need to compile, but a compiler has to be available because they are built and deployed as JAR artifacts. To install locally: diff --git a/docs/pom.xml b/docs/pom.xml index 607e5ae..894e183 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -6,7 +6,7 @@ org.springframework.cloud spring-cloud-starter-build - 2020.0.5-SNAPSHOT + 2020.0.5 pom Spring Cloud Starter Docs diff --git a/pom.xml b/pom.xml index 3d12d78..452ffc0 100644 --- a/pom.xml +++ b/pom.xml @@ -6,11 +6,11 @@ pom Spring Cloud Starter Build Spring Cloud Starter Build - 2020.0.5-SNAPSHOT + 2020.0.5 org.springframework.cloud spring-cloud-build - 3.0.5-SNAPSHOT + 3.0.5 diff --git a/spring-cloud-dependencies/pom.xml b/spring-cloud-dependencies/pom.xml index a0cedee..14e5cf7 100644 --- a/spring-cloud-dependencies/pom.xml +++ b/spring-cloud-dependencies/pom.xml @@ -5,35 +5,35 @@ org.springframework.cloud spring-cloud-dependencies-parent - 3.0.5-SNAPSHOT + 3.0.5 spring-cloud-dependencies - 2020.0.5-SNAPSHOT + 2020.0.5 spring-cloud-dependencies Spring Cloud Dependencies pom ${basedir}/../.. 3.0.3 - 3.0.5-SNAPSHOT - 3.0.2 - 3.0.5-SNAPSHOT - 2.0.3-SNAPSHOT - 3.0.6-SNAPSHOT - 3.0.5-SNAPSHOT - 3.0.5-SNAPSHOT - 3.1.4 - 3.0.6-SNAPSHOT - 2.0.5-SNAPSHOT - 3.0.5-SNAPSHOT - 3.0.6-SNAPSHOT - 3.0.5-SNAPSHOT - 3.1.4 - 2.3.2 - 3.0.5-SNAPSHOT - 3.0.5-SNAPSHOT - 3.0.3 + 3.0.5 + 3.0.3 + 3.0.5 + 2.0.2 + 3.0.6 + 3.0.4 + 3.0.5 + 3.1.6 + 3.0.6 + 2.0.5 + 3.0.5 + 3.0.6 + 3.0.5 + 3.1.6 + 2.3.5 + 3.0.5 + 3.0.5 + 3.0.4 diff --git a/spring-cloud-starter-parent/pom.xml b/spring-cloud-starter-parent/pom.xml index a4f4df2..eeb2afb 100644 --- a/spring-cloud-starter-parent/pom.xml +++ b/spring-cloud-starter-parent/pom.xml @@ -5,11 +5,11 @@ org.springframework.boot spring-boot-starter-parent - 2.4.11 + 2.4.13 org.springframework.cloud spring-cloud-starter-parent - 2020.0.5-SNAPSHOT + 2020.0.5 spring-cloud-starter-parent Spring Cloud Starter Parent pom @@ -20,7 +20,7 @@ ${basedir}/../.. - 2020.0.5-SNAPSHOT + 2020.0.5 diff --git a/train-docs/pom.xml b/train-docs/pom.xml index a2e944b..1f94c61 100644 --- a/train-docs/pom.xml +++ b/train-docs/pom.xml @@ -6,7 +6,7 @@ org.springframework.cloud spring-cloud-starter-build - 2020.0.5-SNAPSHOT + 2020.0.5 jar Spring Cloud Release Train Docs diff --git a/train-docs/src/test/resources/test/pom.xml b/train-docs/src/test/resources/test/pom.xml index a56c38c..5db8440 100644 --- a/train-docs/src/test/resources/test/pom.xml +++ b/train-docs/src/test/resources/test/pom.xml @@ -5,11 +5,11 @@ org.springframework.cloud spring-cloud-dependencies-parent - 3.0.5-SNAPSHOT + 3.0.5 spring-cloud-dependencies - 2020.0.5-SNAPSHOT + 2020.0.5 spring-cloud-dependencies Spring Cloud Dependencies pom