-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Java] fmpp-maven-plugin generates files directly under target/generated-sources #41787
Comments
laurentgo
added a commit
to laurentgo/arrow
that referenced
this issue
May 22, 2024
Per convention fmpp-maven-plugin should not directly generate files under target/generated-sources but into a subdirectory. Changing config to output files under `target/generated-sources/fmpp`
This also tends to confuse IntelliJ which expects a subdirectory, and so it doesn't see the generated sources -> IDE complains about undefined symbols |
lidavidm
pushed a commit
that referenced
this issue
May 23, 2024
### Rationale for this change Per convention fmpp-maven-plugin should not directly generate files under target/generated-sources but into a subdirectory. ### What changes are included in this PR? Changing config to output files under `target/generated-sources/fmpp` ### Are these changes tested? CI ### Are there any user-facing changes? No * GitHub Issue: #41787 Authored-by: Laurent Goujon <laurent@apache.org> Signed-off-by: David Li <li.davidm96@gmail.com>
Issue resolved by pull request 41788 |
vibhatha
pushed a commit
to vibhatha/arrow
that referenced
this issue
May 25, 2024
### Rationale for this change Per convention fmpp-maven-plugin should not directly generate files under target/generated-sources but into a subdirectory. ### What changes are included in this PR? Changing config to output files under `target/generated-sources/fmpp` ### Are these changes tested? CI ### Are there any user-facing changes? No * GitHub Issue: apache#41787 Authored-by: Laurent Goujon <laurent@apache.org> Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
fmpp-plugin-maven
is used inarrow-vector
module to generate source files before the compilation phase. Those files are generated directly undertarget/generated-sources
where they conflict with thetarget/generated-sources/annotations
directory created byjavac
. Per convention each plugin generates files under its own directory to prevent risks of conflicts.Although it doesn't cause a direct issue with the build, it may also confuse some IDEs (Eclipse and VSCode notably) which are detecting overlapping source directories
Component(s)
Java
The text was updated successfully, but these errors were encountered: