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 - Dependency upon other maven project unrecognized in some cases
Summary: Dependency upon other maven project unrecognized in some cases
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: All Mac OS X
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2014-12-04 00:32 UTC by bondolo
Modified: 2014-12-04 00:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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:

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.