You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Fabian Crabus <fa...@gmail.com> on 2008/05/20 15:18:28 UTC

Announcement: Two simple plugins

Hi all,

we've just released two simple plugins for Maven2 that might come in handy:

MavenSizewatchPlugin
Maven2 plugin that allows to verify the size of a file (artifact) for
min. and max. values.

Include the plugin in the maven "verify" or "install" phase to check,
that an artifact does not exceed a predefined size. This plugin can be
useful to check the size of .war archives, that might contain more
libs than expected when some transient dependencies have changed.

MavenWaitPlugin
Maven2 plugin, that waits on an URL (for a server startup).

Can be used inside a pre-integration-test phase.

If you need more functionality, look for the "cargo" or "jetty"
plugin. (http://maven.apache.org/plugins/)

Both plugins are available via http://code.google.com/p/agimatec-maven-plugins/

A bit more background on the reasoning behind the MavenWaitPlugin:
We're doing automated integration tests via Xen containers, so we
didn't need a full blown cargo installation - instead we've a full
blown JBoss installation with database
fresh and ready for tests. The wait plugin just makes sure that tests
are started as soon as the server is up and running.

Hope you find it useful,
Fabian
http://blog.agimatec.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org