New branch for chukwa-0.6 with new license fixes

git-svn-id: https://svn.apache.org/repos/asf/chukwa/branches/chukwa-0.6@1631238 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index f126950..9bd369d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,6 @@
 Chukwa Change Log
 
-Release 0.6 - 08/16/2014
+Release 0.6 - 10/12/2014
 
   NEW FEATURES
 
diff --git a/contrib/solr/logs/conf/clustering/carrot2/kmeans-attributes.xml b/contrib/solr/logs/conf/clustering/carrot2/kmeans-attributes.xml
index d802465..6f315a8 100644
--- a/contrib/solr/logs/conf/clustering/carrot2/kmeans-attributes.xml
+++ b/contrib/solr/logs/conf/clustering/carrot2/kmeans-attributes.xml
@@ -1,3 +1,19 @@
+<!--
+   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.
+-->
 <!-- 
   Default configuration for the bisecting k-means clustering algorithm.
   
diff --git a/contrib/solr/logs/conf/clustering/carrot2/lingo-attributes.xml b/contrib/solr/logs/conf/clustering/carrot2/lingo-attributes.xml
index 4bf1360..3e45bd0 100644
--- a/contrib/solr/logs/conf/clustering/carrot2/lingo-attributes.xml
+++ b/contrib/solr/logs/conf/clustering/carrot2/lingo-attributes.xml
@@ -1,3 +1,19 @@
+<!--
+   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.
+-->
 <!-- 
   Default configuration for the Lingo clustering algorithm.
 
@@ -21,4 +37,4 @@
           </attribute>
       </value-set>
   </attribute-set>
-</attribute-sets>
\ No newline at end of file
+</attribute-sets>
diff --git a/contrib/solr/logs/conf/clustering/carrot2/stc-attributes.xml b/contrib/solr/logs/conf/clustering/carrot2/stc-attributes.xml
index c1bf110..9604d36 100644
--- a/contrib/solr/logs/conf/clustering/carrot2/stc-attributes.xml
+++ b/contrib/solr/logs/conf/clustering/carrot2/stc-attributes.xml
@@ -1,3 +1,19 @@
+<!--
+   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.
+-->
 <!-- 
   Default configuration for the STC clustering algorithm.
 
diff --git a/contrib/solr/logs/conf/lang/contractions_ca.txt b/contrib/solr/logs/conf/lang/contractions_ca.txt
index 307a85f..4a3b6ff 100644
--- a/contrib/solr/logs/conf/lang/contractions_ca.txt
+++ b/contrib/solr/logs/conf/lang/contractions_ca.txt
@@ -1,3 +1,17 @@
+# 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.
 # Set of Catalan contractions for ElisionFilter
 # TODO: load this as a resource from the analyzer and sync it in build.xml
 d
diff --git a/contrib/solr/logs/conf/lang/contractions_fr.txt b/contrib/solr/logs/conf/lang/contractions_fr.txt
index f1bba51..dbe0677 100644
--- a/contrib/solr/logs/conf/lang/contractions_fr.txt
+++ b/contrib/solr/logs/conf/lang/contractions_fr.txt
@@ -1,3 +1,17 @@
+# 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.
 # Set of French contractions for ElisionFilter
 # TODO: load this as a resource from the analyzer and sync it in build.xml
 l
diff --git a/contrib/solr/logs/conf/lang/contractions_ga.txt b/contrib/solr/logs/conf/lang/contractions_ga.txt
index 9ebe7fa..99e9c97 100644
--- a/contrib/solr/logs/conf/lang/contractions_ga.txt
+++ b/contrib/solr/logs/conf/lang/contractions_ga.txt
@@ -1,3 +1,17 @@
+# 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.
 # Set of Irish contractions for ElisionFilter
 # TODO: load this as a resource from the analyzer and sync it in build.xml
 d
diff --git a/contrib/solr/logs/conf/lang/contractions_it.txt b/contrib/solr/logs/conf/lang/contractions_it.txt
index cac0409..c2d2c1e 100644
--- a/contrib/solr/logs/conf/lang/contractions_it.txt
+++ b/contrib/solr/logs/conf/lang/contractions_it.txt
@@ -1,3 +1,17 @@
+# 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.
 # Set of Italian contractions for ElisionFilter
 # TODO: load this as a resource from the analyzer and sync it in build.xml
 c
diff --git a/contrib/solr/logs/conf/lang/hyphenations_ga.txt b/contrib/solr/logs/conf/lang/hyphenations_ga.txt
index 4d2642c..31de8b8 100644
--- a/contrib/solr/logs/conf/lang/hyphenations_ga.txt
+++ b/contrib/solr/logs/conf/lang/hyphenations_ga.txt
@@ -1,3 +1,17 @@
+# 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.
 # Set of Irish hyphenations for StopFilter
 # TODO: load this as a resource from the analyzer and sync it in build.xml
 h
