Commit Graph

299 Commits (344d008848e425a902d3743ce5343da6fc6e75dd)

Author SHA1 Message Date
Phillip Webb 467e063d4b Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb 8e704aab48 Restore 'javax.xml.bind:jaxb-api' exclusion
Restore the 'javax.xml.bind:jaxb-api' exclusion from `xmlunit-core`
which is actually required when using Maven on Java 9+.

The `CheckClasspathForUnnecessaryExclusions` cannot deal with profile
specific dependencies so an exception has been hard coded.

See gh-28332
3 years ago
Phillip Webb e95b0b5257 Polish 3 years ago
Andy Wilkinson 1a30c660f3 Merge branch '2.4.x' into 2.5.x
Closes gh-28342
3 years ago
Andy Wilkinson adb9226dec Prohibit org.apache.geronimo.specs dependencies in our starters
Closes gh-28338
3 years ago
Andy Wilkinson 3800f060b5 Merge branch '2.4.x' into 2.5.x
Closes gh-28336
3 years ago
Andy Wilkinson 2fb8c8d27e Check starters for unnecessary exclusions
Closes gh-28332
3 years ago
Andy Wilkinson d3037103fe Merge branch '2.4.x' into 2.5.x
Closes gh-28330
3 years ago
Andy Wilkinson 9f13941c2f Prohibit org.jboss.spec.* dependencies
Closes gh-28329
3 years ago
Phillip Webb 02b577390f Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb 0561992c2a Update copyright year of changed files 3 years ago
Andy Wilkinson 1931104d13 Merge branch '2.4.x' into 2.5.x
Closes gh-28206
3 years ago
Andy Wilkinson 9c9fbf400e Upgrade to Spring Java Format 0.0.29
Closes gh-28205
3 years ago
Andy Wilkinson 322615d9c5 Merge branch '2.4.x' into 2.5.x
Closes gh-28199
3 years ago
Andy Wilkinson 8c3820f87e Fix up-to-date checking of syncAppSource tasks
Previously, the project version was used while filtering the apps
source during syncing but it was not considered as an input to
the task. This could result in the syncing being skipped even though
the project's version had changed.

This commit introduces a new custom task to make the configuration
more declarative and to allow the necessary input configuration to be
done in a single place.

Closes gh-28197
3 years ago
Andy Wilkinson 9e484e2cdc Merge branch '2.4.x' into 2.5.x
Closes gh-28152
3 years ago
Andy Wilkinson 3824512357 Tighten up build's task interdependencies
Closes gh-28103
3 years ago
Andy Wilkinson f530819d68 Merge branch '2.4.x' into 2.5.x
Closes gh-27966
3 years ago
Andy Wilkinson 273600bcdd Retain distinction between compile and runtime deps of optional deps
Previously, the optional configuration was added to the compile and
runtime classpaths of each source set and the the javadoc classpath
as well. This had a few disadvantages, the most notable of which is
that it meant that the configuration was ifrst resolved and then
the outcome of the resolution was added to the compile and runtime
classpaths. As a result, none of the attributes on the compile and
runtime classpaths were considered to influence variant selection.

This commit reworks the optional dependencies plugin so that the
compile and runtime classpaths of each source set are now configured
to extend from the optional configuration. This allows each
classpath configuration's attributes to influence the dependencies
that are selected from the optional configuration during resolution.
For example, when resolving the compile classpath, compile
dependencies (Usage.JAVA_API) will be selected and when resolving the
runtime classpath, runtime dependencies (Usage.JAVA_RUNTIME) will be
selected.

The above-described change means that runtime dependencies of an
optional dependencies will no longer leak into the compile classpath.
As a result of this, our Gradle plugin's test infrastructure has
been updated so that it no longer references runtime dependencies of
the Kotlin Gradle plugin at compile time.

