January 2006

Maven One Eclipse Plugin Update

Just to let you know that the maven one eclipse plugin has been updated to download java source archives from the repository. It’s not released yet, so you’ll have to build 1.11-SNAPSHOT yourself.

Let me know if you try.

Maven Confluence Plugin 1.0-RC2 Released

I released an RC2 of the confluence plugin. To download the plugin, execute the following command:

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

Maven One Source Plugin

One of the great feature of maven is the ability to configure automatically your favorite IDE for the project: it configures the classpath, the source directories, the build path and more. After having invoked the ide plugin, you can start coding right the way! However, an area is lacking of support: source integration support. There is no standard way currently in maven one to retrieve the java source code from some repository and include them to your IDE. I suppose everyone will admit that it is easier to debug code when source code is available, same for Javadoc.

In order to improve the situation, I have implemented the maven one source plugin which provides goals to install and deploy java source code archive to the repository. The plugin is based on the standard ant path maven.compile.src.set containing the list of directories involved in the build: the main source directory of course but also directories containing generated code (castor, xdoclet, whatever).

If you want to use the plugin, you need to build it yourself from the maven one plugins sandbox.

I hope this is a start of a better source integration in maven one. We will start upgrading IDE plugins to use this new feature. I’ll keep you posted.

Maven confluence plugin 1.0-RC1 released

I updated the plugin a bit and released an RC1 version ; see the web site for more details. The major change is that the plugin does not rely on the announcement plugin anymore. Instead, I have implemented a very basic parser of the changes.xml file. This allows to have some kind of interface to render the actual blog entry

public interface BlogEntryRenderer {
String generateContent(final Project project, final Release release);
}

I have created two implementations of this interface, one which simply outputs all the issues in a table, the other separates issue per issue type.

The first one, the classical renderer gives the following output for instance:
classical renderer

The hierarchical renderer gives the following output for instance:
hierarcical renderer

You can download the plugin by issuing the following command:

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