Stephen's Statements A little bit of everything from Stephen Duncan Jr, a Programmer/Web Geek working in the defense industry

Saturday, June 03, 2006

Abdera Maven 2 Build

I attempted to make a Maven 2 build for the proposed Abdera project. I've never made a patch before, so I attempted it by checking in the contents of the original tar into my local-file-system SVN repository, and then made my changes against that, and finally generated a patch using the Subclipse tools. In case that isn't good enough, I'm also providing the resulting tar.

The most important thing to note is that when I switched it from Ant to Maven, one unit test now fails that passed before. The resulting XML that is supposed to be checked contains some unexpected spaces. This is probably due to some dependency version difference. The dependencies will need to be looked at and worked on; I just specified enough to get the projects to compile for the most part.

I did update the Ant build file, so that still works. The security and examples modules also build now in Maven (but I did not add them to the Ant build). There's plenty of stuff to be improved/changed. The test module should probably go away, and the tests should be moved into the module that is being tested. The "bin" folders shoud go away. The .project files should go away in my opinion (they are assumably broken right now, as I didn't update them).

Labels:

blog comments powered by Disqus