+
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<path to zookeeper-3.1.1.jar>

2. Build and install using Maven
3. Build and install using Maven
mvn install
43 changes: 21 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.s4.comm</groupId>
<artifactId>comm</artifactId>

<parent>
<groupId>io.s4</groupId>
<artifactId>s4.parent</artifactId>
<version>0.2.1.0</version>
</parent>

<artifactId>s4.comm</artifactId>
<packaging>jar</packaging>
<version>0.2.1.0</version>
<name>comm</name>
<url>http://maven.apache.org</url>
<name>${project.artifactId}</name>

<issueManagement>
<system>GitHub</system>
<url>https://github.com/s4/comm/issues/</url>
</issueManagement>

<scm>
<connection>scm:git:https://github.com/s4/comm.git</connection>
</scm>


<dependencies>
<dependency>
<groupId>org.json</groupId>
Expand All @@ -18,11 +33,6 @@
<artifactId>zookeeper</artifactId>
<version>3.1.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -32,17 +42,6 @@
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<includes>
<include>io/**</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载