Fork me on GitHub

Plugin Documentation

This report describes goals, parameters details, requirements and sample usage of this plugin.

Goals

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. https://netbeans.apidesign.org/maven2/, 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.2.5
JDK 1.8

System Requirements History

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

Plugin Version Maven JDK
14.0 3.2.5 8
1.7 3.1.1 8
from 1.4 to 1.6 3.1.1 7

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>14.2-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>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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