Maven Build Plugin for Getdown

209 views
Skip to first unread message

John Oxley

unread,
Feb 29, 2012, 3:37:45 AM2/29/12
to ooo-...@googlegroups.com
Hi All,

I have written a maven build plugin for getdown that generates the digest file.  That's all it does.


It is very easy to use in the maven system as can be seen from the readme. 

<plugin>
    <groupId>org.bitbucket.joxley</groupId>
    <artifactId>getdown-maven-plugin</artifactId>
    <version>0.0.1</version>
    <configuration>
        <appdir>target/app</appdir> <!-- Defaults to target -->
    </configuration>
    <executions>
        <execution>
            <phase>package</phase>
            <goals>
                <goal>digest</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Michael Bayne

unread,
Feb 29, 2012, 12:45:34 PM2/29/12
to ooo-...@googlegroups.com
On Wed, Feb 29, 2012 at 12:37 AM, John Oxley <john....@gmail.com> wrote:
> I have written a maven build plugin for getdown that generates the digest
> file.  That's all it does.
>
> https://bitbucket.org/joxley/getdown-maven-plugin
>
> It is very easy to use in the maven system as can be seen from the readme.

Awesome! I'll put a link to it in the docs.

-- m...@samskivert.com

Matjaž Smolej

unread,
Mar 3, 2012, 2:31:34 AM3/3/12
to ooo-...@googlegroups.com
Hi John,

I've just written a plugin for Getdown too, just before I noticed your post. It is based on ideas and signing code borrowed from webstart-maven-plugin.

Currently supported features:

- generates getdown.txt and collects jars and resources from given plugin configuration (as in webstart plugin by providing single or multiple jar resources, transitive dependencies are added into getdown.txt)
- generates the digest
- signs the digest and getdown-client jar for applet mode if configured
- supports dependency artifact to [platform-architecture] options mapping based on artifact regexp matching
- very basic servlet filter for resolving system properties within getdown.txt and applet html (should be extended into a digesting/signing servlet)
- there's also a multi-module sample application demonstrating plugin configuration for manual and applet mode

I am currently evaluating IzPack to fill in the gap of creating start menu items and desktop icon for launching/uninstalling Getdown application. Plugin should probably create one Getdown applet bundle to launch the IzPack installer for the main Getdown bundle containing the real application.

Other planned features:
- custom Java installation
- generate Getdown applet fragment to prevent configuration duplication or the need for configuring Maven resource filters
- versioned mode support

The code needs some refactoring (Maven plugin development guidelines, optimizations, tests, documentation, naming, whatever...). I've got my employer's permission to give it away. I am not interested in maintaining the thing (time issue), maybe I could release everything to you or anyone interested.

Regards,
Matjaz

John Oxley

unread,
Mar 3, 2012, 2:49:41 AM3/3/12
to ooo-...@googlegroups.com
Hi Matjaz,

I would be very interested in maintaining it.  If you would contact me at john.oxley at gmail.com, I will look at merging it with mine.

Kind regards
John

Allan Lauridsen

unread,
Jan 25, 2013, 8:34:20 AM1/25/13
to ooo-...@googlegroups.com
Hi Matjaž Smolej,

did you publish the code somewhere?

Best regards
Allan
Reply all
Reply to author
Forward
0 new messages