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 189691 - Nonexistent deps not displayed at all in Dependencies
Summary: Nonexistent deps not displayed at all in Dependencies
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 188970
  Show dependency tree
 
Reported: 2010-08-19 17:07 UTC by Jesse Glick
Modified: 2010-09-17 10:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-08-19 17:07:14 UTC
If you edit a POM of an originally valid project to say

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.7</version>
            <scope>test</scope>
        </dependency>

where you have no junit-3.7.jar locally but your index is complete, it will appear as a missing dep in the UI as expected, though you will get a warning in the console:

[WARNING] Unable to get artifact junit:junit:jar:3.7 from repository central (http://repo1.maven.org/maven2): no remote connections

But if you set the version to 3.6 (there was never such a release), you get in console

[WARNING] Unable to get artifact junit:junit:pom:3.6 from repository central (http://repo1.maven.org/maven2): no remote connections

(note attempt to download POM rather than JAR) and the dependency simply disappears.

Regression I guess due to fix of bug #188970; need for offline embedder to nonetheless pretend to find missing POMs. Also related: http://jira.codehaus.org/browse/MEVENIDE-634
Comment 1 Jesse Glick 2010-08-19 18:47:46 UTC
core-main #f24ba54b4cf5
Comment 2 Quality Engineering 2010-08-25 03:24:36 UTC
Integrated into 'main-golden', will be available in build *201008250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f24ba54b4cf5
User: Jesse Glick <jglick@netbeans.org>
Log: #189691: Nonexistent deps not displayed at all in Dependencies