diff --git a/contrib/solr/logs/conf/lang/stemdict_nl.txt b/contrib/solr/logs/conf/lang/stemdict_nl.txt
index 4410729..a8a1a48 100644
--- a/contrib/solr/logs/conf/lang/stemdict_nl.txt
+++ b/contrib/solr/logs/conf/lang/stemdict_nl.txt
@@ -1,3 +1,17 @@
+# 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.
 # Set of overrides for the dutch stemmer
 # TODO: load this as a resource from the analyzer and sync it in build.xml
 fiets	fiets
diff --git a/contrib/solr/logs/conf/lang/stoptags_ja.txt b/contrib/solr/logs/conf/lang/stoptags_ja.txt
index 71b7508..7eafe2e 100644
--- a/contrib/solr/logs/conf/lang/stoptags_ja.txt
+++ b/contrib/solr/logs/conf/lang/stoptags_ja.txt
@@ -1,3 +1,17 @@
+# 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.
 #
 # This file defines a Japanese stoptag set for JapanesePartOfSpeechStopFilter.
 #
diff --git a/contrib/solr/logs/conf/lang/stopwords_ar.txt b/contrib/solr/logs/conf/lang/stopwords_ar.txt
index 046829d..4890c4f 100644
--- a/contrib/solr/logs/conf/lang/stopwords_ar.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_ar.txt
@@ -1,3 +1,17 @@
+# 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.
 # This file was created by Jacques Savoy and is distributed under the BSD license.
 # See http://members.unine.ch/jacques.savoy/clef/index.html.
 # Also see http://www.opensource.org/licenses/bsd-license.html
diff --git a/contrib/solr/logs/conf/lang/stopwords_bg.txt b/contrib/solr/logs/conf/lang/stopwords_bg.txt
index 1ae4ba2..1d2af6c 100644
--- a/contrib/solr/logs/conf/lang/stopwords_bg.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_bg.txt
@@ -1,3 +1,17 @@
+# 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.
 # This file was created by Jacques Savoy and is distributed under the BSD license.
 # See http://members.unine.ch/jacques.savoy/clef/index.html.
 # Also see http://www.opensource.org/licenses/bsd-license.html
diff --git a/contrib/solr/logs/conf/lang/stopwords_ca.txt b/contrib/solr/logs/conf/lang/stopwords_ca.txt
index 3da65de..795b6a9 100644
--- a/contrib/solr/logs/conf/lang/stopwords_ca.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_ca.txt
@@ -1,3 +1,17 @@
+# 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.
 # Catalan stopwords from http://github.com/vcl/cue.language (Apache 2 Licensed)
 a
 abans
diff --git a/contrib/solr/logs/conf/lang/stopwords_ckb.txt b/contrib/solr/logs/conf/lang/stopwords_ckb.txt
index 87abf11..e9b5b8d 100644
--- a/contrib/solr/logs/conf/lang/stopwords_ckb.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_ckb.txt
@@ -1,3 +1,17 @@
+# 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.
 # set of kurdish stopwords
 # note these have been normalized with our scheme (e represented with U+06D5, etc)
 # constructed from:
diff --git a/contrib/solr/logs/conf/lang/stopwords_cz.txt b/contrib/solr/logs/conf/lang/stopwords_cz.txt
index 53c6097..a876049 100644
--- a/contrib/solr/logs/conf/lang/stopwords_cz.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_cz.txt
@@ -1,3 +1,17 @@
+# 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.
 a
 s
 k
diff --git a/contrib/solr/logs/conf/lang/stopwords_el.txt b/contrib/solr/logs/conf/lang/stopwords_el.txt
index 232681f..b8b12e8 100644
--- a/contrib/solr/logs/conf/lang/stopwords_el.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_el.txt
@@ -1,3 +1,17 @@
+# 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.
 # Lucene Greek Stopwords list
 # Note: by default this file is used after GreekLowerCaseFilter,
 # so when modifying this file use 'σ' instead of 'ς' 
diff --git a/contrib/solr/logs/conf/lang/stopwords_eu.txt b/contrib/solr/logs/conf/lang/stopwords_eu.txt
index 25f1db9..687c945 100644
--- a/contrib/solr/logs/conf/lang/stopwords_eu.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_eu.txt
@@ -1,3 +1,17 @@
+# 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.
 # example set of basque stopwords
 al
 anitz
diff --git a/contrib/solr/logs/conf/lang/stopwords_ga.txt b/contrib/solr/logs/conf/lang/stopwords_ga.txt
index 9ff88d7..1666f87 100644
--- a/contrib/solr/logs/conf/lang/stopwords_ga.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_ga.txt
@@ -1,3 +1,17 @@
+# 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.
 
 a
 ach
