New select-jdk-toolchain goal should warn about empty config
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- java
- Domain
- build-system
Research direction
Start with the referenced ToolchainMojo.java warning and locate the implementation of the new select-jdk-toolchain goal. Compare how each goal handles an empty configuration, then determine whether the fix should only warn or also consider the suggested legacy-configuration fallback. Done means the silent exit is addressed consistently with the issue’s intended behavior.
Written by the indexing model from the issue text.
Description
Affected version
3.2.0
Bug description
Old toolchain goal was warning about empty config: ToolchainMojo.java:77:
getLog().warn("No toolchains requirements configured.");
Maybe the new goal should do something similar. Right now it just silently exits.
Found it after mixing old goal configuration with the new select- goal.
Maybe it could be beneficial to parse old configuration in the new goal as a fallback?
- Dominant language
- Java
- Stars
- 27
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/maven-toolchains-plugin
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
All issues in apache/maven-toolchains-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100