You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ol...@apache.org on 2012/10/25 10:02:20 UTC

[1/2] git commit: [HELIX-3] Fix license headers in sources start the job (not complete) configure rat plugin in the profile rat.

Updated Branches:
  refs/heads/master cb165b552 -> b9cbbd409


[HELIX-3] Fix license headers in sources
start the job (not complete)
configure rat plugin in the profile rat.


Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/b9cbbd40
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/b9cbbd40
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/b9cbbd40

Branch: refs/heads/master
Commit: b9cbbd409b676ad9c57115ee2aee3108d2f5becd
Parents: 3604a9b
Author: olivier lamy <ol...@apache.org>
Authored: Thu Oct 25 10:01:27 2012 +0200
Committer: olivier lamy <ol...@apache.org>
Committed: Thu Oct 25 10:01:27 2012 +0200

----------------------------------------------------------------------
 HelixProposal.mediawiki                     |   18 ++++++
 helix-core/helix-core-0.5.28.ivy            |   18 ++++++
 helix-core/src/assemble/assembly.xml        |   28 +++++----
 helix-core/src/main/config/log4j.properties |    2 -
 pom.xml                                     |   70 ++++++++++++---------
 src/site/markdown/ApiUsage.md               |   19 ++++++
 src/site/markdown/Architecture.md           |   20 ++++++
 src/site/markdown/Features.md               |   20 ++++++
 src/site/markdown/Quickstart.md             |   20 ++++++
 src/site/markdown/Sample_App.md             |   20 ++++++
 src/site/markdown/UseCases.md               |   22 +++++++-
 src/site/markdown/index.md                  |   20 ++++++
 12 files changed, 231 insertions(+), 46 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/HelixProposal.mediawiki
----------------------------------------------------------------------
diff --git a/HelixProposal.mediawiki b/HelixProposal.mediawiki
index 35a9654..a3af24b 100644
--- a/HelixProposal.mediawiki
+++ b/HelixProposal.mediawiki
@@ -1,3 +1,21 @@
+<!---
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
 == Abstract ==
 Helix is a cluster management system for managing partitioned and replicated resources in distributed data systems.
 

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/helix-core/helix-core-0.5.28.ivy
----------------------------------------------------------------------
diff --git a/helix-core/helix-core-0.5.28.ivy b/helix-core/helix-core-0.5.28.ivy
index fa4bb3d..cd06ab8 100644
--- a/helix-core/helix-core-0.5.28.ivy
+++ b/helix-core/helix-core-0.5.28.ivy
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
 <ivy-module version="1.0" xmlns:m="http://ant.apache.org/ivy/maven">
 	<info organisation="org.apache.helix"
 		module="helix-core"

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/helix-core/src/assemble/assembly.xml
----------------------------------------------------------------------
diff --git a/helix-core/src/assemble/assembly.xml b/helix-core/src/assemble/assembly.xml
index bdb8333..50faf7c 100644
--- a/helix-core/src/assemble/assembly.xml
+++ b/helix-core/src/assemble/assembly.xml
@@ -1,19 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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
 
-    Copyright (C) 2012 LinkedIn Inc <op...@linkedin.com>
-
-    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.
+  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.
 -->
 <assembly>
 	<id>pkg</id>

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/helix-core/src/main/config/log4j.properties
----------------------------------------------------------------------
diff --git a/helix-core/src/main/config/log4j.properties b/helix-core/src/main/config/log4j.properties
index 2047151..787733b 100644
--- a/helix-core/src/main/config/log4j.properties
+++ b/helix-core/src/main/config/log4j.properties
@@ -1,6 +1,4 @@
 #
-# Copyright (C) 2012 LinkedIn Inc <op...@linkedin.com>
-#
 # 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://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 982225f..3af4ebb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -281,36 +281,6 @@ under the License.
     </pluginManagement>
     <plugins>
       <plugin>