diff --git a/contrib/solr/logs/conf/lang/stopwords_gl.txt b/contrib/solr/logs/conf/lang/stopwords_gl.txt
index d8760b1..4874f5c 100644
--- a/contrib/solr/logs/conf/lang/stopwords_gl.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_gl.txt
@@ -1,3 +1,17 @@
+# 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.
 # galican stopwords
 a
 aínda
diff --git a/contrib/solr/logs/conf/lang/stopwords_hy.txt b/contrib/solr/logs/conf/lang/stopwords_hy.txt
index 60c1c50..9b70202 100644
--- a/contrib/solr/logs/conf/lang/stopwords_hy.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_hy.txt
@@ -1,3 +1,17 @@
+# 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.
 # example set of Armenian stopwords.
 այդ
 այլ
diff --git a/contrib/solr/logs/conf/lang/stopwords_id.txt b/contrib/solr/logs/conf/lang/stopwords_id.txt
index 4617f83..b1816da 100644
--- a/contrib/solr/logs/conf/lang/stopwords_id.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_id.txt
@@ -1,3 +1,17 @@
+# 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.
 # from appendix D of: A Study of Stemming Effects on Information
 # Retrieval in Bahasa Indonesia
 ada
diff --git a/contrib/solr/logs/conf/lang/stopwords_ja.txt b/contrib/solr/logs/conf/lang/stopwords_ja.txt
index d4321be..edb67c1 100644
--- a/contrib/solr/logs/conf/lang/stopwords_ja.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_ja.txt
@@ -1,3 +1,17 @@
+# 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.
 #
 # This file defines a stopword set for Japanese.
 #
diff --git a/contrib/solr/logs/conf/lang/stopwords_lv.txt b/contrib/solr/logs/conf/lang/stopwords_lv.txt
index e21a23c..92bdf4a 100644
--- a/contrib/solr/logs/conf/lang/stopwords_lv.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_lv.txt
@@ -1,3 +1,17 @@
+# 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.
 # Set of Latvian stopwords from A Stemming Algorithm for Latvian, Karlis Kreslins
 # the original list of over 800 forms was refined: 
 #   pronouns, adverbs, interjections were removed
diff --git a/contrib/solr/logs/conf/lang/stopwords_ro.txt b/contrib/solr/logs/conf/lang/stopwords_ro.txt
index 4fdee90..460b0eb 100644
--- a/contrib/solr/logs/conf/lang/stopwords_ro.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_ro.txt
@@ -1,3 +1,17 @@
+# 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.
 # This file was created by Jacques Savoy and is distributed under the BSD license.
 # See http://members.unine.ch/jacques.savoy/clef/index.html.
 # Also see http://www.opensource.org/licenses/bsd-license.html
diff --git a/contrib/solr/logs/conf/lang/stopwords_th.txt b/contrib/solr/logs/conf/lang/stopwords_th.txt
index 07f0fab..f27ec57 100644
--- a/contrib/solr/logs/conf/lang/stopwords_th.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_th.txt
@@ -1,3 +1,17 @@
+# 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.
 # Thai stopwords from:
 # "Opinion Detection in Thai Political News Columns
 # Based on Subjectivity Analysis"
diff --git a/contrib/solr/logs/conf/lang/stopwords_tr.txt b/contrib/solr/logs/conf/lang/stopwords_tr.txt
index 84d9408..1f03282 100644
--- a/contrib/solr/logs/conf/lang/stopwords_tr.txt
+++ b/contrib/solr/logs/conf/lang/stopwords_tr.txt
@@ -1,3 +1,17 @@
+# 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.
 # Turkish stopwords from LUCENE-559
 # merged with the list from "Information Retrieval on Turkish Texts"
 #   (http://www.users.muohio.edu/canf/papers/JASIST2008offPrint.pdf)
diff --git a/contrib/solr/logs/conf/lang/userdict_ja.txt b/contrib/solr/logs/conf/lang/userdict_ja.txt
index 6f0368e..621b1b2 100644
--- a/contrib/solr/logs/conf/lang/userdict_ja.txt
+++ b/contrib/solr/logs/conf/lang/userdict_ja.txt
@@ -1,3 +1,17 @@
+# 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.
 #
 # This is a sample user dictionary for Kuromoji (JapaneseTokenizer)
 #
diff --git a/contrib/solr/logs/conf/spellings.txt b/contrib/solr/logs/conf/spellings.txt
index d7ede6f..c85146e 100644
--- a/contrib/solr/logs/conf/spellings.txt
+++ b/contrib/solr/logs/conf/spellings.txt
@@ -1,2 +1,16 @@
+# 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.
 pizza
