Overview
HOWTOs

Plugin Documentation

Goals available for this plugin:

Goal Description
nb-repository:download Goal for retrieving and expanding the lucene index of the given repository. That in turn is used by the populate goal.
nb-repository:help Display help information on nb-repository-plugin.
Call mvn nb-repository:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
nb-repository:populate A goal for identifying NetBeans modules from the installation and populating the local repository with them. Optionally you can also deploy to a remote repository.

If you are looking for an existing remote repository for NetBeans artifacts, check out http://bits.netbeans.org/nexus/content/groups/netbeans/, it contains API artifacts for multiple releases. http://bits.netbeans.org/netbeans/trunk/maven-snapshot/ may also be used for SNAPSHOT artifacts if you wish to test development builds.

See this HOWTO on how to generate the NetBeans binaries required by this goal.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.1.1
JDK 1.6
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.netbeans.maven</groupId>
          <artifactId>nb-repository-plugin</artifactId>
          <version>1.4-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.netbeans.maven</groupId>
        <artifactId>nb-repository-plugin</artifactId>
        <version>1.4-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"