Tests never exercise @{baseVersion}@ used in DEFAULT constants
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- java
- Domain
- build-system, testing
Research direction
Start by reading MappingUtils.java around lines 72 and 78, then inspect MappingUtilsTest.java and run its existing tests. Add a focused test that evaluates an expression containing @{baseVersion}@ and confirms it resolves as expected; done means the test passes and covers the previously untested default mapping behavior.
Written by the indexing model from the issue text.
Description
Description
Both DEFAULT_FILE_NAME_MAPPING and DEFAULT_FILE_NAME_MAPPING_CLASSIFIER use @{baseVersion}@ in their expressions (MappingUtils.java:72,78). However, every test in MappingUtilsTest.java uses @{version}@ in its expressions instead.
Risk
There is no test coverage verifying that @{baseVersion}@ resolves correctly, or documenting the behavioral difference between baseVersion and version.
Suggestion
Add at least one test that evaluates a mapping expression containing @{baseVersion}@ to ensure it resolves as expected.
- Dominant language
- Java
- Stars
- 2
- Forks
- 7
- Avg merge
- 3h 47m
- Merged PRs (30d)
- 3
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-mapping
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/maven-mapping#63 ·
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 85/100
apache/maven-mapping#62 ·
-
apache/maven-mapping#67 · 1 assignee ·
All issues in apache/maven-mapping
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