Commit Graph

270 Commits (0d4a6ee6877702432128fd968bc83d3f687b15dc)

Author SHA1 Message Date
Andy Wilkinson ae4ebbe685 Upgrade to Commons Compress 1.20
Closes gh-22071
4 years ago
Andy Wilkinson 6215336602 Upgrade to Testcontainers 1.14.3
Closes gh-22069
4 years ago
Andy Wilkinson 345d33c6a1 Upgrade to Maven Shade Plugin 3.2.4
Closes gh-22068
4 years ago
Andy Wilkinson 2d779adca6 Upgrade to Maven Resolver 1.4.2
Closes gh-22067
4 years ago
Andy Wilkinson 4c0d2686ad Merge branch '2.3.x'
Closes gh-22066
4 years ago
Andy Wilkinson 12d3f14e15 Use bom plugin to configure spring-boot-parent
Closes gh-21439
4 years ago
Andy Wilkinson 73aa8f1434 Enforce spring-boot-parent's platform dependencies
Closes gh-22047
4 years ago
Andy Wilkinson 0de466e06e Require dependency on s-b-dependencies to use its constraints
Previously, Spring Boot's modules published Gradle Module Metadata
(GMM) the declared a platform dependency on spring-boot-dependencies.
This provided versions for each module's own dependencies but also had
they unwanted side-effect of pulling in spring-boot-dependencies
constraints which would influence the version of other dependencies
declared in the same configuration. This was undesirable as users
should be able to opt in to this level of dependency management, either
by using the dependency management plugin or by using Gradle's built-in
support via a platform dependency on spring-boot-dependencies.

This commit reworks how Spring Boot's build uses
spring-boot-dependencies and spring-boot-parent to provide its own
dependency management. Configurations that aren't seen by consumers are
configured to extend a dependencyManagement configuration that has an
enforced platform dependency on spring-boot-parent. This enforces
spring-boot-parent's version constraints on Spring Boot's build without
making them visible to consumers. To ensure that the versions that
Spring Boot has been built against are visible to consumers, the
Maven publication that produces pom files and GMM for the published
modules is configured to use the resolved versions from the module's
runtime classpath.

Fixes gh-21911
4 years ago
Andy Wilkinson d347346a93 Upgrade to Spring Asciidoctor Extensions 0.4.3.RELEASE
Pick up the workaround for the AsciidoctorJ bug that prevents the
configprops macro's attributes from being parsed. The lack of parsing
meant that the envvar format was being lost and properties were being
written in the canonical form instead.

Closes gh-21794
5 years ago
dreis2211 b498d3903f Upgrade to Testcontainers 1.14.2
See gh-21581
5 years ago
Andy Wilkinson c35ed9100b Only enforce spring-boot-parent's constraints internally
See gh-21350
5 years ago
dreis2211 1c7f2d6ea6 Upgrade to Testcontainers 1.14.1
See gh-21378
5 years ago
Phillip Webb 3325709a78 Upgrade to JNA 5.5.0
Upgrade JNA to 5.5.0 and only use the jna-platform dependency.

Closes gh-21313
5 years ago
dreis2211 5b9d8bfc17 Upgrade to Testcontainers 1.14.0
See gh-20936
5 years ago
dreis2211 361739ea3c Upgrade to Testcontainers 1.13.0
See gh-20416
5 years ago
Andy Wilkinson 68f59a0d40 Move dependency management for JNA into spring-boot-parent
Previously, dependency management for JNA was provided by
spring-boot-dependencies so it affected users' applications. It was
original added for Elasticsearch but is no longer needed for that
purpose. We use JNA in spring-boot-buildpack-platform which is used
by our Gradle and Maven plugins and should not affect an application's
use of JNA.

This commit moves management of JNA from spring-boot-dependencies into
spring-boot-parent. This means that users' applications will now be
free to use whatever version of JNA meets their needs while still
controlling the version used for image building via Gradle or Maven.

Closes gh-20156
5 years ago
Andy Wilkinson 8577a39a96 Upgrade to Spring Asciidoctor Extensions 0.4.1.RELEASE
Closes gh-20158
5 years ago
Stephane Nicoll d1867c1b8b Merge branch '2.2.x'
Closes gh-19930
5 years ago
dreis2211 56ab129077 Upgrade to Testcontainers 1.12.5
See gh-19902
5 years ago
Phillip Webb e0013454b5 Use parentheses when declaring dependencies
Update all dependencies declarations to use the form `scope(reference)`
rather than `scope reference`.

