Commit Graph

2541 Commits (37ecaf8d62e641b96e9653462b9cabc599567cff)

Author SHA1 Message Date
Phillip Webb 998d59b7ac Ignore system timezone when applying outputTimestamp to entries
Update `JarWriter` so that entry times are set with the default TimeZone
offset removed. The Javadoc for `ZipEntry.setTime` states:

  The file entry is "encoded in standard `MS-DOS date and time format`.
  The default TimeZone is used to convert the epoch time to the MS-DOS
  data and time.

Removing the offset from our UTC time before calling `entry.setTime()`
ensures that we get consistent bytes in the zip file when the output
stream reapplies the offset during write.

Fixes gh-34424
2 years ago
Chintan Radia a98760125c Add support for CNB platform API 0.11
See gh-34383
2 years ago
Diego Díez b073ef0310 Add build-info skip support
See gh-34393
2 years ago
Andy Wilkinson 7e364cd67d Merge branch '3.0.x'
Closes gh-34392
2 years ago
Andy Wilkinson 814b77c33f Merge branch '2.7.x' into 3.0.x
Closes gh-34391
2 years ago
Andy Wilkinson 81882ecca4 Apply plugins consistently in Gradle documentation examples
Closes gh-34038
2 years ago
Andy Wilkinson eb105572f6 Test Gradle plugin against Gradle 6.9.4
Closes gh-34368
2 years ago
Phillip Webb 157091a811 Merge branch '3.0.x' 2 years ago
Phillip Webb 0b15962aca Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb a5902d7a00 Update copyright year of changed files 2 years ago
Phillip Webb b07269a018 Merge branch '3.0.x' 2 years ago
Phillip Webb c4de86c244 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb df5898a146 Reformat code following spring-javaformat upgrade 2 years ago
Andy Wilkinson 6e9d94edb1 Merge branch '3.0.x'
Closes gh-34183
2 years ago
Johnny Lim d368115128 Fix name for Implementation-Title in Spring Boot Gradle plugin
See gh-34177
2 years ago
Scott Frederick 12537c7170 Merge branch '3.0.x'
Closes gh-34162
2 years ago
Scott Frederick cbac3c81d6 Merge branch '2.7.x' into 3.0.x
Closes gh-34161
2 years ago
Scott Frederick 33aef7fe27 Update CLI installation docs to download releases from Maven Central
Closes gh-33962
2 years ago
Andy Wilkinson bbe526df70 Merge branch '3.0.x'
Closes gh-34120
2 years ago
Andy Wilkinson 9378fc47a7 Set implementation name and version in Gradle-built archives
Closes gh-34059
2 years ago
Andy Wilkinson 5a95fd0d2b Make httpcore5-h2 classes available to Gradle tests
httpclient5 now requires classes in httpcore5-h2 in addition to those
in httpcore5.

See gh-34086
2 years ago
Andy Wilkinson f595b46bd3 Upgrade to HttpClient5 5.2.1
Closes gh-34086
2 years ago
Moritz Halbritter e0d8d528b7 Merge branch '3.0.x'
Closes gh-34073
2 years ago
Moritz Halbritter 2e61acb979 Merge branch '2.7.x' into 3.0.x
Closes gh-34072
2 years ago
Enimiste d6032c9d2c Remove inputStream.close() line to conform to the interface
The "ReproducibleResourceTransformer" interface says that "An input
  stream for the resource, the implementation should *not* close this
  stream".

