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 245984

Summary: Auto-completion for version of dependency not working when using properties
Product: projects Reporter: terje7601
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description terje7601 2014-07-25 09:05:12 UTC
For example, if I have in my pom.xml:

<dependency>
    <groupId>${project.groupId}</groupId>
    <artifactId>${my.custom.property}</artifactId>
    <version>0.1.0</version>
</dependency>

then auto-completion of the version does not work. If I replace the property references with the actual id's, everything works as normal.

When I have an empty version tag & hit Ctrl+space nothing happens. If I start entering a version, NetBeans says "Incomplete result, still processing indices...", but doesn't give any versions.



Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 2
Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Tomas Stupka 2015-06-23 15:09:24 UTC
fixed in jet-main #d6bd2a1e1ee1
Comment 2 Quality Engineering 2015-06-24 02:27:04 UTC
Integrated into 'main-silver', will be available in build *201506240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d6bd2a1e1ee1
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #245984 - Auto-completion for version of dependency not working when using properties