From 48fbe431a8bcd8dc1b66706306b43767aa414218 Mon Sep 17 00:00:00 2001 From: Jing Zhao Date: Thu, 30 Mar 2017 13:37:22 -0700 Subject: [PATCH] RATIS-55. Add missing license headers. Contributed by Tsz Wo Nicholas Sze. --- BUILDING.md | 16 +++++++++++++++- README.md | 14 ++++++++++++++ ratis-hadoop-shaded/pom.xml | 7 +++++++ ratis-proto-shaded/pom.xml | 7 +++++++ 4 files changed, 43 insertions(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index 42a6f08f91..8fa1a94286 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,3 +1,17 @@ + + # Building Apache Ratis uses Apache Maven for the builds. A 3.2+ version of Maven is required as well as at least Java-1.8. @@ -82,4 +96,4 @@ $ mvn -s /my/path/settings.xml deploy We also use release profile for building the release ``` $ mvn install -Prelease -Papache-release -``` \ No newline at end of file +``` diff --git a/README.md b/README.md index 1ec276d5cd..28d50772fd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ + + # Ratis Ratis is a java library that implements the RAFT protocol[1]. The Raft paper can be accessed at [this link] (https://raft.github.io/raft.pdf). The paper introduces Raft and states its motivations in following words: > Raft is a consensus algorithm for managing a replicated log. It produces a result equivalent to (multi-)Paxos, and it is as efficient as Paxos, but its structure is different from Paxos; this makes Raft more understandable than Paxos and also provides a better foundation for building practical systems. diff --git a/ratis-hadoop-shaded/pom.xml b/ratis-hadoop-shaded/pom.xml index 0321a22caf..50e218b19c 100644 --- a/ratis-hadoop-shaded/pom.xml +++ b/ratis-hadoop-shaded/pom.xml @@ -130,6 +130,13 @@ ${shaded.sources.dir} false + + . + + dependency-reduced-pom.xml + + false + diff --git a/ratis-proto-shaded/pom.xml b/ratis-proto-shaded/pom.xml index dc3240316d..9d6fd13de2 100644 --- a/ratis-proto-shaded/pom.xml +++ b/ratis-proto-shaded/pom.xml @@ -409,6 +409,13 @@ ${shaded.sources.dir} false + + . + + dependency-reduced-pom.xml + + false +