Create the Netbeans module artifact (nbm file), part of "nbm" lifecycle/packaging.
Mojo Attributes :
runtimepackage| Name | Type | Description |
|---|---|---|
| descriptor | File |
a netbeans module descriptor containing dependency information and more.. Default value is ${basedir}/src/main/nbm/module.xml. |
| distributionUrl | String |
custom distribution URL, overriding the value in the nbm descriptor |
| finalName | String |
Name of the jar packaged by the jar:jar plugin |
| keystore | String |
keystore location for signing the nbm file |
| keystorealias | String |
keystore alias |
| keystorepassword | String |
keystore password |
| nbmBuildDir | String |
Netbeans module assembly build directory.
directory where the the netbeans jar and nbm file get constructed. Default value is ${project.build.directory}/nbm. |
| nbmJavahelpSource | File |
The location of JavaHelp sources for the project. The documentation
itself is expected to be in the directory structure based on codenamebase of the module.
eg. if your codenamebase is "org.netbeans.modules.apisupport", the the actual docs
files shall go to ${basedir}/src/main/javahelp/org/netbeans/modules/apisupport/docs
Additionally if you provide docs, you will need to place the JavaHelp jar on the classpath of the nbm-plugin for the project. The jar is to be found in the netbeans/harness directory of any NetBeans installation.
<plugin> Default value is ${basedir}/src/main/javahelp. |
| projectHelper | MavenProjectHelper |
Used for attaching the artifact in the project |
a netbeans module descriptor containing dependency information and more..
java.io.FileNo${basedir}/src/main/nbm/module.xmlcustom distribution URL, overriding the value in the nbm descriptor
java.lang.StringNo${maven.nbm.distributionURL}Name of the jar packaged by the jar:jar plugin
java.lang.StringNo${project.build.finalName}keystore location for signing the nbm file
java.lang.StringNo${keystore}keystore alias
java.lang.StringNo${keystorealias}keystore password
java.lang.StringNo${keystorepass}Netbeans module assembly build directory. directory where the the netbeans jar and nbm file get constructed.
java.lang.StringNo${maven.nbm.buildDir}${project.build.directory}/nbmThe location of JavaHelp sources for the project. The documentation
itself is expected to be in the directory structure based on codenamebase of the module.
eg. if your codenamebase is "org.netbeans.modules.apisupport", the the actual docs
files shall go to ${basedir}/src/main/javahelp/org/netbeans/modules/apisupport/docs
Additionally if you provide docs, you will need to place the JavaHelp jar on the classpath
of the nbm-plugin for the project. The jar is to be found in the netbeans/harness directory
of any NetBeans installation.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>javax.help</groupId>
<artifactId>search</artifactId>
<version>2.0</version>
<!--scope>system</scope>
<systemPath>/home/mkleint/netbeans/harness/jsearch-2.0_04.jar</systemPath-->
</dependency>
</dependencies>
</plugin>
java.io.File2.7No${basedir}/src/main/javahelpUsed for attaching the artifact in the project
org.apache.maven.project.MavenProjectHelperNo