Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

PREREQUISITES

Panel

Before you begin, you must have the following:

indent
1
1
* You must have installed the Maven repository client on your workstation.\\
\\
You can [download the latest version of Maven|http://maven.apache.org/download.html] now.\\
\\
Installing Maven on your workstation will insure that the Netbeans Maven Plugin will use the latest version of Maven.\\
\\
* You can [download the latest version of netBeans | http://netbeans.org/] now.


Installing the Maven plugin

Panel

(thumbs up) With NetBeans 6.7.1 and later releases, a new on demand feature has been incorporated into NetBeans.  With NetBeans 6.7.1 and later releases, there is no need to manually install the Maven plugin.  The Maven plugin will automatically self-install the first time Maven is used.

    1. Launch NetBeans IDE and choose Tools > Plugins from the main menu.  The Plugins Manager opens in a new window.

    2. Select the Available Plugins tab at the top of the Manager, then in the Search text field located in the upper right corner, type in maven.  The Search field serves as a filter, eliminating all plugin entries that do not contain the entered characters.

    3. You should see the Maven plugin entry as the only one remaining.  Important: Please check that the version of the Maven plugin you are installing is 3.1 and greater (Netbeans 6.5: In 6.5, the version should state 4.0.5 and above).
      Click Install.

    4. The NetBeans IDE Installer opens, listing the Maven plugins that are about to be installed.
      Click Next.

    5. Accept the license agreement that displays, and the Installer automatically begins downloading and validating the modules for installation.

    6. When the plugin has been installed, click Finish.

      note:
      indent
      1
      1
      NetBeans 6.5, NetBeans 6.7: The IDE will try to find your Maven binary on PATH or use the installation set in IDE's options. Only if none are found, it falls back to the embedded version with a warning in build output.