nathanmarz/storm-starter — pull request #4 by ptgoetz (2011-11-03 01:58:01+00:00)
Title: Add Maven 2 POM to build storm-starter with maven

This fork just adds a maven 2 pom ("m2-pom.xml") to the project root.

The pom does what the leiningen build does, plus builds a readily deployable jar file that can be deployed with the "storm jar" command.

Since the leiningen build, in some cases, may write a "pom.xml" file to the project root, I named the file "m2-pom.xml" so it won't get accidentally overwritten.

To run it, just run maven with the "-f" option and specify the file:

mvn -f m2-pom.xml install

Rather than rely on maven exclusions, I just set the scope for the storm dependency to "provided" so id doesn't get included in the deployable jar.