Prior to this commit we declared dependencies without parentheses unless
we were forced to add them due to an `exclude`.
5 years ago
Phillip Webb 0209cd3e4c Polish quote form used in Gradle scripts
Replace Gradle single quote strings with the double quote form
whenever possible. The change helps to being consistency to the
dependencies section where mostly single quotes were used, but
occasionally double quotes were required due to `${}` references.
5 years ago
Andy Wilkinson 724597d45f Use a centrally managed version for commons-compress 5 years ago
Andy Wilkinson ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
5 years ago
Andy Wilkinson 6009baa71b Remove plugin management for Maven's site plugin
Closes gh-19085
5 years ago
Andy Wilkinson 4dc74793e1 Merge branch '2.2.x'
Closes gh-19297
5 years ago
dreis2211 f190affa6b Upgrade to Testcontainers 1.12.4
See gh-19292
5 years ago
Andy Wilkinson 3e2454f8c4 Replace the Maven Plugin's site with Asciidoctor documentation
Closes gh-19080

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
5 years ago
Andy Wilkinson b5069a4f8a Upgrade to Spring Asciidoctor Extensions 0.3.0.RELEASE
Closes gh-18474
5 years ago
Andy Wilkinson 46c30d6bb0 Merge branch '2.1.x'
Closes gh-18476
5 years ago
Andy Wilkinson 3d4157ad6d Correct SCM URLs in published poms
Previously, Maven's default behaviour was relied up which resulted
in the artifact ID being appended to each URL as it was inherited.
This behaviour can only be disabled in Maven 3.6 and later, a version
that we cannot use due to an incompatibility with the Flatten Plugin.

This commit works around Maven's default behaviour by defining
properties for the SCM URL, connection, and developer connection and
then explicitly defining the settings in each pom using these
properties. The explicit definition of the properties in each pom
prevents them being inherited from the parent, thereby disabling the
unwanted appending of the artifact ID to the URL.

Fixes gh-18328
5 years ago
Stephane Nicoll 91afd289bf Upgrade to Download Maven Plugin 1.4.2
Closes gh-18459
5 years ago
Stephane Nicoll fc7c0ba32e Upgrade to Commons FileUpload 1.4
Closes gh-18450
5 years ago
Stephane Nicoll b2334dd871 Upgrade to gmavenplus-plugin 1.8.0
Closes gh-18462
5 years ago
Stephane Nicoll 94de7ee97e Upgrade to Cargo Maven Plugin 1.7.7
Closes gh-18461
5 years ago
Stephane Nicoll 9f2201c5e5 Upgrade to Maven Maven Plugin 3.6.0
Closes gh-18460
5 years ago
Stephane Nicoll 9133d52416 Upgrade to plexus-archiver to 3.7.0
Closes gh-18457
5 years ago
Stephane Nicoll 67bb90ee5a Upgrade to maven-plugin-annotations 3.6.0
Closes gh-18456
5 years ago
Stephane Nicoll 4008d70248 Upgrade to maven-common-artifact-filters 3.1.0
Closes gh-18455
5 years ago
Stephane Nicoll a1e83558c2 Upgrade to maven-archiver 3.4.0
Closes gh-18453
5 years ago
Stephane Nicoll b66288219a Upgrade to Spock 1.3-groovy-2.5
Closes gh-18458
5 years ago
Stephane Nicoll 9330760e22 Upgrade to MockK 1.9.3
Closes gh-18452
5 years ago
Stephane Nicoll 112cbd216b Remove plugin dependency management for the Sonar plugin 5 years ago
Stephane Nicoll 6cf1b158f8 Remove duplicate maven-resources-plugin dependency management 5 years ago
Andy Wilkinson a6f1619971 Use Asciidoctor extension to verify documented configuration properties
Closes gh-18451
5 years ago
dreis2211 3ae3439054 Upgrade to Testcontainers 1.12.2
See gh-18446
5 years ago
Brian Clozel b15e26662a Upgrade to Spring Doc Resources 0.1.3
Closes gh-18293
5 years ago
Andy Wilkinson f027139743 Upgrade to Commons Compress 1.19
Closes gh-18311
5 years ago
Phillip Webb 838e7eb605 Extract spring-doc-resources URL property
Update the build to use a shared spring-doc-resources URL
rather than repeating it multiple times.

