Overview
HOWTOs

Plugin Documentation

Goals available for this plugin:

Goal Description
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 Maven Central. http://bits.netbeans.org/nexus/content/groups/netbeans/, contains contains API artifacts for older NetBeans releases. https://repository.apache.org/content/groups/snapshots may also be used for dev-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.8
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.apache.netbeans.utilities</groupId>
          <artifactId>nb-repository-plugin</artifactId>
          <version>1.8-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.apache.netbeans.utilities</groupId>
        <artifactId>nb-repository-plugin</artifactId>
        <version>1.8-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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