Stephane Nicoll
e2dd0ef9a4
Adapt AotProcessor to changes in Spring Framework
...
Closes gh-32560
3 years ago
Andy Wilkinson
51df7813a5
Remove code deprecated in 2.x and add since and forRemoval attributes
...
Closes gh-32548
Closes gh-32549
3 years ago
Madhura Bhave
afce559050
Remove unused dependency from Maven integration test
3 years ago
Phillip Webb
20b91c5ae2
Include 'classesDirectory' in ProcessTestAotMojo classpath
...
Update `ProcessTestAotMojo` so that the classesDirectory and
the testClassesDirectory are on the classpath when compiling
code.
See gh-32191
3 years ago
Stephane Nicoll
88f2b33cc1
Add AOT-generated classes to classpath of the compiler
...
See gh-32304
3 years ago
Stephane Nicoll
5e24b5a110
Stop using RuntimeHintsUtils#registerAnnotation
3 years ago
Andy Wilkinson
746ed84120
Polish ProcessTestAotMojo
3 years ago
Phillip Webb
09bd531fe5
Add Maven plugin support for processing test contexts Ahead-of-time
...
Refactor and update the Spring Boot Maven Plugin so that it can
be used to perform AOT processing of test classes.
Closes gh-32191
3 years ago
Phillip Webb
2f6354f633
Rename 'aot-generate' goal to process-aot'
...
See gh-31918
3 years ago
Phillip Webb
546d7b41e9
Polish 'Add JVM options to prevent warnings with asciidoctor'
...
See gh-32123
3 years ago
Dave Syer
7b4db4cafc
Add JVM options to prevent warnings with asciidoctor
...
See gh-32123
3 years ago
Stephane Nicoll
c67010ddd1
Make test more robust
3 years ago
Stephane Nicoll
4a00d76b85
Adapt integration tests to proxy changes in Spring Framework
3 years ago
Phillip Webb
e08c16dfd6
Polish
3 years ago
Stephane Nicoll
41e8697445
Polish
3 years ago
Stephane Nicoll
7d860df5f0
Polish
3 years ago
Stephane Nicoll
b0bc7cd85b
Reuse JavaProcessExecutor
...
See gh-31682
3 years ago
Stephane Nicoll
c3ae6519f4
Reuse SpringApplicationClassFinder
...
See gh-31682
3 years ago
Stephane Nicoll
472b0b8bcb
Remove AbstractApplicationRunMojo intermediate layer
...
This commit reverts the intermediate layer that was created to
accommodate with the AOT use case.
See gh-31682
3 years ago
Stephane Nicoll
6f8b9288f3
Extract AotGenerateMojo to its own structure
...
This commit stops AotGenerateMojo from being an extension of the
regular run infrastructure and used the opportunity to extract a
number of utility classes to run a Java process.
As a result, not all features of running an application is supported
and exposed options now are targeted against AOT.
See gh-31682
3 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
3 years ago
Scott Frederick
4e0b3aad9f
Clarify how docker image publishing registry is determined
...
Closes gh-31820
3 years ago
Scott Frederick
f9cf31e59e
Fix compile errors
...
See gh-28844
3 years ago
Scott Frederick
9b0cdac58a
Simplify support for pushing images to unauthenticated registries
...
This commit removes the requirement that `docker.publishRegistry`
configuration must be provided when an image is published by the Gradle
or Maven plugin.
Fixes gh-28844
3 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
4 years ago
dreis2211
fb45fc4819
Use Files.writeString() and Files.readString() where possible
...
See gh-31459
4 years ago
dreis2211
a639685053
Remove obsolete Java compatibility code
...
See gh-31452
4 years ago
Stephane Nicoll
bbb5966bca
Upgrade integration tests to Apache Maven 3.8.5
...
Closes gh-31260
4 years ago
Stephane Nicoll
1c94f835c7
Copy AOT-generated classes
...
Closes gh-31245
4 years ago
Stephane Nicoll
0dbcb5f6d3
Start building against Spring Framework 6.0.0-M5 snapshots
...
See gh-31241
4 years ago
Damiano Albani
3f91ed037f
Fix Custom Layers Configuration section title in Maven plugin docs
...
See gh-31172
4 years ago
Andy Wilkinson
14af1bb2dc
Polish
4 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
4 years ago
Phillip Webb
05a6447a8d
Polish "Resolve errors in layers.xsd"
...
Validate loaded `layer.xml` files against the XSD and additionally
update `<layers>` sub elements to have a 'minOccurs' of 0.
See gh-31126
4 years ago
Liuzh
0d78323b60
Resolve errors in layers.xsd
...
Update `layer-*.xsd` files with following fixes:
- Rename <includeProjectDependencies> to <includeModuleDependencies>
- Rename <excludeProjectDependencies> to <excludeModuleDependencies>
See gh-31126
4 years ago
Andy Wilkinson
c4beca3e01
Fix Maven-based AOT generation on Windows
...
Closes gh-30525
4 years ago
Andy Wilkinson
bcc27c5d22
Deleting existing output before running AOT processing
...
Closes gh-30981
4 years ago
Andy Wilkinson
08768b5821
Join compile classpath using system-dependent separator
...
See gh-30525
4 years ago
Andy Wilkinson
0ce6e437a9
Align AotGenerateTests with spring.factories changes in Framework
4 years ago
Phillip Webb
8cf63a28b8
Update AOT work to latest Framework code
4 years ago
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
4 years ago
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
4 years ago
Stephane Nicoll
e81c6337c6
Add support for invoking AOT to the Maven Plugin
...
This commit adds an `aot-generate` goal to the Maven Plugin that
triggers AOT generation on the application. The new goal shares a
number of properties with the existing `run` goal and uses the same
algorithm to detect the main class to use.
Closes gh-30525
4 years ago
Phillip Webb
dd5696b59b
Update copyright year of changed files
4 years ago
Scott Frederick
ef79a18514
Use provided scope for Maven core dependencies in Maven plugin
...
Fixes gh-29520
4 years ago
Stephane Nicoll
5f66019706
Remove the ability to run an application in the Maven process
...
Closes gh-30501
4 years ago
Stephane Nicoll
2c5398898b
Polish "Deprecate running an application in the Maven JVM"
...
See gh-30479
4 years ago
Stephane Nicoll
09696c90c7
Deprecate running an application in the Maven JVM
...
This commit deprecates the "fork" property so that the application
always runs in a dedicated process. This aligns with the behaviour of
the Gradle plugin, and simplifies the lifecycle of certain features that
would not work in a non-forked process.
Closes gh-30479
4 years ago
Scott Frederick
de321b00b7
Support podman for building images
...
Closes gh-30196
4 years ago
Scott Frederick
7ad538cd84
Add option to use configured Docker host in builder
...
This commit adds support for a `docker.bindHostToBuilder` option in
the Maven and Gradle image building goal and task.
Fixes gh-29384
4 years ago