Repository: incubator-ratis Updated Branches: refs/heads/master 930f4c019 -> 48fbe431a
RATIS-55. Add missing license headers. Contributed by Tsz Wo Nicholas Sze. Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/48fbe431 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/48fbe431 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/48fbe431 Branch: refs/heads/master Commit: 48fbe431a8bcd8dc1b66706306b43767aa414218 Parents: 930f4c0 Author: Jing Zhao <[email protected]> Authored: Thu Mar 30 13:37:22 2017 -0700 Committer: Jing Zhao <[email protected]> Committed: Thu Mar 30 13:37:22 2017 -0700 ---------------------------------------------------------------------- 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(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/48fbe431/BUILDING.md ---------------------------------------------------------------------- diff --git a/BUILDING.md b/BUILDING.md index 42a6f08..8fa1a94 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,3 +1,17 @@ +<!-- + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. See accompanying LICENSE file. +--> + # 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 +``` http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/48fbe431/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 1ec276d..28d5077 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ +<!-- + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. See accompanying LICENSE file. +--> + # 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. http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/48fbe431/ratis-hadoop-shaded/pom.xml ---------------------------------------------------------------------- diff --git a/ratis-hadoop-shaded/pom.xml b/ratis-hadoop-shaded/pom.xml index 0321a22..50e218b 100644 --- a/ratis-hadoop-shaded/pom.xml +++ b/ratis-hadoop-shaded/pom.xml @@ -130,6 +130,13 @@ <directory>${shaded.sources.dir}</directory> <followSymlinks>false</followSymlinks> </fileset> + <fileset> + <directory>.</directory> + <includes> + <include>dependency-reduced-pom.xml</include> + </includes> + <followSymlinks>false</followSymlinks> + </fileset> </filesets> </configuration> </plugin> http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/48fbe431/ratis-proto-shaded/pom.xml ---------------------------------------------------------------------- diff --git a/ratis-proto-shaded/pom.xml b/ratis-proto-shaded/pom.xml index dc32403..9d6fd13 100644 --- a/ratis-proto-shaded/pom.xml +++ b/ratis-proto-shaded/pom.xml @@ -409,6 +409,13 @@ <directory>${shaded.sources.dir}</directory> <followSymlinks>false</followSymlinks> </fileset> + <fileset> + <directory>.</directory> + <includes> + <include>dependency-reduced-pom.xml</include> + </includes> + <followSymlinks>false</followSymlinks> + </fileset> </filesets> </configuration> </plugin>
