[MCOMPILER-540] useIncrementalCompilation=false may add generated sources to the sources list
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- build-system
Research direction
Check the annotationProcessingTest branch of mensinda/quarkus-stuff and run generatedSourcesInJavacArgs.sh to reproduce the source-list issue. Read MCOMPILER-538 first, since the reported fix depends on it, then compare the behavior with GitHub pull request #192. Done means generated sources are not added to javac's source list when useIncrementalCompilation is false.
Written by the indexing model from the issue text.
Description
Daniel Mensinger opened MCOMPILER-540 and commented
When using the maven-compiler-plugin with <useIncrementalCompilation>false</useIncrementalCompilation>, source files from the generated sources root directory may be added to the list of source files. This can lead to javax.annotation.processing.FilerException: Attempt to recreate a file for type XXXX exceptions.
To reproduce:
Checkout the annotationProcessingTest branch of https://github.com/mensinda/quarkus-stuff/tree/annotationProcessingTest and run the generatedSourcesInJavacArgs.sh script.
Note: The fix in my PR depends on MCOMPILER-538 to fully work.
Issue Links:
- MCOMPILER-538 Do not add target/generated-sources/annotations to the source roots
Remote Links:
- Dominant language
- Java
- Stars
- 261
- Forks
- 194
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 17
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
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-compiler-plugin
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
apache/maven-compiler-plugin#1148 · 2 comments ·
Maintainers usually reply within 1 day
-
3.x bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
apache/maven-compiler-plugin#1140 · 1 comment ·
Maintainers usually reply within 1 day
-
3.x enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
apache/maven-compiler-plugin#1138 ·
Maintainers usually reply within 1 day
-
3.x bug
Difficulty 4/5 3-5 days Newbie friendliness 64/100
apache/maven-compiler-plugin#1137 ·
Maintainers usually reply within 1 day
-
3.x bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
apache/maven-compiler-plugin#1124 · 1 comment · 3 reactions ·
Maintainers usually reply within 1 day
All issues in apache/maven-compiler-plugin
Similar issues
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)Possibly taken @dadiyang claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
macrozheng/mall#1016 ·
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mixPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
apache/rocketmq-dashboard#6110 ·
Maintainers usually reply within 4 days
-
Python 3.15 supportPossibly taken @amnesiaof claimed this today. OpenL: python L: python:uv
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dependabot/dependabot-core#16524 · 1 comment ·
Maintainers usually reply within 1 day
-
`Processing lsp` never exits and leaves orphaned processesPossibly taken @overcast302 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
processing/processing4#1578 · 1 comment ·
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PlayersCommittee/gemp-swccg-public#1174 ·
Maintainers usually reply within 2 days