PK generates property java.version with hard coded value 11 in pk_generated_parent.pom. This can be overridden in pom.xml to 17 if necessary.
However in multi-module projects this will always override java.version to 11, even if all modules should use 17. Thus it would be better to not add property java.version when there is a custom parent pom (parameter parentPom: in .project-keeper.yml).
PK generates property
java.version
with hard coded value11
inpk_generated_parent.pom
. This can be overridden inpom.xml
to17
if necessary.However in multi-module projects this will always override
java.version
to 11, even if all modules should use 17. Thus it would be better to not add propertyjava.version
when there is a custom parent pom (parameterparentPom:
in.project-keeper.yml
).Relevant method:
PomFileGenerator.properties()
.