https://github.com/jetty/jetty-parent
Eclipse Jetty® - Parent Pom
https://github.com/jetty/jetty-parent
Last synced: 5 months ago
JSON representation
Eclipse Jetty® - Parent Pom
- Host: GitHub
- URL: https://github.com/jetty/jetty-parent
- Owner: jetty
- Created: 2011-07-14T00:52:14.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2025-08-05T14:20:34.000Z (5 months ago)
- Last Synced: 2025-08-12T08:54:58.718Z (5 months ago)
- Homepage: https://eclipse.dev/jetty
- Size: 121 KB
- Stars: 0
- Watchers: 9
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of a jetty-parent-pom
The goal is to reduce copy/paste of the same content in multiple repositories.
having a common set of plugins version. Updated monthly via dependabot with maybe a monthly release of this parent.
We don't really need to copy/paste the SAME plugins versions in multiple poms and having to run dependabot in so many places.
# Jdk setup
Per default the pom configure projects to use Jdk 1.8, (enforce plugins as well)
If you need to be 11 as minimum, just use `17`
This single property will be used for:
- `${jdk.version.minimum}`
- `${jdk.version.minimum}`
- `${jdk.version.minimum}` (only for jdk9+)
If you need some special trick such build should use 11 but I need 8 as produced bytecode, just use:
- `11`
- `8`
There is no need to configure target and release as it will be ignored by compiler because release param has been configured (you can of course but it is just ignored)
# Maven setup
The property `3.9` will configure the enforcer to enforce this as minimum Maven version to use