See gh-18293
5 years ago
Brian Clozel 3b0c4b1837 Upgrade Spring Doc Resources and switch to light theme
See gh-18293
5 years ago
Andy Wilkinson d5fc324537 Upgrade to Asciidoctor Maven Plugin 1.6.0
Closes gh-17234
5 years ago
dreis2211 594e2084c7 Upgrade to Testcontainers 1.12.0
See gh-18095
5 years ago
Stephane Nicoll ccf9b1b934 Merge branch '2.1.x'
Closes gh-17854
5 years ago
Stephane Nicoll 7aea432e3e Promote dependency management plugin version to the bom
Closes gh-17842
5 years ago
Phillip Webb 8edf88a08b Polish M2Eclipse ignore configuration
Pull all M2Eclipse ignore configuration up to the parent POM and
increase the version ranges covered.
5 years ago
Phillip Webb 1e0cf960f0 Reinstate single page HTML and PDF docs
Closes gh-16854
5 years ago
Andy Wilkinson e124269e15 Merge branch '2.1.x'
Closes gh-17151
6 years ago
Andy Wilkinson b6d9c6ee6c Merge branch '2.0.x' into 2.1.x
Closes gh-17150
6 years ago
Andy Wilkinson 4828c19f8f Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 23f803c6b6 Upgrade to Hamcrest 2.1, switch to hamcrest artifact from -core and -library
Closes gh-15555
6 years ago
Brian Clozel 22ae160faa Upgrade to Spring-Doc-Resources 0.1.2.RELEASE
Closes gh-16690
6 years ago
Madhura Bhave 1db1c8b03c Validate our own tests work with JUnit5 and the vintage engine
Closes gh-14737

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
6 years ago
Brian Clozel c4938055b4 Polish "Separate compound properties in appendices"
Closes gh-16480
6 years ago
Stephane Nicoll 81543873d4 Merge branch '2.1.x' 6 years ago
ielatif 3ffbe256f1 Exclude HikariCP specific dependency from Quartz
Closes gh-16628
6 years ago
Madhura Bhave 3ecefdbcdc Add dependency management for okhttp3
Closes gh-6385
6 years ago
Brian Clozel 687c58d62c Revert "Upgrade to asciidoctor-maven-plugin 1.6.0"
This commit introduced an incompatible change in the asciidoct
API: both asciidoctorj-pdf and spring-asciidoctor-extensions
expect `org.asciidoctor.extension.JavaExtensionRegistry` to be
a class, not an interface.

This reverts commit 120ffb1ed0.
6 years ago
Stephane Nicoll 120ffb1ed0 Upgrade to asciidoctor-maven-plugin 1.6.0 6 years ago
Stephane Nicoll 604b0891d0 Use asciidoctor 1.5.8
This commit uses asciidoctor 1.5.8 for the time being. Once a new
version of the plugin is released, this override will be unnecessary.
6 years ago
Andy Wilkinson b828b398b5 Merge branch '2.1.x' 6 years ago
Andy Wilkinson a36aa67b52 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator 3e2b6ac8ed Update build and setup configuration to use HTTPS
See gh-16246
6 years ago
Andy Wilkinson 28cf63354a Merge pull request #16106 from Spring Operator
* gh-16106:
  Drop AnyEdit from Eclipse setup as it is not available over HTTPS
  Update build and setup configuration to use HTTPS

Closes gh-16106
6 years ago
Spring Operator c9c554b834 Update build and setup configuration to use HTTPS
See gh-16106
6 years ago
Stephane Nicoll b34b217d1e Upgrade to Kotlin 1.3.21
Closes gh-16195
6 years ago
Andy Wilkinson d6a869fa98 Switch to Jakarta EE API dependencies where possible
Closes gh-16113
Closes gh-16112
Closes gh-16111
Closes gh-15916
Closes gh-15689
6 years ago
Stephane Nicoll 0c45019200 Upgrade to Spring Doc Resources 0.1.0.RELEASE
Closes gh-15805
6 years ago
Sebastien Deleuze cca79b8d4d Migrate Kotlin tests to Mockk
See gh-15993
6 years ago
Andy Wilkinson 6519e85b5a Merge branch '2.1.x' 6 years ago
Andy Wilkinson 027f9182a8 Generate Javadoc with same source level as used for compilation
This works around a change in javadoc generation in JDK 11.0.2. See
https://bugs.openjdk.java.net/browse/JDK-8212233 for details.
6 years ago
Andy Wilkinson c04eba7ebc Polish "Add TestNG support in TestTypeExcludeFilter"
See gh-7630
6 years ago
Andy Wilkinson 1c90a89acd Merge branch '2.1.x' 6 years ago
Andy Wilkinson 8426d8854f Import Testcontainers' bom rather than managing modules individually
Closes gh-15900
6 years ago
Andy Wilkinson 7e51e1a076 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 01b8e2c834 Polish “Replace custom Neo4j container with Testcontainers version”
See gh-15638
6 years ago
Michael Simons 316126e8f0 Replace custom Neo4j container with Testcontainers version
See gh-15638
6 years ago
Andy Wilkinson 8e0cc278b2 Merge branch '2.1.x' 6 years ago
Andy Wilkinson a5aceb35d7 Upgrade to Testcontainers 1.10.6
Closes gh-15893
6 years ago
Stephane Nicoll 5e2d5959f3 Polish 6 years ago
Andy Wilkinson 064f6478df Move back to JUnit 4 until SUREFIRE-1614 has been resolved
See gh-14736
See gh-14737
See gh-14738
6 years ago
Madhura Bhave e16511279a Add junit-jupiter-engine for running Junit5 tests 6 years ago
Madhura Bhave 59d2b0a3fb Upgrade tests to Junit5
See gh-14737
6 years ago
Brian Clozel ed3347f00d Configure Asciidoctor toolchain for ref docs
This commit replaces the Docbook+Asciidoctor documentation toolchain by
a single Asciidoctor generation process.