-history
\ No newline at end of file
+history
diff --git a/contrib/solr/logs/conf/update-script.js b/contrib/solr/logs/conf/update-script.js
index 49b07f9..d5722bd 100644
--- a/contrib/solr/logs/conf/update-script.js
+++ b/contrib/solr/logs/conf/update-script.js
@@ -1,4 +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.
+ */
+/*
   This is a basic skeleton JavaScript update processor.
 
   In order for this to be executed, it must be properly wired into solrconfig.xml; by default it is commented out in
diff --git a/contrib/solr/logs/conf/velocity/VM_global_library.vm b/contrib/solr/logs/conf/velocity/VM_global_library.vm
index 5dda07c..4c18bc1 100644
--- a/contrib/solr/logs/conf/velocity/VM_global_library.vm
+++ b/contrib/solr/logs/conf/velocity/VM_global_library.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Global macros used by other templates.
  *  This file must be named VM_global_library.vm
  *  in order for Velocity to find it.
diff --git a/contrib/solr/logs/conf/velocity/browse.vm b/contrib/solr/logs/conf/velocity/browse.vm
index 10ecaeb..414b756 100644
--- a/contrib/solr/logs/conf/velocity/browse.vm
+++ b/contrib/solr/logs/conf/velocity/browse.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Main entry point into the /browse templates
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/cluster.vm b/contrib/solr/logs/conf/velocity/cluster.vm
index bfe2f3b..62cf4c0 100644
--- a/contrib/solr/logs/conf/velocity/cluster.vm
+++ b/contrib/solr/logs/conf/velocity/cluster.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Check if Clustering is Enabled and then
  *  call cluster_results.vm
  *#
diff --git a/contrib/solr/logs/conf/velocity/cluster_results.vm b/contrib/solr/logs/conf/velocity/cluster_results.vm
index 204480d..0588aff 100644
--- a/contrib/solr/logs/conf/velocity/cluster_results.vm
+++ b/contrib/solr/logs/conf/velocity/cluster_results.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Actual rendering of Clusters
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/debug.vm b/contrib/solr/logs/conf/velocity/debug.vm
index 8f6d232..f74adf7 100644
--- a/contrib/solr/logs/conf/velocity/debug.vm
+++ b/contrib/solr/logs/conf/velocity/debug.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Show Debugging Information, if enabled
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/did_you_mean.vm b/contrib/solr/logs/conf/velocity/did_you_mean.vm
index b8faaa5..5a3797d 100644
--- a/contrib/solr/logs/conf/velocity/did_you_mean.vm
+++ b/contrib/solr/logs/conf/velocity/did_you_mean.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Hyperlinked spelling suggestions in results list
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/error.vm b/contrib/solr/logs/conf/velocity/error.vm
index 80b5819..e29a6ec 100644
--- a/contrib/solr/logs/conf/velocity/error.vm
+++ b/contrib/solr/logs/conf/velocity/error.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Show Error Message, if any
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/facet_fields.vm b/contrib/solr/logs/conf/velocity/facet_fields.vm
index d9db659..95e1be1 100644
--- a/contrib/solr/logs/conf/velocity/facet_fields.vm
+++ b/contrib/solr/logs/conf/velocity/facet_fields.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Display facets based on field values
  *  e.g.: fields specified by &facet.field=
  *#
diff --git a/contrib/solr/logs/conf/velocity/facet_pivot.vm b/contrib/solr/logs/conf/velocity/facet_pivot.vm
index 7aa50da..e104163 100644
--- a/contrib/solr/logs/conf/velocity/facet_pivot.vm
+++ b/contrib/solr/logs/conf/velocity/facet_pivot.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Display Pivot-Based Facets
  *  e.g.: facets specified by &facet.pivot=
  *#
diff --git a/contrib/solr/logs/conf/velocity/facet_queries.vm b/contrib/solr/logs/conf/velocity/facet_queries.vm
index 37489c7..00458fe 100644
--- a/contrib/solr/logs/conf/velocity/facet_queries.vm
+++ b/contrib/solr/logs/conf/velocity/facet_queries.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Display facets based on specific facet queries
  *  e.g.: facets specified by &facet.query=
  *#
diff --git a/contrib/solr/logs/conf/velocity/facet_ranges.vm b/contrib/solr/logs/conf/velocity/facet_ranges.vm
index a61084b..0a8d324 100644
--- a/contrib/solr/logs/conf/velocity/facet_ranges.vm
+++ b/contrib/solr/logs/conf/velocity/facet_ranges.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Display facets based on ranges of values, AKA "Bukets"
  *  e.g.: ranges specified by &facet.range=
  *#
diff --git a/contrib/solr/logs/conf/velocity/facets.vm b/contrib/solr/logs/conf/velocity/facets.vm
index 55d40c9..f9f21df 100644
--- a/contrib/solr/logs/conf/velocity/facets.vm
+++ b/contrib/solr/logs/conf/velocity/facets.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Overall Facet display block
  *  Invokes the 4 facet and 1 cluster template
  *#
diff --git a/contrib/solr/logs/conf/velocity/footer.vm b/contrib/solr/logs/conf/velocity/footer.vm
index 0604c34..df82442 100644
--- a/contrib/solr/logs/conf/velocity/footer.vm
+++ b/contrib/solr/logs/conf/velocity/footer.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Render the bottom section of the page visible to users
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/head.vm b/contrib/solr/logs/conf/velocity/head.vm
index d1f6ee6..7c6a3be 100644
--- a/contrib/solr/logs/conf/velocity/head.vm
+++ b/contrib/solr/logs/conf/velocity/head.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Provide elements for the <head> section of the HTML document
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/header.vm b/contrib/solr/logs/conf/velocity/header.vm
index 6866047..24b52a5 100644
--- a/contrib/solr/logs/conf/velocity/header.vm
+++ b/contrib/solr/logs/conf/velocity/header.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Render the top section of the page visible to users
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/hit.vm b/contrib/solr/logs/conf/velocity/hit.vm
index a9c11f4..d5ebb0e 100644
--- a/contrib/solr/logs/conf/velocity/hit.vm
+++ b/contrib/solr/logs/conf/velocity/hit.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Called for each matching document but then
  *  calls one of product_doc, join_doc or richtext_doc
  *  depending on which fields the doc has
diff --git a/contrib/solr/logs/conf/velocity/hit_grouped.vm b/contrib/solr/logs/conf/velocity/hit_grouped.vm
index 5297f1e..1a8ee83 100644
--- a/contrib/solr/logs/conf/velocity/hit_grouped.vm
+++ b/contrib/solr/logs/conf/velocity/hit_grouped.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Display grouped results
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/hit_plain.vm b/contrib/solr/logs/conf/velocity/hit_plain.vm
index 193439b..acaed01 100644
--- a/contrib/solr/logs/conf/velocity/hit_plain.vm
+++ b/contrib/solr/logs/conf/velocity/hit_plain.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  An extremely plain / debug version of hit.vm
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/join_doc.vm b/contrib/solr/logs/conf/velocity/join_doc.vm
index 9956012..716ac54 100644
--- a/contrib/solr/logs/conf/velocity/join_doc.vm
+++ b/contrib/solr/logs/conf/velocity/join_doc.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Display documents that are joined to other documents
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/jquery.autocomplete.css b/contrib/solr/logs/conf/velocity/jquery.autocomplete.css
index 91b6228..91055e1 100644
--- a/contrib/solr/logs/conf/velocity/jquery.autocomplete.css
+++ b/contrib/solr/logs/conf/velocity/jquery.autocomplete.css
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
 .ac_results {
 	padding: 0px;
 	border: 1px solid black;
diff --git a/contrib/solr/logs/conf/velocity/layout.vm b/contrib/solr/logs/conf/velocity/layout.vm
index 50f4c1b..1e50ae8 100644
--- a/contrib/solr/logs/conf/velocity/layout.vm
+++ b/contrib/solr/logs/conf/velocity/layout.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Overall HTML page layout
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/main.css b/contrib/solr/logs/conf/velocity/main.css
index 0aed533..7f538f2 100644
--- a/contrib/solr/logs/conf/velocity/main.css
+++ b/contrib/solr/logs/conf/velocity/main.css
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
 #admin{
   text-align: right;
   vertical-align: top; 
diff --git a/contrib/solr/logs/conf/velocity/mime_type_lists.vm b/contrib/solr/logs/conf/velocity/mime_type_lists.vm
index 1468bbd..89bbefb 100644
--- a/contrib/solr/logs/conf/velocity/mime_type_lists.vm
+++ b/contrib/solr/logs/conf/velocity/mime_type_lists.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Define some Mime-Types, short and long form
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/pagination_bottom.vm b/contrib/solr/logs/conf/velocity/pagination_bottom.vm
index 71b8bdf..f719c4e 100644
--- a/contrib/solr/logs/conf/velocity/pagination_bottom.vm
+++ b/contrib/solr/logs/conf/velocity/pagination_bottom.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Paging and Statistics at bottom of results
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/pagination_top.vm b/contrib/solr/logs/conf/velocity/pagination_top.vm
index e0ac8ac..afe9af9 100644
--- a/contrib/solr/logs/conf/velocity/pagination_top.vm
+++ b/contrib/solr/logs/conf/velocity/pagination_top.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Paging and Statistics at top of results
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/product_doc.vm b/contrib/solr/logs/conf/velocity/product_doc.vm
index c878d8c..0c3e12a 100644
--- a/contrib/solr/logs/conf/velocity/product_doc.vm
+++ b/contrib/solr/logs/conf/velocity/product_doc.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Render a hit representing a Product
  *  assumed to have a field called "name"
  *#
diff --git a/contrib/solr/logs/conf/velocity/query.vm b/contrib/solr/logs/conf/velocity/query.vm
index ddbab3f..568dd2d 100644
--- a/contrib/solr/logs/conf/velocity/query.vm
+++ b/contrib/solr/logs/conf/velocity/query.vm
@@ -1,3 +1,19 @@
+#**
+ *  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.
+ *#
 <div class="query-box">
   <form id="query-form" action="#{url_for_home}" method="GET">
     <div class="inputs">
diff --git a/contrib/solr/logs/conf/velocity/query_form.vm b/contrib/solr/logs/conf/velocity/query_form.vm
index 70a0af2..7c2a6fa 100644
--- a/contrib/solr/logs/conf/velocity/query_form.vm
+++ b/contrib/solr/logs/conf/velocity/query_form.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Renders the main query form
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/query_group.vm b/contrib/solr/logs/conf/velocity/query_group.vm
index 42e5457..184eb77 100644
--- a/contrib/solr/logs/conf/velocity/query_group.vm
+++ b/contrib/solr/logs/conf/velocity/query_group.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Query settings for grouping by fields,
  *  e.g.: Manufacturer or Popularity
  *#
diff --git a/contrib/solr/logs/conf/velocity/query_spatial.vm b/contrib/solr/logs/conf/velocity/query_spatial.vm
index 2bc2044..8291bcb 100644
--- a/contrib/solr/logs/conf/velocity/query_spatial.vm
+++ b/contrib/solr/logs/conf/velocity/query_spatial.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Query logic for selecting location / Geospatial search
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/results_list.vm b/contrib/solr/logs/conf/velocity/results_list.vm
index f73532b..c828ae7 100644
--- a/contrib/solr/logs/conf/velocity/results_list.vm
+++ b/contrib/solr/logs/conf/velocity/results_list.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Render the main Results List
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/richtext_doc.vm b/contrib/solr/logs/conf/velocity/richtext_doc.vm
index 9e8d6cb..17d0d84 100644
--- a/contrib/solr/logs/conf/velocity/richtext_doc.vm
+++ b/contrib/solr/logs/conf/velocity/richtext_doc.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Render a complex document in the results list
  *#
 
diff --git a/contrib/solr/logs/conf/velocity/suggest.vm b/contrib/solr/logs/conf/velocity/suggest.vm
index dae6b83..5e0f22d 100644
--- a/contrib/solr/logs/conf/velocity/suggest.vm
+++ b/contrib/solr/logs/conf/velocity/suggest.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Provides cynamic spelling suggestions
  *  as you type in the search form
  *#
diff --git a/contrib/solr/logs/conf/velocity/tabs.vm b/contrib/solr/logs/conf/velocity/tabs.vm
index da19cbc..f67acfb 100644
--- a/contrib/solr/logs/conf/velocity/tabs.vm
+++ b/contrib/solr/logs/conf/velocity/tabs.vm
@@ -1,4 +1,20 @@
 #**
+ *  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.
+ *#
+#**
  *  Provides navigation/access to Advanced search options
  *  Usually displayed near the top of the page
  *#
diff --git a/contrib/solr/logs/core.properties b/contrib/solr/logs/core.properties
index 44a3d8f..726e1ac 100644
--- a/contrib/solr/logs/core.properties
+++ b/contrib/solr/logs/core.properties
@@ -1 +1,15 @@
+# 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.
 name=logs
diff --git a/pom.xml b/pom.xml
index 6d68cd8..0fea49c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
     <properties>
         <buildtype>test</buildtype>
         <BUILD_NUMBER>${env.BUILD_NUMBER}</BUILD_NUMBER>
-        <VERSION>0.6.0</VERSION>
+        <VERSION>0.6.0-SNAPSHOT</VERSION>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <package.prefix>/usr</package.prefix>
         <package.conf.dir>/etc/chukwa</package.conf.dir>
@@ -735,87 +735,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <version>0.10</version>
-                <executions>
-                    <execution>
-                        <phase>verify</phase>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <numUnapprovedLicenses>0</numUnapprovedLicenses>
-                    <excludes>
-                        <!-- notice files -->
-                        <exclude>CHANGES.txt</exclude>
-                        <!-- generated files -->
-                        <exclude>bin/VERSION</exclude>
-                        <exclude>**/target/**</exclude>
-                        <exclude>**/.classpath</exclude>
-                        <exclude>**/.project</exclude>
-                        <exclude>**/.settings/**</exclude>
-                        <!-- Data files -->
-                        <exclude>conf/agents</exclude>
-                        <exclude>conf/alert</exclude>
-                        <exclude>conf/auth.conf</exclude>
-                        <exclude>conf/collectors</exclude>
-                        <exclude>conf/hbase.schema</exclude>
-                        <exclude>conf/initial_adaptors</exclude>
-                        <exclude>conf/jmxremote.access</exclude>
-                        <exclude>conf/jmxremote.password</exclude>
-                        <exclude>src/main/web/hicc/descriptors/**</exclude>
-                        <exclude>src/main/web/hicc/views/**</exclude>
-                        <exclude>contrib/chukwa-pig/src/java/org/apache/hadoop/chukwa/ChukwaStorage.java</exclude>
-                        <exclude>contrib/solr/logs/**</exclude>
-                        <!-- Test samples -->
-                        <exclude>src/test/resources/Hadoop18JobHistoryLog.txt</exclude>
-                        <exclude>src/test/resources/TestJobLog.txt</exclude>
-                        <exclude>test/samples/ClientTrace.log</exclude>
-                        <exclude>test/samples/Iostat.log</exclude>
-                        <exclude>test/samples/JobHistory.log</exclude>
-                        <!-- bsd licensed files -->
-                        <exclude>src/main/web/hicc/js/jquery-*</exclude>
-                        <exclude>src/main/web/hicc/css/iui.css</exclude>
-                        <exclude>src/main/web/hicc/js/behaviour.js</exclude>
-                        <exclude>src/main/web/hicc/js/iui.js</exclude>
-                        <exclude>src/main/web/hicc/js/yahoo-dom-event.js</exclude>
-                        <exclude>src/main/web/hicc/js/treeview-min.js</exclude>
-                        <!-- MIT licensed files -->
-                        <exclude>src/main/web/hicc/css/flexigrid/flexigrid.css</exclude>
-                        <exclude>src/main/web/hicc/css/timeline.css</exclude>
-                        <exclude>src/main/web/hicc/lib/timeline/**</exclude>
-                        <exclude>lib/agent.dict</exclude>
-                        <exclude>lib/collector.dict</exclude>
-                        <exclude>lib/confspellcheck-README</exclude>
-                        <exclude>lib/json-README.txt</exclude>
-                        <exclude>src/main/web/hicc/js/ajaxtree.js</exclude>
-                        <exclude>src/main/web/hicc/js/flexigrid.js</exclude>
-                        <exclude>src/main/web/hicc/js/flexigrid.pack.js</exclude>
-                        <exclude>src/main/web/hicc/js/workspace/builder.js</exclude>
-                        <exclude>src/main/web/hicc/js/workspace/controls.js</exclude>
-                        <exclude>src/main/web/hicc/js/workspace/dragdrop.js</exclude>
-                        <exclude>src/main/web/hicc/js/workspace/effects.js</exclude>
-                        <exclude>src/main/web/hicc/js/workspace/scriptaculous.js</exclude>
-                        <exclude>src/main/web/hicc/js/workspace/slider.js</exclude>
-                        <exclude>src/main/web/hicc/js/workspace/sound.js</exclude>
-                        <exclude>src/main/web/hicc/js/org/tool-man/*</exclude>
-                        <exclude>src/main/web/hicc/js/timeframe.js</exclude>
-                        <exclude>src/main/web/hicc/js/workspace/prototype.js</exclude>
-                        <exclude>src/main/web/hicc/js/jquery.flot.pack.js</exclude>
-                        <exclude>src/main/web/hicc/js/gsv.js</exclude>
-                        <!-- Creative Commons licensed files -->
-                        <exclude>src/main/web/hicc/js/autoHeight.js</exclude>
-                        <!-- Public Domain -->
-                        <exclude>src/main/web/hicc/js/base64.js</exclude>
-                        <exclude>src/main/web/hicc/js/canvas2image.js</exclude>
-                        <exclude>src/main/web/hicc/js/json.js</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
         </plugins>
         <extensions>
           <extension>
diff --git a/rat.xml b/rat.xml
new file mode 100644
index 0000000..33e04db
--- /dev/null
+++ b/rat.xml
@@ -0,0 +1,145 @@
+<?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.
+-->
+<project default="scan" name="Ant task examples"> 
+  <description> 
+    A few examples of using the Ant task, for more examples see the
+    AntUnit tests
+  </description> 
+ 
+ 
+  <target name="scan" depends="-taskdef"
+    description="runs the task over RAT's source tree"> 
+    <rat:report xmlns:rat="antlib:org.apache.rat.anttasks"> 
+      <fileset dir="."> 
+        <patternset id="exclusions"> 
+            <!-- notice files -->
+            <exclude name="CHANGES.txt"/>
+
+            <!-- generated files -->
+            <exclude name="bin/VERSION"/>
+            <exclude name="**/target/**"/>
+            <exclude name="**/.classpath"/>
+            <exclude name="**/.project"/>
+            <exclude name="**/.settings/**"/>
+
+            <!-- Data files -->
+            <exclude name="conf/agents"/>
+            <exclude name="conf/alert"/>
+            <exclude name="conf/auth.conf"/>
+            <exclude name="conf/collectors"/>
+            <exclude name="conf/hbase.schema"/>
+            <exclude name="conf/initial_adaptors"/>
+            <exclude name="conf/jmxremote.access"/>
+            <exclude name="conf/jmxremote.password"/>
+            <exclude name="contrib/solr/logs/conf/_schema_analysis_stopwords_english.json"/>
+            <exclude name="contrib/solr/logs/conf/_schema_analysis_synonyms_english.json"/>
+            <exclude name="src/main/web/hicc/descriptors/**"/>
+            <exclude name="src/main/web/hicc/views/**"/>
+
+            <!-- Test samples -->
+            <exclude name="src/test/resources/Hadoop18JobHistoryLog.txt"/>
+            <exclude name="src/test/resources/TestJobLog.txt"/>
+            <exclude name="test/samples/ClientTrace.log"/>
+            <exclude name="test/samples/Iostat.log"/>
+            <exclude name="test/samples/JobHistory.log"/>
+
+            <!-- bsd licensed files -->
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_da.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_de.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_es.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_fa.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_fi.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_fr.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_hi.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_hu.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_it.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_nl.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_no.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_pt.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_ru.txt"/>
+            <exclude name="contrib/solr/logs/conf/lang/stopwords_sv.txt"/>
+            <exclude name="src/main/web/hicc/js/jquery-*"/>
+            <exclude name="src/main/web/hicc/css/iui.css"/>
+            <exclude name="src/main/web/hicc/js/behaviour.js"/>
+            <exclude name="src/main/web/hicc/js/heatmap.js"/>
+            <exclude name="src/main/web/hicc/js/iui.js"/>
+            <exclude name="src/main/web/hicc/js/yahoo-dom-event.js"/>
+            <exclude name="src/main/web/hicc/js/treeview-min.js"/>
+
+            <!-- MIT licensed files -->
+            <exclude name="contrib/solr/logs/conf/velocity/jquery.autocomplete.js"/>
+            <exclude name="src/main/web/hicc/css/flexigrid/flexigrid.css"/>
+            <exclude name="src/main/web/hicc/css/timeline.css"/>
+            <exclude name="src/main/web/hicc/lib/timeline/**"/>
+            <exclude name="lib/agent.dict"/>
+            <exclude name="lib/collector.dict"/>
+            <exclude name="lib/confspellcheck-README"/>
+            <exclude name="lib/json-README.txt"/>
+            <exclude name="src/main/web/hicc/js/ajaxtree.js"/>
+            <exclude name="src/main/web/hicc/js/flexigrid.js"/>
+            <exclude name="src/main/web/hicc/js/flexigrid.pack.js"/>
+            <exclude name="src/main/web/hicc/js/workspace/builder.js"/>
+            <exclude name="src/main/web/hicc/js/workspace/controls.js"/>
+            <exclude name="src/main/web/hicc/js/workspace/dragdrop.js"/>
+            <exclude name="src/main/web/hicc/js/workspace/effects.js"/>
+            <exclude name="src/main/web/hicc/js/workspace/scriptaculous.js"/>
+            <exclude name="src/main/web/hicc/js/workspace/slider.js"/>
+            <exclude name="src/main/web/hicc/js/workspace/sound.js"/>
+            <exclude name="src/main/web/hicc/js/org/tool-man/*"/>
+            <exclude name="src/main/web/hicc/js/timeframe.js"/>
+            <exclude name="src/main/web/hicc/js/workspace/prototype.js"/>
+            <exclude name="src/main/web/hicc/js/jquery.flot.pack.js"/>
+            <exclude name="src/main/web/hicc/js/gsv.js"/>
+
+            <!-- Creative Commons licensed files -->
+            <exclude name="src/main/web/hicc/js/autoHeight.js"/>
+
+            <!-- Public Domain -->
+            <exclude name="src/main/web/hicc/js/base64.js"/>
+            <exclude name="src/main/web/hicc/js/canvas2image.js"/>
+            <exclude name="src/main/web/hicc/js/json.js"/>
+        </patternset>
+      </fileset> 
+    </rat:report> 
+  </target>
+
+  <condition property="rat.already.downloaded">
+    <not><available file="${java.io.tmpdir}/rat.zip"/></not>
+  </condition>
+
+  <target name="download-rat" if="rat.already.downloaded">
+    <get src="http://archive.apache.org/dist/incubator/rat/apache-rat-incubating-current-bin.zip" dest="${java.io.tmpdir}/rat.zip"/>
+  </target>
+
+  <target name="-taskdef" depends="download-rat">
+    <unzip src="${java.io.tmpdir}/rat.zip" dest="${java.io.tmpdir}/rat"/>
+
+    <typedef resource="org/apache/rat/anttasks/antlib.xml"
+             uri="antlib:org.apache.rat.anttasks">
+
+      <classpath>
+        <fileset dir="${java.io.tmpdir}/rat/">
+           <include name="**/apache-rat*.jar"/>
+           <include name="**/lib/**/commons-*.jar"/>
+        </fileset> 
+      </classpath> 
+    </typedef> 
+  </target> 
+</project>