-        <inherited>true</inherited>
-        <groupId>com.mycila.maven-license-plugin</groupId>
-        <artifactId>maven-license-plugin</artifactId>
-        <version>1.9.0</version>
-        <configuration>
-          <header>${basedir}/header.txt</header>
-          <failIfMissing>false</failIfMissing>
-          <aggregate>false</aggregate>
-          <properties>
-            <owner>LinkedIn Inc</owner>
-            <year>2012</year>
-            <email>opensource@linkedin.com</email>
-          </properties>
-          <excludes>
-            <exclude>LICENSE.txt</exclude>
-            <exclude>**/src/test/resources/**</exclude>
-            <exclude>**/src/test/data/**</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <id>check-headers</id>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
         <version>3.2</version>
@@ -383,4 +353,44 @@ under the License.
       </plugin>
     </plugins>
   </reporting>
+
+  <profiles>
+    <profile>
+      <id>rat</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <version>0.8</version>
+            <executions>
+              <execution>
+                <id>rat-verify</id>
+                <phase>test</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+                <configuration>
+                  <excludes>
+                    <exclude>.gitignore</exclude>
+                    <exclude>DEPENDENCIES</exclude>
+                    <exclude>README.md</exclude>
+                    <exclude>*.sh</exclude>
+                    <exclude>.git/**</exclude>
+                    <exclude>.idea/**</exclude>
+                    <exclude>*.bat</exclude>
+                    <exclude>**/*.iml</exclude>
+                    <exclude>.repository/**</exclude>
+                    <!-- currenty exclude this module which is not part of the build -->
+                    <exclude>recipes/rabbitmq-consumer-group/**</exclude>
+                    <exclude>bump-up.command</exclude>
+                  </excludes>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/src/site/markdown/ApiUsage.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/ApiUsage.md b/src/site/markdown/ApiUsage.md
index b161233..fae87cf 100644
--- a/src/site/markdown/ApiUsage.md
+++ b/src/site/markdown/ApiUsage.md
@@ -1,3 +1,22 @@
+<!---
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
+
 
 # Create an instance of Manager
 The first step of using the Helix api will be creating a Helix manager instance. 

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/src/site/markdown/Architecture.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/Architecture.md b/src/site/markdown/Architecture.md
index 4eaa9c8..bef20d9 100644
--- a/src/site/markdown/Architecture.md
+++ b/src/site/markdown/Architecture.md
@@ -1,3 +1,23 @@
+<!---
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
+
+
 Helix aims to provide the following abilities to a distributed system
 
 * Auto management of a cluster hosting partitioned, replicated resources

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/src/site/markdown/Features.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/Features.md b/src/site/markdown/Features.md
index 1f8f8be..2457e8a 100644
--- a/src/site/markdown/Features.md
+++ b/src/site/markdown/Features.md
@@ -1,3 +1,23 @@
+<!---
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
+
+
 As we started using Helix in production we found various things that were needed as part of most distributed data systems.
 
 These features have been implemented in a way that other systems can benefit.

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/src/site/markdown/Quickstart.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/Quickstart.md b/src/site/markdown/Quickstart.md
index 61b99eb..60d1c16 100644
--- a/src/site/markdown/Quickstart.md
+++ b/src/site/markdown/Quickstart.md
@@ -1,3 +1,23 @@
+<!---
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
+
+
 Install/Start zookeeper
 -----------------------
 

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/src/site/markdown/Sample_App.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/Sample_App.md b/src/site/markdown/Sample_App.md
index 873a898..409ad22 100644
--- a/src/site/markdown/Sample_App.md
+++ b/src/site/markdown/Sample_App.md
@@ -1,3 +1,23 @@
+<!---
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
+
+
 RabbitMQ Consumer Group
 =======================
 

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/src/site/markdown/UseCases.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/UseCases.md b/src/site/markdown/UseCases.md
index 205a6ce..d2547ef 100644
--- a/src/site/markdown/UseCases.md
+++ b/src/site/markdown/UseCases.md
@@ -1,3 +1,23 @@
+<!---
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
+
+
 # Use cases at LinkedIn
 
 At LinkedIn Helix framework is used to manage 3 distributed data systems which are quite different from each other.
@@ -77,7 +97,7 @@ ONLINE  |  OFFLINE |   N/A  |
 
 ## Search As A Service
 
-LinkedIn�s Search-as-a-service lets internal customers define custom indexes on a chosen dataset 
+LinkedIn�s Search-as-a-service lets internal customers define custom indexes on a chosen dataset 
 and then makes those indexes searchable via a service API. The index service runs on a cluster of machines. 
 The index is broken into partitions and each partition has a configured number of replicas.
 Each cluster server runs an instance of the Sensei system (an online index store) and hosts index partitions. 

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/b9cbbd40/src/site/markdown/index.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 290598a..80eca7b 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -1,3 +1,23 @@
+<!---
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+-->
+
+
 Pages
 ---------------
 * [SampleApp](./Sample_App.html)