You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Sérgio Siegrist (Jira)" <ji...@apache.org> on 2020/08/03 15:10:00 UTC

[jira] [Created] (NETBEANS-4675) Maven modular classpath when main module is on the same directory

Sérgio Siegrist created NETBEANS-4675:
-----------------------------------------

             Summary: Maven modular classpath when main module is on the same directory
                 Key: NETBEANS-4675
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4675
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Maven
            Reporter: Sérgio Siegrist
         Attachments: maven-nb.png, maven-nb.zip

When a modular Maven project has the main module on the same directory - referenced by a secondary pom.xml - NetBeans displays its folders and classes on the main project and builds them fine. But it doesn't recognize the module's classpath for its classes, and offers to include dependencies on the main project's POM, which is wrong.

Other IDEs such as Eclipse and IDEA recognize the module's classpath correctly.

A minimal test case is attached.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists