Compare commits

..
59 Commits
Author SHA1 Message Date
spring-builds cce21d733a Update SNAPSHOT to 5.0.0-M2 2025-09-10 19:39:51 +00:00
spring-builds e5fba40e91 Bumping versions 2025-09-09 15:24:39 +00:00
Ryan Baxter 260a484907 Merge branch '4.3.x' 2025-08-29 10:15:36 -04:00
Ryan Baxter 1b02ebce70 Merge branch '4.3.x' 2025-08-29 09:43:10 -04:00
Ryan Baxter 4c3c2b04c2 Merge pull request #528 from spring-cloud/dependabot/github_actions/main/actions/setup-java-5
Bump actions/setup-java from 4 to 5
2025-08-25 14:17:41 -04:00
dependabot[bot] 73fa187858 Bump actions/setup-java from 4 to 5
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 16:23:13 +00:00
Ryan Baxter bd3030e331 Building 4.3.x branch
Signed-off-by: Ryan Baxter <ryan.baxter@broadcom.com>
2025-08-22 04:52:32 -07:00
Ryan Baxter c8a64923c9 Merge pull request #524 from spring-cloud/dependabot/github_actions/main/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-08-18 10:45:57 -04:00
dependabot[bot] 242506d2e7 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 14:44:08 +00:00
Ryan Baxter 3840b90ee2 Merge pull request #523 from spring-cloud/dependabot/npm_and_yarn/docs/main/antora/collector-extension-1.0.2
Bump @antora/collector-extension from 1.0.1 to 1.0.2 in /docs
2025-08-18 10:17:11 -04:00
dependabot[bot] 226729c4d1 Bump @antora/collector-extension from 1.0.1 to 1.0.2 in /docs
---
updated-dependencies:
- dependency-name: "@antora/collector-extension"
  dependency-version: 1.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 14:15:46 +00:00
