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 - Auto-completion for version of dependency not working when using properties
Summary: Auto-completion for version of dependency not working when using properties
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 09:05 UTC by terje7601
Modified: 2015-06-24 02:27 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 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