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 248683 - Show Dependency usage and definition in pom.xml
Summary: Show Dependency usage and definition in pom.xml
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 09:31 UTC by tomzi
Modified: 2016-07-07 08:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2014-11-17 09:31:40 UTC
.) Open pom of multi-modul project
.) Go to depencyManagement section

It would be cool to have an icon (like in java interface defintion), where when you clicked on it, it would show all the modules where the <dependency> is used 
eg.

module1:

<dependencyManagement>
[o]        <dependency>
                <groupId>com.dependeny.tests</groupId>
                <artifactId>commons-test</artifactId>
                <version>${project.version}</version>
                <scope>test</scope>
            </dependency>

module2:
<dependencies>
[x]        <dependency>
                <groupId>com.dependeny.tests</groupId>
                <artifactId>commons-test</artifactId>
            </dependency>

module3:
<dependencies>
[x]        <dependency>
                <groupId>com.dependeny.tests</groupId>
                <artifactId>commons-test</artifactId>
            </dependency>

-> same as in interface -> class java files, here if I would click on 
  [o] it would popup where the dependencies are used.
  - module2
  - module3 
  where when I click further on 'module1' it would open the pom file of module1 and position the cursor to the dependency

  [x] would popup
  - module1
  ... navigating me to the <dependencyManagement>...


Product Version = NetBeans IDE 8.0.1 (Build 201408251540)
Operating System = Linux version 3.13.0-24-generic running on amd64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Comment 1 Martin Balin 2016-07-07 08:38:31 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss