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
eclipse: Let IDE compile into a different directory than target/ #365
Comments
this is the right solution for this problem. As for having a global parent pom.xml? YMMV. Some projects using hot-reload benefit from having the build output shared between the IDE and CLI. |
Good hint re. clean, tx. I just don't trust mvn anymore without clean. 😉
|
Following up on #340 (and my various PRs related to that), I'm still regularly hitting another Eclipse IDE related problem when working on this project: Having both the IDE and a CLI Terminal for
mvn
open, one gets those annoying "conflicts" when Eclipse (M2E) seems to Build at the wrong time and interfere with a Maven build running on the CLI. For example, I've just hit the problem below, which of course makes no sense at all, and goes away after I disable Project > Build Automatically and then rebuild on the CLI:But one should not have to manually work around this of course, this isn't productive. In other projects I have worked on, I've solved this by configuring Eclipse (via a change to a projects POM) to use
target-ide/
instead oftarget/
, so that the two build environments don't step onto each others foot.If there is no objection, I'll raise a PR which proposes the same for this project as well.
PS: Some days I wonder if we shouldn't have a better global parent POM for this - @fbricon ?
The text was updated successfully, but these errors were encountered: