Christian Lenz created NETBEANS-2342:
----------------------------------------

             Summary: Jump to another pom, doesn't work for <build><plugin>
                 Key: NETBEANS-2342
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2342
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Maven
    Affects Versions: 10.0
         Environment: Windows 10 (64bit), NetBeans 10, JDK 11.0.2
            Reporter: Christian Lenz
            Assignee: John McDonnell


According to the implementation of this ticket: 
https://issues.apache.org/jira/browse/NETBEANS-290 (Jump to another pom within 
your pom) it is not working for this part:
{code}
    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>nbm-maven-plugin</artifactId>
                <version>3.13</version>
                <extensions>true</extensions>
            </plugin>
      </plugins>
   </build>
{code}

So I can't ctrl + click on org.codehaus.mojo or nbm-maven-plugin. Please see 
this project with the provided pom file: 
https://github.com/Chris2011/DotNetCore-for-NetBeans 
(https://github.com/Chris2011/DotNetCore-for-NetBeans/blob/develop/pom.xml#L8-L50)

I tested it in intelliJ and there is no problem, It will open the pom of the 
plugins. Antoher thing is, that if you have a parent pom it is also not 
working. Atm I don't have an example, I need to create a little project for 
that. I figured it out, while we are using a parent pom.

The code looks like this:
{code}
    <parent>
        <groupId>net.sprd.assortment</groupId>
        <artifactId>sprd-assortment-spring-boot-starter-parent</artifactId>
        <version>1.0.3</version>
        <relativePath/>
    </parent>
{code}

Nice to know, when you set the cursor to the line of the groupid or artifactid, 
I got a bubble on that line (linenumbers) where I can click on it. But your 
ctrl + click, what I was intended to do is not working.

So first in NetBeans it is working, with the bubble and in IntelliJ it is still 
working as expected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to