You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: mvn versions:show-dependency-updates shows newer versions that eventually need a higher Java version and are not compatible with a current project.
Potential solution:
Introduce a configuration setting javaVersion for the versions plugin.
When running the plugin checks the pom of the dependencies for maven.compiler.target (eventually other checks?). When found, compare to the javaVersion and propose an older version if too high (Q: can maven central be queried for a version list?).
When not found, print a warning and propose as is now.
This approach would allow to also use profiles to query for different Java versions
The text was updated successfully, but these errors were encountered:
Problem: mvn versions:show-dependency-updates shows newer versions that eventually need a higher Java version and are not compatible with a current project.
Potential solution:
Introduce a configuration setting javaVersion for the versions plugin.
When running the plugin checks the pom of the dependencies for maven.compiler.target (eventually other checks?). When found, compare to the javaVersion and propose an older version if too high (Q: can maven central be queried for a version list?).
When not found, print a warning and propose as is now.
This approach would allow to also use profiles to query for different Java versions
The text was updated successfully, but these errors were encountered: