An open API service indexing awesome lists of open source software.

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

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