Ryan Baxter f0420a5f5c Merge pull request #514 from spring-cloud/dependabot/npm_and_yarn/docs/main/antora-3.2.0-alpha.9
Bump antora from 3.2.0-alpha.8 to 3.2.0-alpha.9 in /docs
2025-08-18 10:11:53 -04:00
Ryan Baxter fdcc3204f5 Merge pull request #518 from spring-cloud/dependabot/maven/main/org.apache.maven.plugins-maven-javadoc-plugin-3.11.3
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.11.3
2025-08-18 10:09:44 -04:00
dependabot[bot] 23a0f0de88 Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.11.3
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.11.2 to 3.11.3.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.11.2...maven-javadoc-plugin-3.11.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-version: 3.11.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 13:17:23 +00:00
dependabot[bot] f3054cb44b Bump antora from 3.2.0-alpha.8 to 3.2.0-alpha.9 in /docs
Bumps [antora](https://gitlab.com/antora/antora) from 3.2.0-alpha.8 to 3.2.0-alpha.9.
- [Changelog](https://gitlab.com/antora/antora/blob/main/CHANGELOG.adoc)
- [Commits](https://gitlab.com/antora/antora/compare/v3.2.0-alpha.8...v3.2.0-alpha.9)

---
updated-dependencies:
- dependency-name: antora
  dependency-version: 3.2.0-alpha.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 13:08:23 +00:00
Ryan Baxter d240b2976e Merge pull request #478 from spring-cloud/dependabot/maven/main/org.codehaus.mojo-license-maven-plugin-2.6.0
Bump org.codehaus.mojo:license-maven-plugin from 2.5.0 to 2.6.0
2025-07-31 10:27:18 -04:00
spring-builds 491b522fe2 Bumping versions 2025-07-30 14:59:39 +00:00
Ryan Baxter a3b19676dc Merge pull request #505 from spring-cloud/dependabot/maven/main/org.codehaus.mojo-flatten-maven-plugin-1.7.2
Bump org.codehaus.mojo:flatten-maven-plugin from 1.7.1 to 1.7.2
2025-07-30 08:03:40 -04:00
dependabot[bot] 027907b940 Bump org.codehaus.mojo:flatten-maven-plugin from 1.7.1 to 1.7.2
Bumps [org.codehaus.mojo:flatten-maven-plugin](https://github.com/mojohaus/flatten-maven-plugin) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/mojohaus/flatten-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/flatten-maven-plugin/compare/1.7.1...1.7.2)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:flatten-maven-plugin
  dependency-version: 1.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 09:35:38 +00:00
spring-builds f05ddf5e66 Going back to snapshots 2025-07-29 09:35:02 +00:00
spring-builds 3a54d9b542 Update SNAPSHOT to 5.0.0-M1 2025-07-29 09:33:21 +00:00
Ryan Baxter d010782093 Merge pull request #503 from spring-cloud/dependabot/npm_and_yarn/docs/main/springio/antora-extensions-1.14.7
Bump @springio/antora-extensions from 1.14.6 to 1.14.7 in /docs
2025-07-25 06:20:01 -07:00
dependabot[bot] 1a2db86a6d Bump @springio/antora-extensions from 1.14.6 to 1.14.7 in /docs
Bumps [@springio/antora-extensions](https://github.com/spring-io/antora-extensions) from 1.14.6 to 1.14.7.
- [Changelog](https://github.com/spring-io/antora-extensions/blob/main/CHANGELOG.adoc)
- [Commits](https://github.com/spring-io/antora-extensions/compare/v1.14.6...v1.14.7)

---
updated-dependencies:
- dependency-name: "@springio/antora-extensions"
  dependency-version: 1.14.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 12:16:34 +00:00
Ryan Baxter 88c89f17d6 Removing 4.1.x from dependabot
Signed-off-by: Ryan Baxter <ryan.baxter@broadcom.com>
2025-07-25 05:15:35 -07:00
spring-builds 56397cfae7 Bumping versions 2025-07-24 18:35:51 +00:00
Olga Maciaszek-Sharma ed186d6994 Remove milestone profile. (#499)
Signed-off-by: Olga Maciaszek-Sharma <olga.maciaszek-sharma@broadcom.com>
2025-07-24 10:55:53 +02:00
Ryan Baxter b88d7f4088 Merge pull request #490 from spring-cloud/dependabot/maven/main/org.apache.maven.plugins-maven-gpg-plugin-3.2.8
Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8
2025-07-16 06:26:45 -07:00
dependabot[bot] 7de996d0bb Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8
Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.7 to 3.2.8.
- [Release notes](https://github.com/apache/maven-gpg-plugin/releases)
- [Commits](https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.7...maven-gpg-plugin-3.2.8)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-gpg-plugin
  dependency-version: 3.2.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 13:19:24 +00:00
Ryan Baxter 5bed143ac6 Merge pull request #498 from spring-cloud/dependabot/maven/main/org.apache.maven.plugins-maven-enforcer-plugin-3.6.1
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.5.0 to 3.6.1
2025-07-16 06:18:23 -07:00
dependabot[bot] 2dc91c7d6a Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.5.0 to 3.6.1
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.5.0...enforcer-3.6.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-version: 3.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 09:33:54 +00:00
Ryan Baxter 6a741601e0 Merge pull request #496 from spring-cloud/dependabot/npm_and_yarn/docs/main/springio/antora-extensions-1.14.6
Bump @springio/antora-extensions from 1.14.4 to 1.14.6 in /docs
2025-07-14 12:13:08 -07:00
dependabot[bot] 2c2e627581 Bump @springio/antora-extensions from 1.14.4 to 1.14.6 in /docs
Bumps [@springio/antora-extensions](https://github.com/spring-io/antora-extensions) from 1.14.4 to 1.14.6.
- [Changelog](https://github.com/spring-io/antora-extensions/blob/main/CHANGELOG.adoc)
- [Commits](https://github.com/spring-io/antora-extensions/compare/v1.14.4...v1.14.6)

---
updated-dependencies:
- dependency-name: "@springio/antora-extensions"
  dependency-version: 1.14.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-14 11:35:54 +00:00
dependabot[bot] 3f2702432e Bump org.codehaus.mojo:license-maven-plugin from 2.5.0 to 2.6.0
Bumps [org.codehaus.mojo:license-maven-plugin](https://github.com/mojohaus/license-maven-plugin) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/mojohaus/license-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/license-maven-plugin/compare/2.5.0...2.6.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:license-maven-plugin
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 14:58:35 +00:00
Ryan Baxter 6723fd8568 Merge pull request #477 from spring-cloud/dependabot/maven/main/org.sonatype.central-central-publishing-maven-plugin-0.8.0
Bump org.sonatype.central:central-publishing-maven-plugin from 0.7.0 to 0.8.0
2025-06-23 10:57:57 -04:00
Ryan Baxter 68e9e1d629 Merge pull request #479 from spring-cloud/dependabot/maven/main/org.codehaus.mojo-flatten-maven-plugin-1.7.1
Bump org.codehaus.mojo:flatten-maven-plugin from 1.7.0 to 1.7.1
2025-06-23 10:56:23 -04:00
Ryan Baxter d5569fe98a Merge pull request #480 from spring-cloud/dependabot/maven/main/io.spring.javaformat-spring-javaformat-checkstyle-0.0.47
Bump io.spring.javaformat:spring-javaformat-checkstyle from 0.0.46 to 0.0.47
2025-06-23 10:55:53 -04:00
Ryan Baxter 455888c740 Merge pull request #482 from spring-cloud/dependabot/maven/main/io.spring.javaformat-spring-javaformat-maven-plugin-0.0.47
Bump io.spring.javaformat:spring-javaformat-maven-plugin from 0.0.46 to 0.0.47
2025-06-23 08:09:53 -04:00
dependabot[bot] 763fb8e08d Bump io.spring.javaformat:spring-javaformat-maven-plugin
Bumps [io.spring.javaformat:spring-javaformat-maven-plugin](https://github.com/spring-io/spring-javaformat) from 0.0.46 to 0.0.47.
- [Release notes](https://github.com/spring-io/spring-javaformat/releases)
- [Commits](https://github.com/spring-io/spring-javaformat/compare/v0.0.46...v0.0.47)

---
updated-dependencies:
- dependency-name: io.spring.javaformat:spring-javaformat-maven-plugin
  dependency-version: 0.0.47
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 11:35:07 +00:00
dependabot[bot] 377d84c23e Bump io.spring.javaformat:spring-javaformat-checkstyle
Bumps [io.spring.javaformat:spring-javaformat-checkstyle](https://github.com/spring-io/spring-javaformat) from 0.0.46 to 0.0.47.
- [Release notes](https://github.com/spring-io/spring-javaformat/releases)
- [Commits](https://github.com/spring-io/spring-javaformat/compare/v0.0.46...v0.0.47)

---
updated-dependencies:
- dependency-name: io.spring.javaformat:spring-javaformat-checkstyle
  dependency-version: 0.0.47
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 11:27:35 +00:00
dependabot[bot] 24f6a1bc36 Bump org.codehaus.mojo:flatten-maven-plugin from 1.7.0 to 1.7.1
Bumps [org.codehaus.mojo:flatten-maven-plugin](https://github.com/mojohaus/flatten-maven-plugin) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/mojohaus/flatten-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/flatten-maven-plugin/compare/1.7.0...1.7.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:flatten-maven-plugin
  dependency-version: 1.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 11:27:03 +00:00
dependabot[bot] 280aded44a Bump org.sonatype.central:central-publishing-maven-plugin
Bumps [org.sonatype.central:central-publishing-maven-plugin](https://github.com/sonatype/central-publishing-maven-plugin) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/sonatype/central-publishing-maven-plugin/commits)

---
updated-dependencies:
- dependency-name: org.sonatype.central:central-publishing-maven-plugin
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 11:26:37 +00:00
Ryan Baxter 5a75ef9565 Merge branch '4.3.x' 2025-06-20 20:16:58 -04:00
spring-builds a2fab69313 Bumping versions 2025-06-16 23:18:34 +00:00
Ryan Baxter 7b304b0742 Merge pull request #473 from ngocnhan-tran1996/document
Polish document
2025-06-14 08:38:46 -04:00
Tran Ngoc Nhan ea9a1a8012 Fix typo
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-06-14 17:49:06 +07:00
Tran Ngoc Nhan 527ca9458e Update ascii style
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-06-14 17:49:06 +07:00
Ryan Baxter 244409c6ad Merge pull request #472 from spring-cloud/dependabot/maven/main/org.apache.maven.plugins-maven-jxr-plugin-3.6.0
Bump org.apache.maven.plugins:maven-jxr-plugin from 3.4.0 to 3.6.0
2025-06-12 08:50:13 -04:00
dependabot[bot] 028e6add09 Bump org.apache.maven.plugins:maven-jxr-plugin from 3.4.0 to 3.6.0
Bumps [org.apache.maven.plugins:maven-jxr-plugin](https://github.com/apache/maven-jxr) from 3.4.0 to 3.6.0.
- [Release notes](https://github.com/apache/maven-jxr/releases)
- [Commits](https://github.com/apache/maven-jxr/compare/jxr-3.4.0...jxr-3.6.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-jxr-plugin
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:07:12 +00:00
Ryan Baxter 499c796fcc Merge branch '4.3.x' 2025-06-11 09:37:40 -04:00
Ryan Baxter 5db0298afc Merge pull request #471 from ngocnhan-tran1996/update-sts-link
Update sts link
2025-06-10 10:30:31 -04:00
Tran Ngoc Nhan 7320a7fdf2 Update sts link
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-06-10 21:15:12 +07:00
spring-builds 405640768c Bumping versions 2025-06-07 23:17:35 +00:00
spring-builds 485ba67ec2 Bumping versions 2025-06-05 23:17:40 +00:00
spencergibb d080202dc9 Updates dependabot.yml to add 4.3.x branch 2025-06-05 12:15:37 -04:00
spencergibb d6404ef479 Merge branch '5.0.x' 2025-06-05 12:14:02 -04:00
spring-builds 80069b1f94 Bumping versions 2025-06-05 12:06:08 +00:00
spring-builds b1c65bb3df Bumping versions 2025-06-01 02:21:02 +00:00
spring-builds 2187262701 Bumping versions 2025-05-25 02:20:54 +00:00
Olga Maciaszek-Sharma 33613dda44 Init 5.0.x. Upgrade to Boot 4.0.0-SNAPSHOT. (#446)
Signed-off-by: Olga Maciaszek-Sharma <olga.maciaszek-sharma@broadcom.com>
2025-05-13 16:23:26 +02:00
13 changed files with 72 additions and 166 deletions
+7 -6
View File
@@ -13,12 +13,12 @@ updates:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "4.2.x"
target-branch: "4.3.x"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "4.1.x"
target-branch: "4.2.x"
schedule:
interval: "weekly"
- package-ecosystem: maven
@@ -39,12 +39,13 @@ updates:
directory: /
schedule:
interval: daily
target-branch: 4.1.x
target-branch: 4.3.x
ignore:
# IDE specific dependency
- dependency-name: "org.eclipse.m2e:lifecycle-mapping"
# JRuby updates are causing docs generation to fail
- dependency-name: "org.jruby:jruby-complete"
# only upgrade by minor or patch
- dependency-name: "*"
update-types:
- version-update:semver-major
@@ -58,7 +59,7 @@ updates:
# IDE specific dependency
- dependency-name: "org.eclipse.m2e:lifecycle-mapping"
# JRuby updates are causing docs generation to fail
- dependency-name: "org.jruby:jruby-complete"
- dependency-name: "org.jruby:jruby-complete"
# only upgrade by minor or patch
- dependency-name: "*"
update-types:
@@ -75,12 +76,12 @@ updates:
schedule:
interval: weekly
- package-ecosystem: npm
target-branch: 4.2.x
target-branch: 4.3.x
directory: /docs
schedule:
interval: weekly
- package-ecosystem: npm
target-branch: 4.1.x
target-branch: 4.2.x
directory: /docs
schedule:
interval: weekly
-34
View File
@@ -1,34 +0,0 @@
name: Spring Cloud Build CI Job
on:
push:
branches:
- main
- 4.3.x
- 4.2.x
# Scheduled builds run daily at midnight UTC
schedule:
- cron: '0 0 * * *'
# Manual trigger with optional branch override
workflow_dispatch:
inputs:
branches:
description: "Which branch should be built (can be a comma-separated list of branches)"
required: true
default: '4.3.x'
type: string
jobs:
deploy:
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/deploy.yml@main
with:
branches: ${{ inputs.branches }}
secrets:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
COMMERCIAL_ARTIFACTORY_USERNAME: ${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}
COMMERCIAL_ARTIFACTORY_PASSWORD: ${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
# if: github.repository_owner == 'spring-projects'
steps:
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@v5
with:
ref: docs-build
fetch-depth: 1
+32
View File
@@ -0,0 +1,32 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build
on:
push:
branches: [ main, 4.3.x, 4.2.x]
pull_request:
branches: [ main, 4.3.x, 4.2.x]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: ./mvnw clean install -Pdocs -B -U -Pspring
-9
View File
@@ -1,9 +0,0 @@
name: PR
on:
pull_request:
branches: [ 4.3.x ]
jobs:
build:
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/pr.yml@main
+2 -9
View File
@@ -26,7 +26,7 @@ build succeed, please raise a ticket to get the settings added to
source control.
The projects that require middleware (i.e. Redis) for testing generally
require that a local instance of [Docker](https://www.docker.com/get-started) is installed and running.
require that a local instance of https://www.docker.com/get-started[Docker] is installed and running.
[[documentation]]
== Documentation
@@ -42,17 +42,10 @@ parsing or rendering it, just copying it to `${main.basedir}`
any changes in the README it will then show up after a Maven build as
a modified file in the correct place. Just commit it and push the change.
You can generate the docs site using the following command:
[indent=0]
----
./mvnw -pl docs -P docs antora:antora
----
[[working-with-the-code]]
== Working with the code
If you don't have an IDE preference we would recommend that you use
https://www.springsource.com/developer/sts[Spring Tools Suite] or
https://spring.io/tools[Spring Tools Suite] or
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.
+4 -3
View File
@@ -109,7 +109,7 @@ Checkstyle rules are *disabled by default*. To add checkstyle to your project ju
If you need to suppress some rules (e.g. line length needs to be longer), then it's enough for you to define a file under `${project.root}/src/checkstyle/checkstyle-suppressions.xml` with your suppressions. Example:
.projectRoot/src/checkstyle/checkstyle-suppresions.xml
.projectRoot/src/checkstyle/checkstyle-suppressions.xml
----
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
@@ -123,10 +123,11 @@ If you need to suppress some rules (e.g. line length needs to be longer), then i
It's advisable to copy the `${spring-cloud-build.rootFolder}/.editorconfig` and `${spring-cloud-build.rootFolder}/.springformat` to your project. That way, some default formatting rules will be applied. You can do so by running this script:
```bash
[source,bash]
----
$ curl https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/main/.editorconfig -o .editorconfig
$ touch .springformat
```
----
[[ide-setup]]
== IDE setup
+5 -5
View File
@@ -1,10 +1,10 @@
{
"dependencies": {
"antora": "3.2.0-alpha.12",
"@antora/atlas-extension": "1.0.0-alpha.5",
"@antora/collector-extension": "1.0.3",
"antora": "3.2.0-alpha.9",
"@antora/atlas-extension": "1.0.0-alpha.2",
"@antora/collector-extension": "1.0.2",
"@asciidoctor/tabs": "1.0.0-beta.6",
"@springio/antora-extensions": "1.14.12",
"@springio/asciidoctor-extensions": "1.0.0-alpha.18"
"@springio/antora-extensions": "1.14.7",
"@springio/asciidoctor-extensions": "1.0.0-alpha.17"
}
}
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId>
<version>4.3.5-SNAPSHOT</version>
<version>5.0.0-M2</version>
</parent>
<properties>
<docs.main>spring-cloud-build</docs.main>
+13 -71
View File
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId>
<version>4.3.5-SNAPSHOT</version>
<version>5.0.0-M2</version>
<packaging>pom</packaging>
<name>Spring Cloud Parent</name>
<description>Spring Cloud parent pom, managing plugins and dependencies for Spring
@@ -28,9 +28,8 @@
<maven.compiler.target>${java.version}</maven.compiler.target>
<main.basedir>${basedir}</main.basedir>
<docs.main>${project.artifactId}</docs.main>
<spring-boot.version>3.5.15</spring-boot.version>
<spring-cloud-build.version>4.3.5-SNAPSHOT</spring-cloud-build.version>
<kotlin.version>1.9.25</kotlin.version>
<spring-boot.version>4.0.0-M2</spring-boot.version>
<spring-cloud-build.version>5.0.0-M2</spring-cloud-build.version>
<docs.resources.dir>${project.build.directory}/build-docs</docs.resources.dir>
<docs.classes.dir>${project.build.directory}/build-docs-classes</docs.classes.dir>
<refdocs.build.directory>${project.build.directory}/refdocs/</refdocs.build.directory>
@@ -51,31 +50,31 @@
<sonar.language>java</sonar.language>
<!-- Plugins -->
<maven-compiler-plugin.version>3.14.1</maven-compiler-plugin.version>
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
<maven-eclipse-plugin.version>2.10</maven-eclipse-plugin.version>
<!-- for backwards compatibility, use maven-checkstyle-plugin.version -->
<checkstyle.version>${maven-checkstyle-plugin.version}</checkstyle.version>
<puppycrawl-tools-checkstyle.version>9.3</puppycrawl-tools-checkstyle.version>
<spring-javaformat.version>0.0.47</spring-javaformat.version>
<maven-failsafe-plugin.version>3.5.4</maven-failsafe-plugin.version>
<maven-failsafe-plugin.version>3.5.3</maven-failsafe-plugin.version>
<maven-javadoc-plugin.version>3.11.3</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
<maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
<maven-surefire-report-plugin.version>2.22.2</maven-surefire-report-plugin.version>
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
<exec-maven-plugin.version>3.5.1</exec-maven-plugin.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
<maven-shade-plugin.version>3.6.1</maven-shade-plugin.version>
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version><!-- @releaser:version-check-off -->
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
<maven-enforcer-plugin.version>3.6.1</maven-enforcer-plugin.version><!-- @releaser:version-check-off -->
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version>
<asciidoctor-maven-plugin.version>2.1.0</asciidoctor-maven-plugin.version>
<build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
<artifactory-maven-plugin.version>3.2.3</artifactory-maven-plugin.version>
<license-maven-plugin.version>2.5.0</license-maven-plugin.version>
<license-maven-plugin.version>2.6.0</license-maven-plugin.version>
<spring-javaformat-checkstyle.version>0.0.47</spring-javaformat-checkstyle.version>
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
<pitest-junit5-plugin.version>0.16</pitest-junit5-plugin.version>
@@ -140,12 +139,11 @@
<package-and-attach-docs-zip.phase>package</package-and-attach-docs-zip.phase>
<antora-maven-plugin.version>0.0.4</antora-maven-plugin.version>
<org-antora-maven-plugin.version>1.0.0-alpha.5</org-antora-maven-plugin.version>
<node.version>v22.22.0</node.version>
<node.version>v16.20.2</node.version>
<antora-maven-plugin.phase>prepare-package</antora-maven-plugin.phase>
<generate-readme.phase>prepare-package</generate-readme.phase>
<generate-cloud-resources.phase>generate-resources</generate-cloud-resources.phase>
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
<node-download-url>https://nodejs.org/dist</node-download-url>
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
@@ -299,46 +297,6 @@
</plugins>
<pluginManagement>
<plugins>
<plugin>
<!-- Based on instructions here - https://kotlinlang.org/docs/reference/using-maven.html -->
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<configuration>
<!-- https://github.com/spring-projects/spring-framework/blob/6.2.x/buildSrc/src/main/java/org/springframework/build/KotlinConventions.java#L38-L39 -->
<apiVersion>1.7</apiVersion>
<languageVersion>1.7</languageVersion>
<jvmTarget>17</jvmTarget>
<javaParameters>true</javaParameters>
<args>-Xjsr305=strict -opt-in=kotlin.RequiresOptIn</args>
</configuration>
<executions>
<execution>
<id>compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<sourceDirs>
<sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
<sourceDir>${project.basedir}/src/main/java</sourceDir>
</sourceDirs>
</configuration>
</execution>
<execution>
<id>test-compile</id>
<goals>
<goal>test-compile</goal>
</goals>
<configuration>
<sourceDirs>
<sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
<sourceDir>${project.basedir}/src/test/java</sourceDir>
</sourceDirs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
@@ -784,7 +742,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.4.0</version>
<version>3.6.0</version>
</plugin>
</plugins>
</reporting>
@@ -864,16 +822,6 @@
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>milestone</id>
<distributionManagement>
<repository>
<id>repo.spring.io</id>
<name>Spring Milestone Repository</name>
<url>https://repo.spring.io/libs-milestone-local</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>central</id>
<build>
@@ -1130,12 +1078,6 @@
<configuration>
<!-- TODO: remove when CI upgrades past ubuntu 1804 -->
<nodeVersion>${node.version}</nodeVersion>
<!-- The default value for node-download-url is set in the properties of this POM -->
<!-- This can be overriden in the Maven settings.xml or via the command line -->
<!-- On Jenkins we override this property in Maven settings.xml to point to USW1 to download Node -->
<!-- When pointing to USW1 we use the serverId spring-commercial-release in settings.xml to authenticate with USW1 -->
<nodeDownloadUrl>${node-download-url}</nodeDownloadUrl>
<nodeDownloadServerId>spring-commercial-release</nodeDownloadServerId>
<options>
<option>--to-dir=target/antora/site</option>
<option>--stacktrace</option>
@@ -1358,7 +1300,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.14</version>
<version>0.8.13</version>
<configuration>
<destFile>${sonar.jacoco.reportPath}</destFile>
<append>true</append>
+4 -14
View File
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build-dependencies</artifactId>
<version>4.3.5-SNAPSHOT</version>
<version>5.0.0-M2</version>
<name>spring-cloud-build-dependencies</name>
<packaging>pom</packaging>
<description>Spring Cloud Build Dependencies: an internal BOM for use with Spring
@@ -14,15 +14,15 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.5.15</version>
<version>4.0.0-M2</version>
<relativePath/>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-boot.version>3.5.15</spring-boot.version>
<spring-boot.version>4.0.0-M2</spring-boot.version>
<okhttp.version>4.12.0</okhttp.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
@@ -92,16 +92,6 @@
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>milestone</id>
<distributionManagement>
<repository>
<id>repo.spring.io</id>
<name>Spring Milestone Repository</name>
<url>https://repo.spring.io/libs-milestone-local</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>central</id>
<distributionManagement>
+1 -1
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId>
<version>4.3.5-SNAPSHOT</version>
<version>5.0.0-M2</version>
</parent>
<dependencies>
<dependency>
+2 -12
View File
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud</groupId>
<version>4.3.5-SNAPSHOT</version>
<version>5.0.0-M2</version>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<packaging>pom</packaging>
<name>spring-cloud-dependencies-parent</name>
@@ -70,7 +70,7 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
</properties>
<distributionManagement>
<downloadUrl>https://github.com/spring-cloud</downloadUrl>
@@ -92,16 +92,6 @@
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>milestone</id>
<distributionManagement>
<repository>
<id>repo.spring.io</id>
<name>Spring Milestone Repository</name>
<url>https://repo.spring.io/libs-milestone-local</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>central</id>
<distributionManagement>