basejump/markdown-plus — pull request #1 by eddgrant (2012-04-04 15:43:12+00:00)
Title: Maven

Hi,

I wanted to use markdown-plus as a jar in my Groovy project but I noticed it doesn't exist in any Maven repo or as a binary .jar distribution. This got me thinking and I ended up mavenising the project. Thought I'd share my changes in case you were interested in pushing it to the Maven central repo so others can depend on markdown-plus Maven style?

The changes I have made are:

* Pull everything in to the standard Maven file structure.
* All the libs that were in lib are now Maven dependencies.
* A ```mvn clean install``` will build the app jar, run the tests and build a .zip distribution which contains markdown-plus, all the required dependencies, the mdp bootstrap script and the templates folder.

A couple of issues I have noticed:

* FreeMarkerProcessorTest seems to fail (and isn't included in the AllTests suite). I have added the @Ignore annotation as I wasn't sure whether the failure was genuine or not.
* For some reason I get an the error "initializationError(nineci.markdownplus.TestResultPair)" when I use Maven v2. However if I use Maven v3 then everything builds perfectly.

Oh, finally I'm afraid I'm a bit of a Git novice, hopefully I've gotten everything right in terms of my commits and the pull request but let me know if something doesn't work for any reason.

Anyway, hope this is of some use to you.

Cheers,

Edd