Overview
This plugin generates packages for JBuilder OpenTool extensions. It offers three different packaging types :
- Standalone JAR : all OpenTool resources are packaged into a single JAR, including all dependencies, making the package self-sufficient but also potentially quite large.
- Maven repository configuration : all that needs to be installed in JBuilder is a configuration file, which contains the path to all the required JARs pointing to the local Maven repository. This is not very useful for real packaging, but quite practical during the development of the OpenTool
- Relative location configuration : the configuration file is similar to the Maven repository setup, but this time all the JARs for the OpenTool are placed in a directory location relative to JBUILDER_HOME/lib/ext. For example for an OpenTool called "myopentool", the whole set of JARs could be located in JBUILDER_HOME/lib/ext/myopentool. This makes it quite easy to then update dependencies and or uninstall the OpenTool if required.
Configuration
When using this Maven plugin, you must add the following property to your build.properties file :
- maven.opentool.jbuilder.home : points to your JBuilder installation. Usually something like C:\JBuilderX under Windows. Under Mac OS X this will probably be something like : /Developer/Applications/JBuilderX/JBuilder.framework
This property is used for the opentool:install and opentool:uninstall goals.
Dependencies
In order to specify which dependencies must be packaged in the OpenTool, the following property must be specified :
<properties>
<jbuilder.opentool.bundle>true</jbuilder.opentool.bundle>
</properties>
Installing
To install the plugin automatically, please add the http://mevenide.codehaus.org/repository to your maven.repo.remote parameter.
And use the plugin:download maven goal to install the plugin.
maven -DartifactId=maven-jbuilder-opentool-plugin -DgroupId=mevenide -Dversion=0.1 plugin:download