From 019888eab7fe1709b368f8c07d7cb1ca7bbe1da2 Mon Sep 17 00:00:00 2001 From: cristi Date: Wed, 8 Dec 2010 00:45:00 -0500 Subject: [PATCH 1/2] configured parent pom. The following important changes have been done: - the log4j dependency has been moved to parent - the configuration for maven compiler has been moved to parent --- pom.xml | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/pom.xml b/pom.xml index 0298538..11cf6bf 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,27 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - io.s4.comm - comm + + + io.s4 + s4.parent + 0.2.1.0 + + + s4.comm jar - 0.2.1.0 - comm - http://maven.apache.org + ${project.artifactId} + + + GitHub + https://github.com/s4/comm/issues/ + + + + scm:git:https://github.com/s4/comm.git + + + org.json @@ -18,11 +33,6 @@ zookeeper 3.1.1 - - log4j - log4j - 1.2.12 - junit junit @@ -32,17 +42,6 @@ - - maven-compiler-plugin - 2.0.1 - - 1.6 - 1.6 - - io/** - - - org.apache.maven.plugins maven-dependency-plugin From 01c70924f375079e43ddca7daee90655a527a1c0 Mon Sep 17 00:00:00 2001 From: cristi Date: Thu, 9 Dec 2010 00:27:25 -0500 Subject: [PATCH 2/2] Added the step to build the parent to the readme file. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 83cdb61..e77e298 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,16 @@ Requirements * Linux * Java 1.6 * Maven +* S4 Parent Project Build Instructions ------------------ -1. ZooKeeper must be installed to your local Maven repository manually. The jar is located at +1. Build and install the parent project. + +2. ZooKeeper must be installed to your local Maven repository manually. The jar is located at lib/zookeeper-3.1.1.jar within this project. To install, run the following command: mvn install:install-file -DgroupId=org.apache.hadoop -DartifactId=zookeeper -Dversion=3.1.1 -Dpackaging=jar -Dfile= -2. Build and install using Maven +3. Build and install using Maven mvn install