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 256060 - Hint says to "Resolve Project Problems" but there are none.
Summary: Hint says to "Resolve Project Problems" but there are none.
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 5 votes (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2015-10-20 18:58 UTC by swpalmer
Modified: 2016-05-31 08:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

IDE log (226.53 KB, text/plain)
2015-10-20 18:58 UTC, swpalmer

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2015-10-20 18:58:28 UTC
Product Version = NetBeans IDE 8.1 RC2 (Build 201510122201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens sometimes, but not always

  * I have a Maven project, one module of many.  This module depends on other modules that *have not been built yet*
  * Earlier versions of siblings may have been built.  This usually happens when someone else does a maven release and I pull in the changes that have bumped the version numbers in the POMs
  * On the package declaration line it is highlighted in yellow with the hint indicating: "Missing mandatory Classpath entries. Resolve Project Problems."
  * Activating the hint brings up a "Resolve Project Problems" dialog where there are no problems listed.

    The project builds fine when building from the parent POM and does not actually have any problems.  NetBeans appears to be confused because sibling projects are not built yet.
   After running mvn install on the parent POM so all the modules are built, the warning/hint goes away.

  The Hint/Warning from NetBeans is wrong.  It should be smart enough to know that the missing dependencies are sibling projects as referenced in the modules section of the parent pom.  The hint should say to build the other modules.
Comment 1 swpalmer 2015-10-20 18:58:32 UTC
Created attachment 156854 [details]
IDE log
Comment 2 Jiri Kovalsky 2015-10-22 18:00:54 UTC
Reassigned for further evaluation.