apache / apache/netbeans-jackpot30
maven: Update lang level detection
- Dominant language
- Java
- Stars
- 6
- Forks
- 7
- Avg merge
- 18h 43m
- Merged PRs (30d)
- 2
Description
the maven plugin is currently only checking the `source` element, not the property or `release` version.
https://github.com/apache/netbeans-jackpot30/blob/86629e0ae5dfec0a64150b45cf124414e66dd740/cmdline/maven/src/main/java/org/netbeans/modules/jackpot30/maven/RunJackpot30.java#L48
If the property is left undefined, it would be better to use the runtime JDK version (max supported?) instead of a hardcoded fallback, analog to how javac works or the `maven-compiler-plugin`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at cmdline/maven/src/main/java/org/netbeans/modules/jackpot30/maven/RunJackpot30.java around line 48 and trace how the Maven plugin detects the language level. Compare handling of source, configured properties, release, and the runtime JDK; done means the plugin no longer relies only on source or an unexplained hardcoded fallback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100