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 200239 - Mojo parameters missing Javadoc
Summary: Mojo parameters missing Javadoc
Status: VERIFIED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 15:27 UTC by _ gtzabari
Modified: 2011-08-24 19:41 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 _ gtzabari 2011-07-19 15:27:26 UTC
Product Version: NetBeans IDE Dev (Build 201107170600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)

When I invoke code-complete on standard Maven plugins I get Javadoc for their parameters. When I attempt to do the same thing for my own custom plugin I don't get any Javadoc. I see the descriptions in META-INF/plugin.xml but Netbeans doesn't seem to use them.
Comment 1 Jesse Glick 2011-07-19 17:18:35 UTC

*** This bug has been marked as a duplicate of bug 186939 ***
Comment 2 _ gtzabari 2011-07-19 17:43:39 UTC
Jesse,

I don't think this is a duplicate. bug 186939 states this is fixed in build 201107060600 but I reported this bug in 201107170600.
Comment 3 Jesse Glick 2011-07-19 18:07:04 UTC
The reported Version is 7.0.1. If you are using a nightly development build, in which bug #186939 is fixed, then you need to be setting Version to 7.1. If the aforementioned fix does not help you, then you need to supply steps to reproduce the problem from scratch. (Do make sure your local repository has been recently reindexed.)
Comment 4 _ gtzabari 2011-07-19 19:02:13 UTC
Jesse,

I'm not sure I understand. I am using a nightly build that should have this fixed. When I launch it, I see "Netbeans 7.1" in the splash screen. How do I set Version to 7.1 as you mentioned? I assume you mean this is supposed to be set in the application, not in Bugzilla.
Comment 5 Jesse Glick 2011-07-19 20:25:31 UTC
(In reply to comment #4)
> How do I set Version to 7.1 as you mentioned?

There is a pulldown in Bugzilla for this issue which is currently set to "7.0.1". It should be "7.1".
Comment 6 _ gtzabari 2011-07-19 20:59:55 UTC
Done. Should I reopen this issue (with repro steps) or should I reopen bug 186939?
Comment 7 Jesse Glick 2011-07-19 21:41:30 UTC
Reopen this with steps to reproduce.
Comment 8 _ gtzabari 2011-08-18 13:34:45 UTC
Repro steps:

1. Create a new Maven Java Application project
2. Insert the following code sniplet after <dependencies> in the pom.xml file:

  <build>
    <plugins>
        <plugin>
            <groupId>com.googlecode.cmake-maven-project</groupId>
            <artifactId>cmake-maven-plugin</artifactId>
            <version>0.3</version>
            <executions>
                <execution>
                    <id>cmake</id>
                    <phase>generate-resources</phase>
                    <goals>
                        <goal>generate</goal>
                        <goal>compile</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <sourcePath>${basedir}/../cpp</sourcePath>
                <targetPath>${project.build.directory}/cmake/${platform}</targetPath>
                <generator>Visual Studio 10</generator>
                <projectPath>${project.build.directory}/cmake/${platform}/jperipheral.sln</projectPath>
                <buildType>${build.type}</buildType>
                <environmentVariables>
                    <BOOST_HOME>${project.build.directory}/dependency/boost/${boost.classifier}</BOOST_HOME>
                    <JACE_HOME>${project.build.directory}/dependency/jace/${classifier}</JACE_HOME>
                </environmentVariables>					
            </configuration>
        </plugin>
    </plugins>
  </build>

3. Notice how code-complete does not bring up any Javadoc for <goal> or any parameter found inside <configuration>.
Comment 9 Jesse Glick 2011-08-18 15:46:02 UTC
It does for me. Are you sure your Central index is up to date?
Comment 10 _ gtzabari 2011-08-24 15:34:54 UTC
Works for me as well in 7.1 dev build 201108190601. Either my userdir was corrupt or this was fixed sometime between 7.0.1 and 7.1.
Comment 11 Jesse Glick 2011-08-24 19:41:22 UTC
(In reply to comment #10)
> or this was fixed sometime between 7.0.1 and 7.1.

Well the fix, bug #186939, _was_ for 7.1. I guess you mean "sometime between when I reported this and now".