From: <[EMAIL PROTECTED]>
> We've been talking about this for a while, but it's time to make it happen
> sooner rather than later.
>
> Here's the basic plan we discussed this morning (my time).
>
> Goals
> - Allow plug-ins to be added more easily by the user
> - Allow user to keep their build file the way they want
>
> Details:
> - Plugins are jars with the following contents: plugin.properties,
> plugin-build.xml, plugin-delegators.xml
> - User downloads plugins and copies them to ${maven.home}/plugins
> - The user can tell maven about the plugins by doing: ant
> maven:install-plugins
> - This process: 1) scans the plugins directory comparing jars to
> directories, ala Tomcat with WARs and webapps
> - 2) unzips any 'new' plugins
> - 3) runs a task to parse the init target and produce
> the callbacks
> - 4) runs a task to regenerate a proposed new file -
> delegators.xml with all targets that may be
> delegated to in all available plugins and 'core
> maven'
> - The user adds a delegator to thier build file, e.g. maven:j2ee:war, or
> the install offers to do it for them(?), and they call it as usual.
>
> The 'install' process could be placed as part of the 'verify-project' step
> as well, so that if the user ran ANY existing maven target, it would do
> it's work.
This quite a nice description of what Krysalis Centipede
http://www.krysalis.org/centipede/ offers since some weeks now, and the
Apache Poi project uses this autodownload feature (that uses JJAR BTW) to
build the site with a cron script every 2 hours.
We offered to merge efforts in a single new project in a discussion at
Jakarta General, but some developers simply said no.
Is this "copying" what you want to do?
We have integrated Maven documentation generation in Centipede since our
last beta, and give you due credit.
You are free to do it, but I just wanted to tell the Maven community what is
happening.
--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>