[ 
https://issues.apache.org/jira/browse/MNG-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16983976#comment-16983976
 ] 

Karl Heinz Marbaise commented on MNG-6730:
------------------------------------------

The related issue has been done with Maven 3.6.2 can you check that again if 
this solve or not?

> 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)

Reply via email to