Andy Wilkinson
714a187d8f
Rework dep mgmt again to avoid consumers picking up strict constraints
...
This paves the way for publishing Gradle module metadata once the
problem caused by snapshot versions and our two-step publication
process has been addressed.
See gh-19609
5 years ago
Andy Wilkinson
aefe52e4d0
Revert "Rework dep management to avoid consumers picking up strict constraints"
...
This reverts commit b34a311d02
as,
having disabled the publishing of Gradle's module metadata (4f75ab5
),
the changes are no longer needed.
See gh-19609
5 years ago
Phillip Webb
862462b791
Update copyright year of changed files
5 years ago
Andy Wilkinson
b34a311d02
Rework dep management to avoid consumers picking up strict constraints
...
Previously, enforcedPlatform dependencies were using to pull in the
constraints defined in spring-boot-dependencies and
spring-boot-parent and applied them strictly so that the constrained
version had to be used. This worked as intended in Spring Boot's own
build but incorrectly enforced those same strict version requirements
on external consumers of Spring Boot's modules.
This commit reworks how Spring Boot defines its internal dependency
management so that platform dependencies are exposed to external
consumers while enforced platform dependencies are using internally.
See gh-19609
5 years ago
Andy Wilkinson
ce99db1902
Port the build to Gradle
...
Closes gh-19609
Closes gh-19608
5 years ago
Johnny Lim
e4057dd528
Polish
...
See gh-19484
5 years ago
Stephane Nicoll
e7f45d8a34
Polish "Add toolchains support for Spring Boot Maven Plugin"
...
See gh-18732
5 years ago
Dmytro Nosan
eede16ff0a
Add toolchains support for Spring Boot Maven Plugin
...
See gh-18732
5 years ago
Stephane Nicoll
a2b2b46b83
Merge branch '2.2.x'
...
Closes gh-19463
5 years ago
Stephane Nicoll
6c016663fd
Polish contribution
...
See gh-18711
5 years ago
Dmytro Nosan
1fb904acee
Support commas embedded in command line arguments from Maven plugin
...
See gh-18711
5 years ago
Stephane Nicoll
065fe9996d
Merge branch '2.2.x'
...
Closes gh-19454
5 years ago
Stephane Nicoll
ee98855905
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19453
5 years ago
Stephane Nicoll
5dc6491807
Clarify documentation of repackage mojo's attach property
...
Closes gh-19021
5 years ago
dreis2211
60640ea185
Fix link in new Maven Plugin docs
...
See gh-19108
5 years ago
Stephane Nicoll
a76a864270
Polish "Replace the Maven Plugin's site with Asciidoctor documentation"
...
See gh-19080
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
Alessandro Falappa
2c199b1296
Make optimizedLaunch property name more consistent
...
See gh-18702
5 years ago
Kant Leung
2f73e196af
Polish
...
See gh-18534
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
Andy Wilkinson
7d3e53c94c
Fix test expectations for run-fork JVM args on Java 13+
...
Closes gh-17008
5 years ago
Andy Wilkinson
d2b28ceba5
Don't add -Xverify:none to JVM args when running on Java 13
...
Closes gh-17008
5 years ago
dreis2211
d4affd7f85
Use hasSize() assertion in favor of length checks
...
See gh-17874
5 years ago
Stephane Nicoll
07cd67a3fe
Tolerate null startTime
...
This commit prevents a potential NPE if the startTime of the
MavenSession is not available and fallbacks to the current time. This
can happen when invoking the plugin with Maven embedded in an IDE.
Closes gh-17810
5 years ago
SaberXu
c6c3a91f8d
Simplify if statements
...
See gh-17785
5 years ago
Phillip Webb
8bc780762a
Merge branch '2.1.x'
5 years ago
Phillip Webb
fb1dd8fe93
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
913e831f4e
Merge '1.5.x' into 2.0.x
5 years ago
Johnny Lim
8f8b0b493e
Remove println invocations in tests
...
See gh-17592
5 years ago
Stephane Nicoll
4ce9c6edb3
Polish "Make layout parameter available as a user property"
...
See gh-17277
5 years ago
Marc Rohlfs
d2e34e6b07
Make layout parameter available as a user property
...
This commit allows the layout parameter of the Maven repackage goal to
be set from the command line.
See gh-17277
5 years ago
Phillip Webb
74d00354f5
Refine BuildInfoMojo time property
...
Update `BuildInfoMojo` so that the time property now defaults to
`${session.request.startTime}` rather than the time the Mojo was
created. Also update javadoc to make it clear that any supplied
value will be passed to `Instant.parse`.
See gh-17390
5 years ago
Phillip Webb
01933f9b06
Merge previously split strings
...
Merge some string lines that were previously split because of the
90 chars wide formatting.
5 years ago
Dmytro Nosan
8dd9c6baa1
Allow build.time to be disabled so BuildInfoMojo's output is repeatable
...
See gh-17390
5 years ago
Andy Wilkinson
4b2a116fa7
Use String indexOf(char) and lastIndexOf(char) where possible
...
Closes gh-11416
5 years ago
Phillip Webb
a66c4d3096
Unify method visibility of private classes
...
Apply checkstyle rule to ensure that private and package private
classes do not have unnecessary public methods. Test classes have
also been unified as much as possible to use default scoped
inner-classes.
Closes gh-7316
5 years ago
Phillip Webb
605599138e
Merge branch '2.1.x'
5 years ago
Phillip Webb
92bff3c328
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
cfeb0239b7
Merge branch '1.5.x' into 2.0.x
5 years ago
Andy Wilkinson
361a9404fd
Merge branch '2.1.x'
...
Closes gh-17321
5 years ago
Andy Wilkinson
3fb06ee29e
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17320
5 years ago
Andy Wilkinson
4973a2b217
Merge branch '1.5.x' into 2.0.x
5 years ago
Stephane Nicoll
e560b7f6ba
Remove public modifier on JUnit5 lifecycle methods
...
See gh-17292
5 years ago
gaurav bhatnagar
1ec5fb9972
Drop deprecated 'spring.version' POM property
...
See gh-17043
6 years ago
Andy Wilkinson
b18fffaf14
Move tests to JUnit 5 wherever possible
6 years ago
Andy Wilkinson
aef92b9295
Merge branch '2.1.x'
...
Closes gh-17079
6 years ago
Andy Wilkinson
24925c3dae
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17078
6 years ago
Andy Wilkinson
c6c139d980
Merge branch '1.5.x' into 2.0.x
6 years ago
Phillip Webb
db75347eb6
Merge branch '2.1.x'
6 years ago
Phillip Webb
0ef331018e
Merge branch '2.0.x' into 2.1.x
6 years ago
Stephane Nicoll
8beb6c1bcb
Document how to specify arguments on the command line with Maven
...
Closes gh-10926
6 years ago
Stephane Nicoll
4cdb5a8ecb
Polish "Default to optimized launch of the JVM when using spring-boot:run"
...
Closes gh-16941
6 years ago
Dos Debug
569b850fe0
Default to optimized launch of the JVM when using spring-boot:run
...
See gh-16941
6 years ago
Andy Wilkinson
bf670d0a5a
Merge branch '2.1.x'
...
Closes gh-16960
6 years ago
Andy Wilkinson
60d60a8304
Use basedir as forked JVM's working directory in Maven plugin
...
Fixes gh-16811
6 years ago
Stephane Nicoll
a5537bd2e1
Fork application process with Maven by default
...
Closes gh-16945
6 years ago
Andy Wilkinson
64860e196c
Improve diagnostics when forked JVM exits with non-zero status
...
Closes gh-16869
6 years ago
Stephane Nicoll
66dc728018
Polish "Make excludeDevtools available as a user property"
...
Closes gh-16701
6 years ago
jvwilge
dcc09ffac2
Make excludeDevtools available as a user property
...
See gh-16701
6 years ago
Stephane Nicoll
6544d19fbf
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
4c1ef630c9
Restore lazy evaluation of project/build/finalName
...
This commit restores the read-only `finalName` so that its value can
be lazily resolved against `${project.build.finalName}`.
While doing the evaluation ourselves and not relying on a dedicated
field at all would have been better, the evaluation increased the
number of required dependencies for no good reason.
IDEs should not offer auto-completion for that read-only field and it
is not published in the generated site either.
Closes gh-16456
6 years ago
Andy Wilkinson
eb0b852e99
Merge branch '2.1.x'
...
Closes gh-16639
6 years ago
Andy Wilkinson
5d77b48aed
Polish "Polish Maven Plugin's tests"
...
See gh-16618
6 years ago
daonan.zhan
52c2c534db
Polish Maven Plugin's tests
...
See gh-16618
6 years ago
Stephane Nicoll
a79e49f1dd
Merge branch '2.1.x'
6 years ago
Johnny Lim
363994515b
Polish
...
See gh-16575
6 years ago
Stephane Nicoll
763c1a99e0
Polish
6 years ago
Phillip Webb
2376f973f4
Merge branch '2.1.x'
6 years ago
Phillip Webb
47c6bf741d
Merge branch '2.0.x' into 2.1.x
6 years ago
Phillip Webb
07c000c5b7
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
2adb6b1fa4
Override version of Maven Site Plugin for JDK 9+181 compatibility
...
See gh-16400
6 years ago
Stephane Nicoll
680e2b223b
Remove deprecated finalName attribute
...
See gh-16202
6 years ago
Stephane Nicoll
cba1e8ada0
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
04aadcdf2e
Make sure custom finalName is ignored
...
A read-only plugin parameter can still be set by the user which leads
to an invalid repackaged archive. This commit actually ignores the field
and uses the standard attribute instead.
Closes gh-16202
6 years ago
Stephane Nicoll
6ab942f295
Polish
6 years ago
Stephane Nicoll
554dec1a3e
Document finalName alternative for repackage goal
...
Closes gh-16334
6 years ago
Andy Wilkinson
878a635bfb
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
864942ad4f
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
ba4671f0ab
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
4900505425
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
fedb40a2bf
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
36c1c051b8
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
e23f72c8b0
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
9fbd38ab3c
Merge branch '1.5.x' into 2.0.x
6 years ago
Spring Operator
00ab30362c
Use HTTPS for external links in XML files
...
See gh-16270
6 years ago
Andy Wilkinson
b828b398b5
Merge branch '2.1.x'
6 years ago
Spring Operator
b32c0080c3
Update build and setup configuration to use HTTPS
...
See gh-16247
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
Madhura Bhave
3d0219c315
Merge branch '2.1.x'
6 years ago
Johnny Lim
c5b5f752ed
Polish
...
Closes gh-16219
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
Andy Wilkinson
f2e3e274a8
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
43c9a789ac
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
55fe26b075
Polish "Use kotlin_module not kotlin-module to identify Kotlin module metadata"
...
See gh-16004
6 years ago
Robert Thornton
cb6362df82
Use kotlin_module not kotlin-module to identify Kotlin module metadata
...
See gh-16004
6 years ago
Madhura Bhave
9bc9639954
Merge branch '2.1.x'
6 years ago
Madhura Bhave
012a956454
Fix typo in doc
6 years ago
dreis2211
d4ab101223
Use Assertions.contentOf() where possible
...
Closes gh-15793
6 years ago