maven-dashboard-plugin 1.1 released

Posted by Lars Vonk in the late evening: July 10, 2008

A new version of Xebia's open source maven-dashboard-plugin has been released. This version fixed some bugs. A quick guide on how to use the dashboard in your project please read this blogpost.
Keep an eye on this blog or checkout the roadmap in Jira for upcoming releases.

Maven2 Dashboard Plugin Released

Posted by Jeroen van Erp in the wee hours: March 27, 2008

Quality is an everyday part of the life of a Xebia software developer. One of the ways to get insight into quality is by looking at metrics like FindBugs, PMD, Simian, Code Coverage, etc. With large software products consisting of different modules, quality assurance can become quite a trying task. This means that tools which alleviate this burden are a welcome addition to our toolbox.
(more...)

Spring with Stripes - A Maven Based Sample Code

Posted by Balaji D Loganathan at around evening time: March 4, 2008

The purpose of this post is to give a Maven based sample code of Spring with Stripes integration. The source code set is already in Eclipse project format, so you can use eclipse to view files content and structure.
This post will not explain about the techniques of integrating spring with stripes. The spring with stripes integration is very well explained at Stripes framework wiki page - Spring with Stripes. I kindly suggest you to read that documentation first before trying out the sample code given in this post. This post also assume that you are familiar with the basics of Maven, Eclipse, Stripes and Spring.

Few of the other "How to" samples (like Ajax addition, addition, echo, stripes layout reuse) that were documented in Stripes framework wiki page were also included in this sample code.
(more...)

Combining Groovy and Java

Posted by Erik Pragt around lunchtime: December 25, 2007

Combining Groovy and Java

Everybody refactors (I hope). But what if your standard refactoring just isn’t good enough? Take the next step in refactoring into Groovy code and see how easy it is to integrate Groovy into your existing Java projects.

(more...)

Smelly Jelly to the rescue

Posted by Lars Vonk at around evening time: May 7, 2007

For a current project I use maven 1 as build tool. I always generate the eclipse plugin for generating the .project and .classpath file because I do not want to add dependencies both in the project.xml and the eclipse classpath. The eclipse plugin can also link the source files to the dependencies in your project, I find this a handy feature because you always need to debug and step through the code of some dependency.
However since the maven 1 repository is maintained even worse as the maven 2 repository you won't find any sources jars for the newer versions of dependencies (for instance Spring 2.0). Besides this being very annoying the eclipse plugin also takes ages to finish because it gets a lot of time-outs about not being able to download the sources jars from the maven 1 repository. That's why I created a small Jelly script that made it is possible to traverse through the maven 2 repository and grab the sources jars from there. Here's the smelly Jelly that made it all possible:
(more...)

Reporting on a Multi-Module Project with Maven2

Posted by Maarten Winkels in the early morning: January 16, 2007

One of the things that changed considerably between Maven1 and Mvn2 is the way in which multi-module projects work. In Maven1 multi-module projects are implicit: A directory that contains subdirectories with project.xmls is a multi-module project. Using the multiproject plugin goals can be executed in all modules sequentially. In Mvn2 multi-module projects are explicit: The pom.xml must contain references to the sub projects. These references are relative links on the filesystem to directories where the subprojects pom.xmls can be found. A normal build will then invoke the build of the subprojects.

This is all very well documented on the Maven site and relatively easy to grasp, migrate and work with. What is not very easy or well documented is generating a decent site on a multi-module project. In this blog I will share my experiences on how this can be done with Mvn2.

(more...)

Migrating your project to maven 2 - PART III

Posted by Lars Vonk late at night: June 5, 2006

Maven 2.0.4 is out now for some time, so I decided to give it another go after an unsuccesfull attempt to migrate to maven 2 (with maven 2.0.3).

I am trying to migrate a WAR project, it has multiple dependencies to some artifacts that are provided by the maven repository, but also to ones that are not (e.g. sjsxp for streaming parsing). I will try to build and deploy the war application with maven 2.

And guess what? This time I got it working!

(more...)

Migrating your project to Maven 2 – Part II

Posted by Lars Vonk late at night: March 6, 2006

The last thing I did was running the test classes successfully. Now let’s put in all the reports. We currently have the following reports in our maven build are:

  1. Jira
  2. Javadoc
  3. JavaNCSS
  4. Checkstyle
  5. PMD
  6. FindBugs
  7. JDepend
  8. Simian
  9. JUnit
  10. Clover
  11. Dashboard

First lets start by running mvn site out of the box (one of my favorite test cases ;-)), this should create the default reports according to the maven documentation (http://maven.apache.org/plugins/maven-site-plugin/howto.html). Here we go: mvn site….

(more...)

Migrating your project to Maven 2 – Part I

Posted by Lars Vonk late at night: February 26, 2006

Maven 2 is out for quite some time now. This week I decided to try to migrate a project we work on to maven 2. Here’s a part of what I ran into while migrating to maven 2:

(more...)