VaughnVernon/IDDD_Samples — pull request #1 by michaelajr (2013-04-10 17:55:52+00:00)
Title: Maven suport

Added Maven Support and fixed an issue with JSONReader.deserialize() . Here are the detailed changes:

- Added a parent pom.xml. Dependency management section follows the required JARs listed in the README file. LevelDB downgraded to non-snapshot version .05. If the version was not listed in the README - the most recent version is used. ** Audit of dependencies is pending.

- Added a pom.xml to each sub-module. Added dependencies for compile and test scopes. Tests still have missing dependencies. Use -DskipTests=true when building until tests are working. (Coming soon in another pull request).

- Added a build goal in the common module to build a separate test-jar so common test dependencies can be used in modules that also depend on the common JAR at compile time.

- In the common module, JSONReader.deserialize was throwing a managed exception without declaring it in the method signature. Patched by throwing RuntimeException instead.

At the project root, run:

% mvn -DskipTests=true install

Hope this helps. Will now move onto getting test to run via Maven. (working on that in a different branch).

M