diff --git a/.gitignore b/.gitignore index 4ddab87..14f50dd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,5 @@ _site/ .factorypath .vscode/ .flattened-pom.xml +.sdkmanrc diff --git a/README.adoc b/README.adoc index d009883..3bedac6 100644 --- a/README.adoc +++ b/README.adoc @@ -4,6 +4,7 @@ Manual changes to this file will be lost when it is generated again. Edit the files in the src/main/asciidoc/ directory instead. //// + = Spring Cloud Bus :doctype: book :idprefix: @@ -123,6 +124,11 @@ https://eclipse.org[Eclipse] when working with the code. We use the https://eclipse.org/m2e/[m2eclipse] eclipse plugin for maven support. Other IDEs and tools should also work without issue as long as they use Maven 3.3.3 or better. +==== Activate the Spring Maven profile +Spring Cloud projects require the 'spring' Maven profile to be activated to resolve +the spring milestone and snapshot repositories. Use your preferred IDE to set this +profile to be active, or you may experience build errors. + ==== Importing into eclipse with m2eclipse We recommend the https://eclipse.org/m2e/[m2eclipse] eclipse plugin when working with eclipse. If you don't already have m2eclipse installed it is available from the "eclipse @@ -330,4 +336,4 @@ Go to `File` -> `Settings` -> `Other settings` -> `Checkstyle`. There click on t - `checkstyle.suppressions.file` - default suppressions. Please point it to the Spring Cloud Build's, `spring-cloud-build-tools/src/checkstyle/checkstyle-suppressions.xml` file either in your cloned repo or via the `https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/spring-cloud-build-tools/src/checkstyle/checkstyle-suppressions.xml` URL. - `checkstyle.additional.suppressions.file` - this variable corresponds to suppressions in your local project. E.g. you're working on `spring-cloud-contract`. Then point to the `project-root/src/checkstyle/checkstyle-suppressions.xml` folder. Example for `spring-cloud-contract` would be: `/home/username/spring-cloud-contract/src/checkstyle/checkstyle-suppressions.xml`. -IMPORTANT: Remember to set the `Scan Scope` to `All sources` since we apply checkstyle rules for production and test sources. \ No newline at end of file +IMPORTANT: Remember to set the `Scan Scope` to `All sources` since we apply checkstyle rules for production and test sources. diff --git a/docs/pom.xml b/docs/pom.xml index 849e662..c8f06a6 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -16,20 +16,9 @@ spring-cloud-bus ${basedir}/.. - 2.1.x,2.2.x spring.cloud.bus.* + deploy - - - - - maven-deploy-plugin - - true - - - - ${project.groupId} @@ -70,8 +59,7 @@ maven-antrun-plugin - org.codehaus.mojo - build-helper-maven-plugin + maven-deploy-plugin diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc index 5465ff5..82517ec 100644 --- a/docs/src/main/asciidoc/_configprops.adoc +++ b/docs/src/main/asciidoc/_configprops.adoc @@ -10,4 +10,4 @@ |spring.cloud.bus.refresh.enabled | true | Flag to switch off refresh events (default on). |spring.cloud.bus.trace.enabled | false | Flag to switch on tracing of acks (default off). -|=== +|=== \ No newline at end of file