nbm:populate-repository

A goal for identifying netbeans modules from the installation and populationg 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://deadlock.netbeans.org/maven2/ it contains API artifacts for 4.1, 5.0 and 5.5 releases. 6.0 Milestones and Betas also included.

Mojo Attributes :

  • Executes as an aggregator plugin.

Optional Parameters

Name Type Description
deployUrl String an url where to deploy the netbeans artifacts.. optional, if not specified, the artifacts will be only installed in local repository, if you need to give credentials to access remote repo, the id of the server is hardwired to "netbeans".
forcedVersion String Optional parameter, when specified, will force all modules to have the designated version. Good when depending on releases. Then you would for example specify RELEASE50 in this parameter and all modules get this version in the repository.
netbeansInstallDirectory String Location of netbeans installation
netbeansJavadocDirectory String If you want to install/deploy also netbeans api javadocs, download the javadoc zip file from netbeans.org expand it to a directory, it should contain multiple zip files. Define this parameter as absolute path to the zip files folder.
netbeansSourcesDirectory String Assumes a folder with <code-name-base>.zip files containing sources for modules.

Parameter Details

deployUrl

an url where to deploy the netbeans artifacts.. optional, if not specified, the artifacts will be only installed in local repository, if you need to give credentials to access remote repo, the id of the server is hardwired to "netbeans".

  • Type : java.lang.String
  • Required : No
  • Expression : ${deployUrl}

forcedVersion

Optional parameter, when specified, will force all modules to have the designated version. Good when depending on releases. Then you would for example specify RELEASE50 in this parameter and all modules get this version in the repository.

  • Type : java.lang.String
  • Required : No
  • Expression : ${forcedVersion}

netbeansInstallDirectory

Location of netbeans installation

  • Type : java.lang.String
  • Required : No
  • Expression : ${netbeansInstallDirectory}

netbeansJavadocDirectory

If you want to install/deploy also netbeans api javadocs, download the javadoc zip file from netbeans.org expand it to a directory, it should contain multiple zip files. Define this parameter as absolute path to the zip files folder.

  • Type : java.lang.String
  • Required : No
  • Expression : ${netbeansJavadocDirectory}

netbeansSourcesDirectory

Assumes a folder with <code-name-base>.zip files containing sources for modules.

  • Type : java.lang.String
  • Required : No
  • Expression : ${netbeansSourcesDirectory}