First, we need to unzip the contents of the Spring Asciidoctor
documentation resources provided by the
`io.spring.docsresources:spring-docs-resources` distribution zip. This
is done in a `/target/refdocs` folder. We then copy all files from
`src/main/asciidoc` to the same location, and then launch the generation
process.

Closes gh-12611
6 years ago
jnizet 5ed6c0d1ab Add Kotlin DSL examples to Gradle Plugin's documentation
See gh-14585
6 years ago
Stephane Nicoll 42e6126066 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 135797c347 Remove useless prerequisites section
Closes gh-14668
6 years ago
Phillip Webb f99df98588 Unify maven-shade-plugin version in parent POM
Closes gh-14440
6 years ago
Phillip Webb b41e135713 Upgrade to mockito-kotlin 1.6.0
Closes gh-14426
6 years ago
Phillip Webb f0bfcd8947 Drop okhttp 2.x managed dependency
Closes gh-14442
6 years ago
Phillip Webb 9beab013f9 Upgrade to okhttp 3.11.0
Closes gh-14427
6 years ago
Phillip Webb 372fee11f5 Upgrade to JOpt Simple 5.0.4
Closes gh-14430
6 years ago
Phillip Webb 83a2031934 Upgrade to Commons Compress 1.18
Closes gh-14431
6 years ago
Phillip Webb 4adceec45f Upgrade to Ivy 2.4.0
Closes gh-14432
6 years ago
Phillip Webb 6e64ae0921 Upgrade to maven-archiver 3.2.0
Closes gh-14433
6 years ago
Phillip Webb e00a254729 Upgrade to maven-plugin-annotations 3.5.2
Closes gh-14434
6 years ago
Phillip Webb 8b16630a49 Upgrade to sisu-inject-plexus 2.6.0
Closes gh-14435
6 years ago
Phillip Webb abd08418c0 Upgrade to testcontainers 1.8.3
Closes gh-14436
6 years ago
Phillip Webb 3f8a5fd2e3 Upgrade to zt-zip 1.13
Closes gh-14437
6 years ago
Phillip Webb d5ba03c2ae Upgrade to maven-common-artifact-filters 3.0.1
Closes gh-14441
6 years ago
Phillip Webb 894e0e11d4 Switch from Aether to Maven Resolver
Replace Aether dependencies with Maven Resolver following the Eclipse
EOL announcement for Aether.

Closes gh-7627
6 years ago
Phillip Webb 1f9754fc81 Upgrade to plexus-archiver to 3.6.0
Closes gh-14411
6 years ago
Phillip Webb 59e210642b Upgrade plexus-utils to 3.1.0
Closes gh-14422
6 years ago
Stephane Nicoll d1ac774af2 Configure build to be compatible with Java 11
See gh-14028
6 years ago
Stephane Nicoll 8ffd44077d Upgrade to gmavenplus-plugin 1.6.1 6 years ago
Stephane Nicoll 295995829f Remove outdated Java10 profile 6 years ago
Andy Wilkinson b58314f214 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 681717d07a Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson c90f589906 Merge branch '2.0.x' 7 years ago
Andy Wilkinson e2d6280d83 Merge branch '1.5.x' into 2.0.x 7 years ago
Brian Clozel 751a2b438e Upgrade duplicate finder maven plugin to 1.3.0
Closes gh-13411
7 years ago
Phillip Webb 2274ac5214 Move spring-javaformat plugins to root POM
Relocate spring-javaformat plugins to the root of the project.

