[
https://issues.apache.org/jira/browse/MNG-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MNG-6730.
-------------------------------
Fix Version/s: (was: waiting-for-feedback)
Resolution: Duplicate
No reaction, assuming to be a dup.
> When a ../ relative path is used for the sourceDirectory it is added twice
> resulting in the compiler reporting duplicate classes
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-6730
> URL: https://issues.apache.org/jira/browse/MNG-6730
> Project: Maven
> Issue Type: Bug
> Affects Versions: 3.6.1
> Environment: Linux
> Reporter: Peter Lawrey
> Priority: Minor
>
> When using a relative path to pull in source from another module the source
> root is added twice in this situation. This doesn't happen with 3.6.0
> <sourceDirectory>../another-module/src/main/java</sourceDirectory>
> With -X you see
> Source roots:
> base-directory/this-module/../another-module/src/main/java
> *and*
> base-directory/another-module/src/main/java
> making every class appear twice.
>
> Workaround: use 3.5.x or 3.6.0
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)