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 262694 - Java-Hint-Generator generates invalid dependencies in pom.xml
Summary: Java-Hint-Generator generates invalid dependencies in pom.xml
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-05 22:58 UTC by markiewb
Modified: 2016-07-05 22:58 UTC (History)
0 users

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 markiewb 2016-07-05 22:58:30 UTC
* Create a maven based netbeans module
* Create a Java Hint using the Wizard (check each entry and provide names/descriptions)
* Clean and Build of the module

ACTUAL: Exception, that the module cannot be build

The following artifacts could not be resolved: org.netbeans.api:org-netbeans-modules-parsing-nb:jar:RELEASE81, org.netbeans.api:org-netbeans-modules-projectapi-nb:jar:RELEASE81: Could not find artifact org.netbeans.api:org-netbeans-modules-parsing-nb:jar:RELEASE81 in netbeans (http://bits.netbeans.org/nexus/content/groups/netbeans) -> [Help 1]
The pom.xml contains

        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-netbeans-modules-parsing-nb</artifactId>
            <version>RELEASE81</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-netbeans-modules-projectapi-nb</artifactId>
            <version>RELEASE81</version>
            <scope>test</scope>
        </dependency>

ACTUAL: module can be build using

        <dependency>
            <groupId>org.netbeans.modules</groupId>
            <artifactId>org-netbeans-modules-parsing-nb</artifactId>
            <version>RELEASE81</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.netbeans.modules</groupId>
            <artifactId>org-netbeans-modules-projectapi-nb</artifactId>
            <version>RELEASE81</version>
            <scope>test</scope>
        </dependency>

Note the change of the group id!

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
Java: 1.8.0_71; Java HotSpot(TM) 64-Bit Server VM 25.71-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_71-b15