This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249095

Summary: Dependency upon other maven project unrecognized in some cases
Product: projects Reporter: bondolo <bondolo>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: All   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description bondolo 2014-12-04 00:32:53 UTC
Rather than a dependency being recognized as another open project it is recognized only as an artifact from the local repository.

This occurs when on a system with a case insensitive filesystem and the project artifactId differs from a groupname only by case.

Imagine you have the following projects open in the IDE:

com.foo:Bar
com.foo.bar:Baz

If you try to add Bar as a dependency for Baz the IDE will frequently fail to recognize that Bar is an open project iff the local repository directory is "~/.m2/repository/com/foo/bar". However Net *will* correctly recognize Bar as an open project if the path happens to be the equivalent (on both MacOS and Windows) "~/.m2/repository/com/foo/Bar" directory.