[
https://jira.codehaus.org/browse/MNBMODULE-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=287167#comment-287167
]
Frantisek Mantlik commented on MNBMODULE-155:
---------------------------------------------
Jesse, thanks for your interest and very fast reply.
Attached file contains existing mojo and all necessary resources. It should be
compilable, I believe. The mojo itself precesses parameters and runs ant task
to build stuff and create installers. Resources contain the complete original
installer from Netbeans 6.9.1. Maybe some parts are not needed, but this pack
works for me.
Following plugin dependency in the application pom makes things working:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-installers-plugin</artifactId>
<version>1.0</version>
<configuration>
<installerOsWindows>true</installerOsWindows>
<installerOsLinux>true</installerOsLinux>
<installerLicenseFile>../LICENSE.txt</installerLicenseFile>
<appIcon>../Globe48.png</appIcon>
<icon16>../Globe.png</icon16>
<instLeftCorner>../ilc.png</instLeftCorner>
<instRightCorner>../irc.png</instRightCorner>
<instWelcomeTop>../wlt.png</instWelcomeTop>
<instWelcomeBottom>../wlb.png</instWelcomeBottom>
<installerVerbose>2</installerVerbose>
</configuration>
</plugin>
Most configuration options are optional. All available settings are commented
in the source mojo.
> Build installers goal
> ---------------------
>
> Key: MNBMODULE-155
> URL: https://jira.codehaus.org/browse/MNBMODULE-155
> Project: Maven NetBeans Module Plugin
> Issue Type: New Feature
> Affects Versions: 3.6
> Reporter: Frantisek Mantlik
> Assignee: Jesse Glick
> Attachments: nbm-installers-plugin.zip
>
>
> The proposal is to add a new goal which will provide similar functionality to
> "Build installers" action in IDE for mavenized RCP projects as a maven goal.
> I have developed a standalone plugin based on Ant-maven-plugin functionality
> which wrapped installer provided with Netbeans 6.9.1 and with minimum
> tweaking (mainly allowing some basic branding of generated installer) run an
> Ant task compiling and generating installers in the project application
> artifact. It is working for me on several mavenized RCP projects without any
> changes needed up to 7.1 RC1.
> I was trying to offer my plugin to Codehaus, but there was no interest -
> maybe because my advertisement was not good. I guess, that it should not be
> difficult to extract the goal from my plugin and integrate it to the
> nbm-maven-plugin as a new goal.
> Maybe, there would exist even easier way how to implement the same
> functionality to the nbm-maven-plugin?
> If there is interest in such a new feature, I could promise to do my best
> helping with development of the new goal. I am about to put one of my RCP
> projects to open-source domain and such a publicly available function would
> be helpful to it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email