nbm:autoupdate

Full name:

org.codehaus.mojo:nbm-maven-plugin:3.6:autoupdate

Description:

Create the Netbeans autopdate site definition.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator plugin.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
outputDirectory File - output directory.
Default value is: ${project.build.directory}.

Optional Parameters

Name Type Since Description
distBase String 3.0 it's also possible to add remote repository as base A custom distribution base for the nbms in the update site. If NOT defined, the update site will use a simple relative URL, which is generally what you want. Defining it as "auto" will pick up the distribution URL from each NBM, which is generally wrong.

The value is either a direct http protocol based URL that points to the location under which all nbm files are located, or

allows to create an update site based on maven repository content. The resulting autoupdate site document can be uploaded as tar.gz to repository as well as attached artifact to the 'nbm-application' project.
Format: id::layout::url same as in maven-deploy-plugin
with the 'default' and 'legacy' layouts. (maven2 vs maven1 layout)
If the value doesn't contain :: characters, it's assumed to be the flat structure and the value is just the URL.
Default value is: ..
fileName String - autoupdate site xml file name.
Default value is: updates.xml.

Parameter Details

distBase:

A custom distribution base for the nbms in the update site. If NOT defined, the update site will use a simple relative URL, which is generally what you want. Defining it as "auto" will pick up the distribution URL from each NBM, which is generally wrong.

The value is either a direct http protocol based URL that points to the location under which all nbm files are located, or

allows to create an update site based on maven repository content. The resulting autoupdate site document can be uploaded as tar.gz to repository as well as attached artifact to the 'nbm-application' project.
Format: id::layout::url same as in maven-deploy-plugin
with the 'default' and 'legacy' layouts. (maven2 vs maven1 layout)
If the value doesn't contain :: characters, it's assumed to be the flat structure and the value is just the URL.
  • Type: java.lang.String
  • Since: 3.0 it's also possible to add remote repository as base
  • Required: No
  • Expression: ${maven.nbm.customDistBase}
  • Default: .

fileName:

autoupdate site xml file name.
  • Type: java.lang.String
  • Required: No
  • Expression: ${maven.nbm.updatesitexml}
  • Default: updates.xml

outputDirectory:

output directory.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}