Skip to content

Commit

Permalink
RATIS-55. Add missing license headers. Contributed by Tsz Wo Nicholas…
Browse files Browse the repository at this point in the history
… Sze.
  • Loading branch information
Jing9 committed Mar 30, 2017
1 parent 930f4c0 commit 48fbe43
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
16 changes: 15 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
```
```
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
7 changes: 7 additions & 0 deletions ratis-hadoop-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
7 changes: 7 additions & 0 deletions ratis-proto-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 48fbe43

Please sign in to comment.