From ae86c8249e2f85e1902c57c84ed6d0be1d4bd8f2 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 2 Dec 2010 18:12:19 +0000 Subject: [PATCH] Now that we're mostly in happy Maven land, I can ship a narya-tools artifact that does things much more nicely than our old approach. Specifically, narya-tools is just the stock narya.jar but using a pom that expresses the tools dependencies as non-optional. This allows a project to define a special tools classpath that *just* depends on narya-tools, and all of its myriad niggling dependencies will be taken care of, without stuffing a second narya jar into the project classpath or adding a bunch of narya tool dependencies to the projects server package. Other projects that want to extend Narya's tool suite can export a foo-tools of their own which can depend on narya-tools and thereby obtain all of narya-tools dependencies and add their own tool-specific dependencies (if any). I'm also committing this now with a stable 1.2 version, so that we can sneak it into the last narya-1.2 stable release. The tools don't need the latest snapshots, and it's nice if you don't have to go polling a maven server every time you run "ant gendobj" etc. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6330 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- build.xml | 5 +++++ tools-pom.xml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 tools-pom.xml diff --git a/build.xml b/build.xml index a31aa1481..9234e1658 100644 --- a/build.xml +++ b/build.xml @@ -355,6 +355,11 @@ + + + + + diff --git a/tools-pom.xml b/tools-pom.xml new file mode 100644 index 000000000..b4e470196 --- /dev/null +++ b/tools-pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + com.threerings + narya-tools + swc + 1.2 + narya-tools + Narya with dependencies configured for its tools. + + + + com.samskivert + samskivert + 1.1 + compile + + + com.google.guava + guava + r07 + compile + + + com.samskivert + jmustache + 1.0 + compile + + + javassist + javassist + 3.8.0.GA + compile + + +