See gh-34063
2 years ago
lars-christian stitz a186055c51 Improve log message when repackaging by specifying the involved files
See gh-33350
2 years ago
Moritz Halbritter 48db5ff35c Merge branch '3.0.x'
Closes gh-34018
2 years ago
Moritz Halbritter 0a080736d8 Merge branch '2.7.x' into 3.0.x
Closes gh-34017
2 years ago
Moritz Halbritter 23f1c896c9 Merge branch '3.0.x'
Closes gh-34015
2 years ago
Johnny Lim bc7fc90550 Replace Base64Utils with JDK's Base64
See gh-33967
2 years ago
Phillip Webb 390892f11b Merge branch '3.0.x'
Closes gh-33998
2 years ago
Krzysztof Krason 94996664bc Drop unnecessary Collections.unmodifiableSet
See gh-33987
2 years ago
Krzysztof Krason d3efd7e091 Use try with close
See gh-33987
2 years ago
Krzysztof Krason 0e68cae57f Use instanceof patterns
See gh-33987
2 years ago
Krzysztof Krason a9c547e767 Use text blocks
See gh-33987
2 years ago
Krzysztof Krason 6e46423983 Use diamond operators
See gh-33987
2 years ago
Moritz Halbritter 2601020337 Merge branch '3.0.x'
Closes gh-33964
2 years ago
Moritz Halbritter dfda153da5 Merge branch '2.7.x' into 3.0.x
Closes gh-33963
2 years ago
Scott Frederick 0b6dade142 Migrate CLI to Apache HttpClient 5
Closes gh-33534
2 years ago
Scott Frederick 1588f9d881 Migrate buildpack-platform to Apache HttpClient 5
Closes gh-33533
2 years ago
Andy Wilkinson 63abaa4cd2 Start working on 3.1.0 2 years ago
Phillip Webb 71efc55bf9 Merge branch '2.7.x' 2 years ago
Phillip Webb 470a255b0d Polish 2 years ago
Phillip Webb 7c508fa324 Update copyright year of changed files 2 years ago
Moritz Halbritter 94f4a4396c Merge branch '2.7.x'
Closes gh-33880
2 years ago
Moritz Halbritter e8d809fe65 Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
2 years ago
Moritz Halbritter fe8d8f4ed3 Merge branch '2.7.x' 2 years ago
Moritz Halbritter 524a4b6c1e Only return complete accessor name when accessor has a backing field 2 years ago
Moritz Halbritter ae64b205d4 Merge branch '2.7.x'
Closes gh-33871
2 years ago
Moritz Halbritter 26d658802f Add support for record accessors in spring-boot-configuration-processor
Closes gh-29526
2 years ago
Moritz Halbritter 6c44055fd4 Polish PropertyDescriptorResolver 2 years ago
Moritz Halbritter b1f8024e8a Merge branch '2.7.x'
Closes gh-33845
2 years ago
Moritz Halbritter 9f2ed201b2 Improve error message when start goal can't contact running application
Closes gh-24044
2 years ago
Moritz Halbritter d26fa80741 Merge branch '2.7.x'
Closes gh-33843
2 years ago
Moritz Halbritter 6cec0187c3 Include exception message in condition result when docker is unavailable
Closes gh-20582
2 years ago
Andy Wilkinson 485025310e Merge branch '2.7.x'
Closes gh-33777
2 years ago
Andy Wilkinson 433364601d Merge branch '2.7.x' 2 years ago
Andy Wilkinson 3b2e5e5292 Remove references to https://repo.spring.io/release 2 years ago
Phillip Webb 29b7c121fb Merge branch '2.7.x'
Closes gh-33739
2 years ago
Phillip Webb a369f936c9 Replace references to Pivotal
Closes gh-33737
2 years ago
Phillip Webb a2ac38e203 Update copyright year of changed files 2 years ago
Phillip Webb 1621cfd578 Merge branch '2.7.x' 2 years ago
Krzysztof Krason cf6493f65c Simplify AssertJ assertions and also make them more readable
See gh-33653
2 years ago
Andy Wilkinson 2d372edcfc Fix Homebrew formula's install --head support
This commit updates the Homebrew formula's install --head support to
use the main branch (rather than the default of master) and to build
the project using Gradle rather than trying to use Maven.

