[
https://jira.codehaus.org/browse/MNBMODULE-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=287156#comment-287156
]
Jesse Glick commented on MNBMODULE-155:
---------------------------------------
I did not notice any such message on {{[email protected]}}...?
Anyway, this would be a welcome addition to {{nbm-maven-plugin}}. People have
repeatedly asked for a way to run this functionality as a regular Maven goal.
The current
{{org.netbeans.modules.apisupport.installer.maven.actions.BuildInstallersAction}}
does a bunch of computation and then runs Ant, which was I guess the quickest
way to retrofit functionality originally designed for the Ant harness, but
definitely not what we want. NBI is heavily based on Ant overall, and I do not
foresee anyone refactoring it in the near future, but a Maven goal could at
least pick up relevant properties from plugin configuration and use the
{{antrun}} plugin to do the rest, which I guess is what your code does.
{{BuildInstallersAction}} could then be deleted, and
{{mojo-archetypes/netbeans-platform-app-archetype/src/main/resources/archetype-resources/application/pom.xml}}
edited to run the new goal under {{-Pdeployment}}.
{{org.netbeans.modules.apisupport.installer.maven.ui.ExtraPanel}} and
{{org.netbeans.modules.apisupport.installer.ui.SuiteInstallerProjectProperties}}
would need to be refactored to use POM configuration. I could probably find
time to work on the IDE side if you can supply a patch for the plugin (or just
the mojo source file).
http://netbeans.org/bugzilla/show_bug.cgi?id=202654 and
http://netbeans.org/bugzilla/show_bug.cgi?id=202961 could probably be fixed
cleanly this way.
> Build installers goal proposal
> ------------------------------
>
> Key: MNBMODULE-155
> URL: https://jira.codehaus.org/browse/MNBMODULE-155
> Project: Maven NetBeans Module Plugin
> Issue Type: New Feature
> Reporter: Frantisek Mantlik
> Assignee: Jesse Glick
> Priority: Minor
>
> 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