It’s been a couple of days now that I am learning how to use Confluence. The product is very nice, I had some minor problems which are currently handled by the support team. So far so good.

I used SOAP a couple of years ago now and I wanted to play a bit again with web services and all that. Confluence has a very rich SOAP API which allows users to pull but also push content. While creating my spaces and the page structure, I was thinking that integrating maven with confluence would be very convenient. The first use case in mind was to store a blog entry (i.e. a news) when a maven project was released. If you have used maven a bit, you are used to those mails warning users that a new plugin was released, check this link for an example.

Let’s say that you have a confluence space to share all things about one of your project. It would be nice to create a blog entry in this space every time you release a new version of your project, right? Well, I have implemented a quick and dirty solution using maven one and I am currently busy improving this solution. The plugin is based on the announcement plugin: it simply posts the result of the plugin in a blog entry. You can beta test the plugin if you want, simply invoke this command to download the plugin:

maven plugin:download
-Dmaven.repo.remote=http://stephane.nicoll.net/maven1
-DgroupId=nicoll
-DartifactId=maven-confluence-plugin
-Dversion=1.0-SNAPSHOT

Have fun and stay tuned…