Closes gh-27965
3 years ago
Andy Wilkinson 3566e5881b Merge branch '2.4.x' into 2.5.x
Closes gh-27786
3 years ago
Andy Wilkinson 9f402f0428 Use snapshot rather than libs-snapshot when generating effective bom
Closes gh-27785
3 years ago
Andy Wilkinson 6d8ba3e8b1 Merge branch '2.4.x' into 2.5.x
Closes gh-27757
3 years ago
Andy Wilkinson ffbd28b60a Polish "Polish access modifiers for test classes"
See gh-27736
3 years ago
izeye 8a425dedfd Polish access modifiers for test classes
See gh-27736
3 years ago
Andy Wilkinson 0d904b8868 Merge branch '2.4.x' into 2.5.x
Closes gh-27753
3 years ago
Andy Wilkinson 0b7994a679 Polish "Use 2012 for copyright beginning year"
See gh-27734
3 years ago
izeye 07da144826 Use 2012 for copyright beginning year
See gh-27734
3 years ago
Andy Wilkinson 10ceb504ae Merge branch '2.4.x' into 2.5.x
Closes gh-27751
3 years ago
Andy Wilkinson 32c184e31c Revert changes made to work around JDK-8156584
Closes gh-26848
3 years ago
Andy Wilkinson 9127588082 Merge branch '2.4.x' into 2.5.x
Closes gh-27497
3 years ago
Andy Wilkinson ea6cb74ccf Ignore Spring Boot when finding dependency upgrades
Closes gh-27447
3 years ago
dreis2211 e4978f604c Fix JDK 16 pipeline
See gh-27310
3 years ago
Andy Wilkinson 705feeed6a Polish "Allow additional JVM args when running tests via toolchain"
See gh-27089
3 years ago
dreis2211 01b0156fed Allow additional JVM args when running tests via toolchain
See gh-27089
3 years ago
Andy Wilkinson f7140d0401 Merge branch '2.4.x' into 2.5.x
See gh-27045
3 years ago
Andy Wilkinson 316d2cce89 Don't offer upgrade for version that is already aligned
See gh-27044
3 years ago
Phillip Webb 2c518f1dff Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb a76e5c043e Update copyright year of changed files 3 years ago
Andy Wilkinson 5139c79c4f Merge branch '2.4.x' into 2.5.x
See gh-27045
3 years ago
Andy Wilkinson 4d694ddaa8 Fix bom plugin management versions
See gh-27044
3 years ago
Andy Wilkinson ec2a7b9a5b Merge branch '2.4.x' into 2.5.x
Closes gh-27045
3 years ago
Andy Wilkinson 363de4cfa5 Add dependency lock and constraint version alignment to Bomr
Closes gh-27044
3 years ago
Andy Wilkinson 577c58b798 Merge branch '2.4.x' into 2.5.x
See gh-26933
3 years ago
Andy Wilkinson ac8c6a6fb7 Tune config of source and target compatilility with toolchain
See gh-26932
3 years ago
Andy Wilkinson 560d272db3 Merge branch '2.4.x' into 2.5.x
Closes gh-26933
3 years ago
Andy Wilkinson 6e43dd879b Allow Eclipse to properly detect source and target compatibility
Previously, our conventions configured the source and target
compatibility on the project's JavaCompile tasks. This causes the
settings to be missed when importing the projects into Eclipse [1].

This commit updates the conventions to set the source and target
compatibility on the project-wide JavaPluginExtension. This allows
the Eclipse import to correctly detect and honour the settings.

Closes gh-26932

[1] https://github.com/eclipse/buildship/issues/978
3 years ago
Phillip Webb 28abcf88a0 Upgrade to spring-asciidoctor-backends 0.0.2
Closes gh-26846
3 years ago
Andy Wilkinson de410b7621 Merge branch '2.4.x'
Closes gh-26828
3 years ago
Andy Wilkinson a1c5fcca58 Move common Asciidoctor configuration into our conventions
Closes gh-26620
3 years ago
Phillip Webb f798f26596 Merge branch '2.4.x' 3 years ago