public class PopulateRepositoryMojo extends AbstractNbmMojo
SNAPSHOT artifacts if you wish to test development builds.
See this HOWTO on how to generate the NetBeans binaries required
by this goal.
Compatibility Note: The 3.0+ version puts all unrecognized, non-module, 3rd party jars
in the org.netbeans.external group and adds them as dependencies to respective modules.
That can cause backward incompatibility with earlier versions which generated incomplete (different)
maven metadata.AbstractNbmMojo.ArtifactResult| Modifier and Type | Field and Description |
|---|---|
protected String |
forcedVersion
Optional parameter, when specified, will force all modules to have the designated version.
|
protected ArtifactRepository |
localRepository
Local maven repository.
|
protected File |
netbeansInstallDirectory
Location of NetBeans installation
|
protected File |
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.
|
protected File |
netbeansNbmDirectory
If defined, will match the nbm files found in the designated folder with the modules
and upload the nbm file next to the module jar in local and remote repositories.
|
protected File |
netbeansSourcesDirectory
Assumes a folder with <code-name-base>.zip files containing sources for modules.
|
| Constructor and Description |
|---|
PopulateRepositoryMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
antProject, createDefaultDescriptor, createDependencyTree, readModuleDescriptor, registerNbmAntTasks, turnJarToNbmFilegetLog, getPluginContext, setLog, setPluginContextprotected File netbeansInstallDirectory
protected File netbeansJavadocDirectory
protected File netbeansSourcesDirectory
protected File netbeansNbmDirectory
protected String forcedVersion
protected ArtifactRepository localRepository
public void execute()
throws MojoExecutionException
MojoExecutionExceptionCopyright © 2005-2012 Codehaus. All Rights Reserved.