aleksandr-m / gitflow-maven-plugin

The Git-Flow Maven Plugin supports various Git workflows, including GitFlow and GitHub Flow. This plugin runs Git and Maven commands from the command line.
https://aleksandr-m.github.io/gitflow-maven-plugin/
Apache License 2.0
488 stars 180 forks source link

pom.xml: set the java source version to javadoc source version as well #317

Closed mmusenbr closed 2 years ago

mmusenbr commented 2 years ago

Java version is specified with 1.7 in the pom.xml. Building the project locally with a newer JDK > 8 produces errors with javadoc. To circumvent this issue, the javadoc configuration is extended by specifying the javadoc source version to 1.7 as well.

aleksandr-m commented 2 years ago

Can you copy javadoc plugin to build plugins section without execution but with configuration? Should be enough to affect profile build also. And please use java.version property.

aleksandr-m commented 2 years ago

Should be resolved.