Closes gh-13306
7 years ago
Phillip Webb 401fcbeaa4 Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb e38d5f910b Merge branch '1.5.x' into 2.0.x 7 years ago
hengyunabc b75e58b70f Add enforce-rule to ensure maven version >= 3.5.0
Closes gh-13271
7 years ago
Phillip Webb dba73d76b8 Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb e544922dd7 Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb 21d80d87a3 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson d5841982d9 Upgrade to Testcontainers 1.7.2
See gh-12821
7 years ago
Madhura Bhave 4fab679829 Upgrade testcontainers to 1.7.0
Closes gh-12821
7 years ago
Andy Wilkinson a8bbf7120e Merge branch '1.5.x' 7 years ago
Andy Wilkinson aa27334671 Run deployment tests on JDK 9 and 10 where possible
Closes gh-10414
7 years ago
Rui Figueira 5e2726f896 Configure Kotlin compiler to use -java-parameters by default
See gh-12641
7 years ago
igor-suhorukov aebb475bc5 Reorder modifiers to comply with the JLS
See gh-12432
7 years ago
Andy Wilkinson 63a7a9bf42 Merge branch '1.5.x' 7 years ago
Andy Wilkinson d08b228813 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 43d05315b3 Use Surefire and Failsafe 2.21.0 when building with JDK 10
Closes gh-12332
7 years ago
Andy Wilkinson 1f5143de70 Avoid problems with Failsafe when building with JDK 10
See gh-12028
7 years ago
Andy Wilkinson d30c1fd9f8 Make javadoc plugin use Java 10-compatible version of Commons Lang 3
See gh-12028
7 years ago
Andy Wilkinson 4aa947c227 Use a Java 10-compatibile version of Maven’s site plugin
See gh-12028
7 years ago
Andy Wilkinson 20654b9bc9 Remove no longer needed AspectJ version override with JDK 9+
See gh-12028
7 years ago
Andy Wilkinson f7c8be1877 Apply java9 profile to JDK 10 (and later) as well as JDK 9
See gh-12028
7 years ago
Andy Wilkinson a7d05d4276 Avoid SUREFIRE-1439 by using 2.21.0-SNAPSHOT when building with JDK 10
See gh-12028
7 years ago
Andy Wilkinson 48656d0d53 Fix build warnings about use of ${artifactId}
See gh-11994
7 years ago
Phillip Webb 5917a58bf1 Add Automatic-Module-Name to manifest file
Update build to add `Automatic-Module-Name` entry to the manifest file.
Also refined a few of the other entries that appear.

Fixes gh-11994
7 years ago
Phillip Webb 46021928ba Rework common server customization
Update the configurable embedded web server factory interfaces to
extend `ConfigurableWebServerFactory` so that the can be used in a
`WebServerFactoryCustomizer`.

Extract server specific customization to their own auto-configuration
and align reactive/servlet server auto-configuration.

Closes gh-8573
7 years ago
Andy Wilkinson a8899feea3 Merge branch '1.5.x' 7 years ago
Raja Kolli f9f9e84f96 Upgrade to Maven Checkstyle Plugin 3.0.0
Closes gh-11775
7 years ago
Phillip Webb 66d5c03c39 Add checkstyle to prevent reactor Assert import 7 years ago
Phillip Webb bda9b892b3 Add direct WebFlux and WebMvc endpoint support
Add `@ControllerEndpoint` and `@RestControllerEndpoint` annotations that
can be used to develop a Spring-only request mapped endpoint. Both
Spring MVC and Spring WebFlux are supported.

This feature is primarily for use when deeper Spring integration is
required or when existing Spring Boot 1.5 projects want to migrate to
Spring Boot 2.0 without re-writing existing endpoints. It comes at the
expense of portability, since such endpoints will be missing from
Jersey.

Fixes gh-10257
7 years ago
Brian Clozel 98ac2218db Apply server.undertow.* config to reactive servers
This commit applies `server.undertow.*` configuration properties
to Undertow when configured as a reactive web server.

See gh-11500
7 years ago
Brian Clozel 15bc718248 Apply server.jetty.* config to reactive servers
This commit applies `server.jetty.*` configuration properties
to Jetty when configured as a reactive web server.

It also removes some infrastructure support for Jetty 8, which
is not supported anymore in Spring Boot 2.0 (partial fix for
gh-11504).

See gh-11500
7 years ago