[GH-ISSUE #604] Figure out appropriate way to include multiple java source directories in maven #5807

Closed
opened 2026-05-28 12:20:38 +00:00 by Dark98 · 3 comments
Owner

Originally created by @Dark98 on GitHub (Feb 6, 2023).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/604

The current maven setup works fine, but breaks the project in ide's

Originally created by @Dark98 on GitHub (Feb 6, 2023). Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/604 The current maven setup works fine, but breaks the project in ide's
Author
Owner

@advnau commented on GitHub (Feb 6, 2023):

I use the build-helper-maven-plugin on my other project. Not sure if that is appropriate but searching around/stackoverflow led me to it.

https://github.com/MatthewBishop/apollo/blob/core/pom.xml#L11-L32

<!-- gh-comment-id:1418587593 --> @advnau commented on GitHub (Feb 6, 2023): I use the build-helper-maven-plugin on my other project. Not sure if that is appropriate but searching around/stackoverflow led me to it. https://github.com/MatthewBishop/apollo/blob/core/pom.xml#L11-L32
Author
Owner

@advnau commented on GitHub (Feb 6, 2023):

Included this with my PR https://github.com/2006-Scape/2006Scape/pull/603

https://github.com/2006-Scape/2006Scape/pull/603/commits/6e53efcabaf40c6ee27d4cc7f0031eaaad511c7a

It builds successfully with maven and loads and builds both dirs in eclipse. I will try intellij

<!-- gh-comment-id:1419538172 --> @advnau commented on GitHub (Feb 6, 2023): Included this with my PR https://github.com/2006-Scape/2006Scape/pull/603 https://github.com/2006-Scape/2006Scape/pull/603/commits/6e53efcabaf40c6ee27d4cc7f0031eaaad511c7a It builds successfully with maven and loads and builds both dirs in eclipse. I will try intellij
Author
Owner

@advnau commented on GitHub (Feb 6, 2023):

Just did a build through intellij with updated pom and it also works in there

image

<!-- gh-comment-id:1419547407 --> @advnau commented on GitHub (Feb 6, 2023): Just did a build through intellij with updated pom and it also works in there ![image](https://user-images.githubusercontent.com/55411296/217053460-c51e61a0-354d-4e6f-a85f-12b1e8b887bc.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#5807