Aighty, well I'll have a looksy and see what I can do ;-)

--jason


On Aug 8, 2007, at 10:13 PM, David Blevins wrote:


On Aug 8, 2007, at 4:55 PM, Jason Dillon wrote:

Mostly because Groovy's dynamic invocation makes it relatively simply to support any API calls. And also I had already implemented it for HokeyPokey to help Hernan man months ago.

But also because the Groovy code is relatively small and IMO easy to understand:

https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/ confluence-maven-plugin/src/main/groovy/org/codehaus/mojo/ confluence/Client.groovy

Definitely neat with the groovy-xml rpc stuff & dynamic invocations going on.

The swizzle-confluence jar is only 24k and just as simple. It'd be cool to have you banging on it. You actually fix things :) All the basic stuff works (add/remove/list, page/space) but would be cool to have someone using it who might dare to go off the beaten path. Maybe someday into getBlogEntries or getMostPopularLabels, etc.


-David



On Aug 8, 2007, at 4:47 PM, David Blevins wrote:


On Aug 8, 2007, at 1:45 PM, Jason Dillon wrote:

Hiya, just a quick note...

I've started to whip up a simple plugin to interact with an Atlassian Confluence server from Maven 2. I've merged in my HokeyPokey cli tool and put it all up in the mojo-sandbox here:

https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/ confluence-maven-plugin

I've also published the site here:

    http://mojo.codehaus.org/confluence-maven-plugin/index.html

Though it needs a lot more help, but you can at least see the goal configuration.

Right now it has very basic support to:

 * Add pages
 * Remove pages
 * Get pages
 * Add spaces
 * Remove spaces

Will be adding more bits soon, like a nice export-space which can apply a Velocity template to pages, kinda like AutoExport, except that you can check in all of the templates and resources into svn. And probably doing to add some muck to allow src/site/ wiki/**/*.wiki files to automatically publish to a Confluence server too as part of the mvn site bits.


Why not just incorporate the swizzle-confluence library instead or redoing the xml-rpc part in groovy? It has the entire confluence xml-rpc api already to go:

http://swizzle.codehaus.org/swizzle-confluence/org/codehaus/ swizzle/confluence/Confluence.html

-David




-------------------------------------------------------------------- -
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to