You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/11/27 08:21:00 UTC

[jira] [Commented] (MCOMPILER-560) Circular dependency is allowed?

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

Michael Osipov commented on MCOMPILER-560:
------------------------------------------

Are you reporting a bug or you have a question? Questions go to the users mailing list...

> Circular dependency is allowed?
> -------------------------------
>
>                 Key: MCOMPILER-560
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-560
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.11.0
>            Reporter: mikael petterson
>            Priority: Major
>
> Hi,
> We are building the following in Eclipse with m2e plugin:
> product A
> -- module1
> -- module2 has dependency to lib1
> -- module3
>    --- this module contains com.company.interfaces.ManagedAbstraction
>    
> lib1 
>  -- dependency to module3 class com.company.interfaces.ManagedAbstraction from com.company.lib1.helpers.HelperBase. Dependency is set as 'provided' in it's repo's pom.xml
> When I build product A in Eclipse with m2e plugin I get the error message:
> The type com.company.interfaces.ManagedAbstraction cannot be resolved. It is indirectly referenced from required type 
> com.company.lib1.helpers.HelperBase
> but it is not visible when I build with:
> mvn clean compile
> The above command is not giving any issues.
> Matbe there is a reasonable explanation for it?
> //mike
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)