Closes gh-33704
2 years ago
Phillip Webb 5ec5007bf0 Merge branch '2.7.x'
Closes gh-33706
2 years ago
Phillip Webb f588793445 Update copyright year of changed files 2 years ago
Phillip Webb 0254619782 Merge branch '2.7.x' 2 years ago
Phillip Webb e4772cf3b7 Update copyright year of changed files 2 years ago
Phillip Webb 6367a8c62c Merge branch '2.7.x' 2 years ago
Phillip Webb 5ba52d0000 Polish formatting 2 years ago
Phillip Webb e57824fb58 Merge branch '2.7.x'
Closes gh-33617
2 years ago
Phillip Webb a2a59dd627 Polish 'Improve gradle plugin tags documentation'
See gh-33614
2 years ago
Shekhar Aggarwal a1df607dd8 Improve gradle plugin tags documentation
See gh-33614
2 years ago
Phillip Webb 5814543bb1 Merge branch '2.7.x'
Closes gh-33616
2 years ago
Phillip Webb c205ba0694 Polish 'Improve maven plugin tags documentation'
See gh-33609
2 years ago
Shekhar Aggarwal 79557012a7 Improve maven plugin tags documentation
See gh-33609
2 years ago
Moritz Halbritter b132b5c317 Polish JSON classes 2 years ago
Moritz Halbritter f36e2ecb7b Use AutoClosables with try-with-resources
Closes gh-33538
2 years ago
Moritz Halbritter 725337f976 Make fields final
Closes gh-33537
2 years ago
peter-janssen 9a74c862dd Fix documented Java compiler level
See gh-33505
2 years ago
Craig Andrews 703935612f Update instead of replace environment in bootBuildImage documentation
Closes gh-32886
See gh-33424
2 years ago
Scott Frederick 9ed8b25e6b Make AOT goals release option mutually exclusive with source and target
Fixes gh-33382
2 years ago
Moritz Halbritter c6536c54d8 Write native-image argfile only if there are excludes
Refactors duplicate logic in BootZipCopyAction and Packager into
separate classes.

Closes gh-33363

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson d88f968d22 Merge branch '2.7.x'
Closes gh-33403
2 years ago
Andy Wilkinson 2da8bc1f3b Reduce Gradle versions used for compatibility testing
Closes gh-33401
2 years ago
Andy Wilkinson abcbac92ef Merge branch '2.6.x' into 2.7.x
Closes gh-33343
2 years ago
Andy Wilkinson ebfbf4a412 Stop testing Gradle plugin against Gradle 7.6 RCs
Closes gh-33342
2 years ago
Stephane Nicoll 75b74637f6 Make sure the 'native' profile can be used in a multi-modules project
This commit updates the 'native' profile so that it provides plugin
management for the plugins involved in building a native image, rather
than forcing their executions.

This commit also update the Maven Plugin reference guide to describe
what the native profile does, and how it can be used in various
scenarios.

Closes gh-33184
2 years ago
Stephane Nicoll a7f57091a6 Add support for building an image without forking the Maven lifecycle
This commit adds a new "build-image-no-fork" goal that behaves exactly
as "build-image", except it does not fork the lifecycle. This is a
common pattern in maven plugins where a goal can be invoked on the
command-line and conveniently make sure that a certain phase has run
prior to its execution.

The new goal is suitable for binding the goal in a phase, typically
package, and rely on it rather than invoking the goal. This makes sure
that the lifecycle is forked, which would run everything again.

Closes gh-26455
2 years ago
Andy Wilkinson b8142d168b Merge branch '2.7.x'
Closes gh-33269
2 years ago
Andy Wilkinson 9879538c02 Merge branch '2.6.x' into 2.7.x
Closes gh-33268
2 years ago
Andy Wilkinson e860efca65 Test Gradle plugin against 7.6-rc-3
Closes gh-33267
2 years ago
Moritz Halbritter 9206b6cda1 Add warning to not disable jar task when building native images
Closes gh-33238
2 years ago
Andy Wilkinson 931cc8a508 Merge branch '2.7.x'
Closes gh-33250
2 years ago
Johnny Lim 6027508cf7 Polish
See gh-33108
2 years ago
Scott Frederick c28c614c47 Set Java source and target when compiling AOT generated sources
When compiling AOT-generated sources in the Maven plugin `process-aot`
and `process-test-aot` goals, the Java compiler should be provided
with the same `--source`, `--target`, and `--release` configuration
values as the Maven compiler plugin uses to compile main sources.

Fixes gh-33112
2 years ago
Scott Frederick 11652bd8e6 Add compilerArguments parameter to process-aot Maven goal
This commit adds a `compilerArguments` parameter to the Maven plugin
`process-aot` and `process-test-aot` goals to allow the user to
configure the command used to compile the AOT-generated sources.

Fixes gh-33012
2 years ago
Andy Wilkinson 112bed886c Merge branch '2.7.x'
Closes gh-33085
2 years ago
Andy Wilkinson b1494d4a39 Merge branch '2.6.x' into 2.7.x
Closes gh-33084
2 years ago
Andy Wilkinson 6423535f67 Delete temp directory after MavenBuild has exected
Closes gh-33083
2 years ago