You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by pa...@apache.org on 2015/06/08 04:44:46 UTC

[1/2] incubator-groovy git commit: Apache license headers for adoc files

Repository: incubator-groovy
Updated Branches:
  refs/heads/master e593ef34c -> 50fe884fd


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-json/src/spec/doc/json-builder.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/src/spec/doc/json-builder.adoc b/subprojects/groovy-json/src/spec/doc/json-builder.adoc
index d1463d2..1cb6ed5 100644
--- a/subprojects/groovy-json/src/spec/doc/json-builder.adoc
+++ b/subprojects/groovy-json/src/spec/doc/json-builder.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = JsonBuilder
 
 Groovys `JsonBuilder` makes it easy to create Json. For example to create this Json string:

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-json/src/spec/doc/json-userguide.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/src/spec/doc/json-userguide.adoc b/subprojects/groovy-json/src/spec/doc/json-userguide.adoc
index c1558f5..905d85c 100644
--- a/subprojects/groovy-json/src/spec/doc/json-userguide.adoc
+++ b/subprojects/groovy-json/src/spec/doc/json-userguide.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Processing JSON
 
 Groovy comes with integrated support for converting between Groovy objects and JSON. The classes dedicated to

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-json/src/spec/doc/streaming-jason-builder.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/src/spec/doc/streaming-jason-builder.adoc b/subprojects/groovy-json/src/spec/doc/streaming-jason-builder.adoc
index 1ac5787..296794e 100644
--- a/subprojects/groovy-json/src/spec/doc/streaming-jason-builder.adoc
+++ b/subprojects/groovy-json/src/spec/doc/streaming-jason-builder.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = StreamingJsonBuilder
 
 Unlike `JsonBuilder` which creates a data structure in memory, which is handy in those situations where you want to alter the structure programmatically before output,

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-jsr223/src/spec/doc/integrating-jsr223.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-jsr223/src/spec/doc/integrating-jsr223.adoc b/subprojects/groovy-jsr223/src/spec/doc/integrating-jsr223.adoc
index 036d96a..c4c430e 100644
--- a/subprojects/groovy-jsr223/src/spec/doc/integrating-jsr223.adoc
+++ b/subprojects/groovy-jsr223/src/spec/doc/integrating-jsr223.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 [[jsr223]]
 = JSR 223 javax.script API
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-servlet/src/spec/doc/servlet-userguide.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-servlet/src/spec/doc/servlet-userguide.adoc b/subprojects/groovy-servlet/src/spec/doc/servlet-userguide.adoc
index 1b474f9..8e87655 100644
--- a/subprojects/groovy-servlet/src/spec/doc/servlet-userguide.adoc
+++ b/subprojects/groovy-servlet/src/spec/doc/servlet-userguide.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Servlet support
 
 You can write (Java) Servlets in Groovy (called Groovlets).

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
index 18db669..fc50f15 100644
--- a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
+++ b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Interacting with a SQL database
 
 Groovy's `groovy-sql` module provides a higher-level abstraction over Java's JDBC technology. JDBC itself provides

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-swing/src/spec/doc/swing-builder.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-swing/src/spec/doc/swing-builder.adoc b/subprojects/groovy-swing/src/spec/doc/swing-builder.adoc
index 02d9cf0..f2346e9 100644
--- a/subprojects/groovy-swing/src/spec/doc/swing-builder.adoc
+++ b/subprojects/groovy-swing/src/spec/doc/swing-builder.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 [[swingbuilder]]
 = SwingBuilder
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-templates/src/spec/doc/markup-template-engine.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-templates/src/spec/doc/markup-template-engine.adoc b/subprojects/groovy-templates/src/spec/doc/markup-template-engine.adoc
index e6510de..852d007 100644
--- a/subprojects/groovy-templates/src/spec/doc/markup-template-engine.adoc
+++ b/subprojects/groovy-templates/src/spec/doc/markup-template-engine.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = The MarkupTemplateEngine
 
 This template engine is a template engine primarily aimed at generating XML-like markup (XML, XHTML, HTML5, ...), but that

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-templates/src/spec/doc/template-engines.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-templates/src/spec/doc/template-engines.adoc b/subprojects/groovy-templates/src/spec/doc/template-engines.adoc
index 93b2032..9f6d3df 100644
--- a/subprojects/groovy-templates/src/spec/doc/template-engines.adoc
+++ b/subprojects/groovy-templates/src/spec/doc/template-engines.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Template engines
 
 == Introduction

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-xml/src/spec/doc/dom-builder.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-xml/src/spec/doc/dom-builder.adoc b/subprojects/groovy-xml/src/spec/doc/dom-builder.adoc
index b2baa42..7f68904 100644
--- a/subprojects/groovy-xml/src/spec/doc/dom-builder.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/dom-builder.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = DOMBuilder
 
 A builder for parsing HTML, XHTML and XML into a https://en.wikipedia.org/wiki/Document_Object_Model[W3C DOM] tree.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-xml/src/spec/doc/sax-builder.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-xml/src/spec/doc/sax-builder.adoc b/subprojects/groovy-xml/src/spec/doc/sax-builder.adoc
index b0975eb..aebae13 100644
--- a/subprojects/groovy-xml/src/spec/doc/sax-builder.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/sax-builder.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = SaxBuilder
 
 A builder for generating https://en.wikipedia.org/wiki/Simple_API_for_XML[Simple API for XML (SAX)] events.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-xml/src/spec/doc/stax-builder.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-xml/src/spec/doc/stax-builder.adoc b/subprojects/groovy-xml/src/spec/doc/stax-builder.adoc
index 88ee63e..d452055 100644
--- a/subprojects/groovy-xml/src/spec/doc/stax-builder.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/stax-builder.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = StaxBuilder
 
 A Groovy builder that works with http://en.wikipedia.org/wiki/StAX[Streaming API for XML (StAX)] processors.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc b/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
index 75fc990..6c66a36 100644
--- a/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Processing XML
 
 == Parsing XML


[2/2] incubator-groovy git commit: Apache license headers for adoc files

Posted by pa...@apache.org.
Apache license headers for adoc files


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

Branch: refs/heads/master
Commit: 50fe884fd83546d4925380ef3a50ed47b806fc3d
Parents: e593ef3
Author: Paul King <pa...@asert.com.au>
Authored: Mon Jun 8 12:44:33 2015 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 12:44:33 2015 +1000

----------------------------------------------------------------------
 README.adoc                                     | 21 ++++++++++++++++++++
 config/licensing/rat-excludes.txt               |  1 -
 src/spec/doc/contributors.adoc                  | 21 ++++++++++++++++++++
 src/spec/doc/core-closures.adoc                 | 21 ++++++++++++++++++++
 src/spec/doc/core-differences-java.adoc         | 21 ++++++++++++++++++++
 .../doc/core-domain-specific-languages.adoc     | 21 ++++++++++++++++++++
 src/spec/doc/core-gdk.adoc                      | 21 ++++++++++++++++++++
 src/spec/doc/core-getting-started.adoc          | 21 ++++++++++++++++++++
 src/spec/doc/core-introduction.adoc             | 21 ++++++++++++++++++++
 src/spec/doc/core-metaprogramming.adoc          | 21 ++++++++++++++++++++
 src/spec/doc/core-object-orientation.adoc       | 21 ++++++++++++++++++++
 src/spec/doc/core-operators.adoc                | 21 ++++++++++++++++++++
 src/spec/doc/core-program-structure.adoc        | 21 ++++++++++++++++++++
 src/spec/doc/core-semantics.adoc                | 21 ++++++++++++++++++++
 src/spec/doc/core-syntax.adoc                   | 21 ++++++++++++++++++++
 src/spec/doc/core-testing-guide.adoc            | 21 ++++++++++++++++++++
 src/spec/doc/core-traits.adoc                   | 21 ++++++++++++++++++++
 .../doc/design-pattern-abstract-factory.adoc    | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-adapter.adoc        | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-bouncer.adoc        | 21 ++++++++++++++++++++
 .../design-pattern-chain-of-responsibility.adoc | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-composite.adoc      | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-decorator.adoc      | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-delegation.adoc     | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-flyweight.adoc      | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-in-groovy.adoc      | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-iterator.adoc       | 21 ++++++++++++++++++++
 .../doc/design-pattern-loan-my-resource.adoc    | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-null-object.adoc    | 21 ++++++++++++++++++++
 .../doc/design-pattern-pimp-my-library.adoc     | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-proxy.adoc          | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-singleton.adoc      | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-state.adoc          | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-strategy.adoc       | 21 ++++++++++++++++++++
 .../doc/design-pattern-template-method.adoc     | 21 ++++++++++++++++++++
 src/spec/doc/design-pattern-visitor.adoc        | 21 ++++++++++++++++++++
 src/spec/doc/grape.adoc                         | 21 ++++++++++++++++++++
 src/spec/doc/groovy-contributions.adoc          | 21 ++++++++++++++++++++
 src/spec/doc/guide-integrating.adoc             | 21 ++++++++++++++++++++
 src/spec/doc/index.adoc                         | 21 ++++++++++++++++++++
 src/spec/doc/invokedynamic-support.adoc         | 21 ++++++++++++++++++++
 src/spec/doc/license.adoc                       | 21 ++++++++++++++++++++
 src/spec/doc/style-guide.adoc                   | 21 ++++++++++++++++++++
 src/spec/doc/tools-groovy.adoc                  | 21 ++++++++++++++++++++
 src/spec/doc/tools-groovyc.adoc                 | 21 ++++++++++++++++++++
 src/spec/doc/tools-groovyeclipse.adoc           | 21 ++++++++++++++++++++
 src/spec/doc/tools-ide.adoc                     | 21 ++++++++++++++++++++
 src/spec/doc/type-checking-extensions.adoc      | 21 ++++++++++++++++++++
 src/spec/doc/version-scheme.adoc                | 21 ++++++++++++++++++++
 src/spec/doc/windows-nsis-installer.adoc        | 21 ++++++++++++++++++++
 src/spec/doc/working-with-collections.adoc      | 21 ++++++++++++++++++++
 src/spec/doc/working-with-io.adoc               | 21 ++++++++++++++++++++
 .../groovy-ant/src/spec/doc/ant-builder.adoc    | 21 ++++++++++++++++++++
 .../src/spec/doc/groovy-ant-task.adoc           | 21 ++++++++++++++++++++
 .../src/spec/doc/integrating-bsf.adoc           | 21 ++++++++++++++++++++
 .../src/spec/doc/groovy-console.adoc            | 21 ++++++++++++++++++++
 .../src/spec/doc/groovydoc.adoc                 | 21 ++++++++++++++++++++
 .../groovy-groovysh/src/spec/doc/groovysh.adoc  | 21 ++++++++++++++++++++
 subprojects/groovy-jmx/src/spec/doc/jmx.adoc    | 21 ++++++++++++++++++++
 .../groovy-json/src/spec/doc/json-builder.adoc  | 21 ++++++++++++++++++++
 .../src/spec/doc/json-userguide.adoc            | 21 ++++++++++++++++++++
 .../src/spec/doc/streaming-jason-builder.adoc   | 21 ++++++++++++++++++++
 .../src/spec/doc/integrating-jsr223.adoc        | 21 ++++++++++++++++++++
 .../src/spec/doc/servlet-userguide.adoc         | 21 ++++++++++++++++++++
 .../groovy-sql/src/spec/doc/sql-userguide.adoc  | 21 ++++++++++++++++++++
 .../src/spec/doc/swing-builder.adoc             | 21 ++++++++++++++++++++
 .../src/spec/doc/markup-template-engine.adoc    | 21 ++++++++++++++++++++
 .../src/spec/doc/template-engines.adoc          | 21 ++++++++++++++++++++
 .../groovy-xml/src/spec/doc/dom-builder.adoc    | 21 ++++++++++++++++++++
 .../groovy-xml/src/spec/doc/sax-builder.adoc    | 21 ++++++++++++++++++++
 .../groovy-xml/src/spec/doc/stax-builder.adoc   | 21 ++++++++++++++++++++
 .../groovy-xml/src/spec/doc/xml-userguide.adoc  | 21 ++++++++++++++++++++
 72 files changed, 1491 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/README.adoc
----------------------------------------------------------------------
diff --git a/README.adoc b/README.adoc
index f08a685..e9f70b2 100644
--- a/README.adoc
+++ b/README.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Groovy
 The Groovy development team
 :revdate: 24-02-2014

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/config/licensing/rat-excludes.txt
----------------------------------------------------------------------
diff --git a/config/licensing/rat-excludes.txt b/config/licensing/rat-excludes.txt
index f71211c..6b5a41f 100644
--- a/config/licensing/rat-excludes.txt
+++ b/config/licensing/rat-excludes.txt
@@ -22,7 +22,6 @@ assets
 resources
 test-resources
 gradlew\.bat
-.*\.adoc
 .*\.gradle
 .*\.properties
 .*\.policy

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/contributors.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/contributors.adoc b/src/spec/doc/contributors.adoc
index 2348310..d8be5b3 100644
--- a/src/spec/doc/contributors.adoc
+++ b/src/spec/doc/contributors.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Contributors
 
 The Groovy team would like to thank the contributors of this documentation (by alphabetical order):

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-closures.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-closures.adoc b/src/spec/doc/core-closures.adoc
index ec02435..5637916 100644
--- a/src/spec/doc/core-closures.adoc
+++ b/src/spec/doc/core-closures.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Closures
 
 :lambdas: http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html[lambda expressions in Java 8]

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-differences-java.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-differences-java.adoc b/src/spec/doc/core-differences-java.adoc
index 64337ce..2ffe690 100644
--- a/src/spec/doc/core-differences-java.adoc
+++ b/src/spec/doc/core-differences-java.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Differences with Java
 
 Groovy tries to be as natural as possible for Java developers. We’ve

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-domain-specific-languages.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-domain-specific-languages.adoc b/src/spec/doc/core-domain-specific-languages.adoc
index d73b81c..d023834 100644
--- a/src/spec/doc/core-domain-specific-languages.adoc
+++ b/src/spec/doc/core-domain-specific-languages.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Domain-Specific Languages
 
 == Command chains

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-gdk.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-gdk.adoc b/src/spec/doc/core-gdk.adoc
index 465ce6f..07caae9 100644
--- a/src/spec/doc/core-gdk.adoc
+++ b/src/spec/doc/core-gdk.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Groovy Development Kit
 
 include::{projectdir}/src/spec/doc/working-with-io.adoc[leveloffset=+1]

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-getting-started.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-getting-started.adoc b/src/spec/doc/core-getting-started.adoc
index 97e65a1..676b642 100644
--- a/src/spec/doc/core-getting-started.adoc
+++ b/src/spec/doc/core-getting-started.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Getting started
 
 == Download

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-introduction.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-introduction.adoc b/src/spec/doc/core-introduction.adoc
index 09446e0..b99e7f0 100644
--- a/src/spec/doc/core-introduction.adoc
+++ b/src/spec/doc/core-introduction.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Introduction
 
 Groovy...

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-metaprogramming.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-metaprogramming.adoc b/src/spec/doc/core-metaprogramming.adoc
index 3b6c3e4..108fa2e 100644
--- a/src/spec/doc/core-metaprogramming.adoc
+++ b/src/spec/doc/core-metaprogramming.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Metaprogramming
 
 The Groovy language supports two flavors of metaprogramming: runtime metaprogramming and compile-time metaprogramming.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-object-orientation.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-object-orientation.adoc b/src/spec/doc/core-object-orientation.adoc
index 8304ecf..583052b 100644
--- a/src/spec/doc/core-object-orientation.adoc
+++ b/src/spec/doc/core-object-orientation.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Object orientation
 :jls: http://docs.oracle.com/javase/specs/jls/se8/html/
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-operators.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-operators.adoc b/src/spec/doc/core-operators.adoc
index d55f828..5d3c767 100644
--- a/src/spec/doc/core-operators.adoc
+++ b/src/spec/doc/core-operators.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 [[groovy-operators]]
 = Operators
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-program-structure.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-program-structure.adoc b/src/spec/doc/core-program-structure.adoc
index 59df4de..317eaba 100644
--- a/src/spec/doc/core-program-structure.adoc
+++ b/src/spec/doc/core-program-structure.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Program structure
 
 This chapter covers the program structure of the Groovy programming language.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-semantics.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 88e0301..ceb89f9 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Semantics
 
 This chapter covers the semantics of the Groovy programming language.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-syntax.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-syntax.adoc b/src/spec/doc/core-syntax.adoc
index d222f62..42a251f 100644
--- a/src/spec/doc/core-syntax.adoc
+++ b/src/spec/doc/core-syntax.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Syntax
 
 This chapter covers the syntax of the Groovy programming language.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-testing-guide.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-testing-guide.adoc b/src/spec/doc/core-testing-guide.adoc
index 7ec1abf..1e893d9 100644
--- a/src/spec/doc/core-testing-guide.adoc
+++ b/src/spec/doc/core-testing-guide.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Testing Guide
 
 == Introduction

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/core-traits.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-traits.adoc b/src/spec/doc/core-traits.adoc
index 379fec5..f8c0cb2 100644
--- a/src/spec/doc/core-traits.adoc
+++ b/src/spec/doc/core-traits.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Traits
 
 Traits are a a structural construct of the language which allow:

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-abstract-factory.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-abstract-factory.adoc b/src/spec/doc/design-pattern-abstract-factory.adoc
index d4264b6..6d189f3 100644
--- a/src/spec/doc/design-pattern-abstract-factory.adoc
+++ b/src/spec/doc/design-pattern-abstract-factory.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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 Factory Pattern
 
 The http://en.wikipedia.org/wiki/Abstract_factory_pattern[Abstract Factory Pattern] provides a way to encapsulate a group of individual factories that have a common theme. It embodies the intent of a normal factory, i.e. remove the need for code using an interface to know the concrete implementation behind the interface, but applies to a set of interfaces and selects an entire family of concrete classes which implement those interfaces.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-adapter.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-adapter.adoc b/src/spec/doc/design-pattern-adapter.adoc
index d338e55..0eb2c21 100644
--- a/src/spec/doc/design-pattern-adapter.adoc
+++ b/src/spec/doc/design-pattern-adapter.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Adapter Pattern
 
 The http://en.wikipedia.org/wiki/Adapter_pattern[Adapter Pattern] (sometimes called the wrapper pattern) allows objects satisfying one interface to be used where another type of interface is expected. There are two typical flavours of the pattern: the __delegation__ flavour and the __inheritance__ flavour.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-bouncer.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-bouncer.adoc b/src/spec/doc/design-pattern-bouncer.adoc
index 316f6aa..3aaf70f 100644
--- a/src/spec/doc/design-pattern-bouncer.adoc
+++ b/src/spec/doc/design-pattern-bouncer.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Bouncer Pattern
 
 The http://www.c2.com/cgi/wiki?BouncerPattern[Bouncer Pattern] describes usage of a method whose sole purpose is to either throw an exception (when particular conditions hold) or do nothing. Such methods are often used to defensively guard pre-conditions of a method.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-chain-of-responsibility.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-chain-of-responsibility.adoc b/src/spec/doc/design-pattern-chain-of-responsibility.adoc
index 68bfb71..cf1206d 100644
--- a/src/spec/doc/design-pattern-chain-of-responsibility.adoc
+++ b/src/spec/doc/design-pattern-chain-of-responsibility.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Chain of Responsibility Pattern
 
 In the Chain of Responsibility Pattern, objects using and implementing an interface (one or more methods) are intentionally loosely coupled. A set of objects that __implement__ the interface are organised in a list (or in rare cases a tree). Objects using the interface make requests from the first __implementor__ object. It will decide whether to perform any action itself and whether to pass the request further down the line in the list (or tree). Sometimes a default implementation for some request is also coded into the pattern if none of the implementors respond to the request.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-composite.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-composite.adoc b/src/spec/doc/design-pattern-composite.adoc
index 4814755..e307431 100644
--- a/src/spec/doc/design-pattern-composite.adoc
+++ b/src/spec/doc/design-pattern-composite.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Composite Pattern
 
 The http://en.wikipedia.org/wiki/Composite_pattern[Composite Pattern] allows you to treat single instances of an object the same way as a group of objects. The pattern is often used with hierarchies of objects. Typically, one or more methods should be callable in the same way for either __leaf__ or __composite__ nodes within the hierarchy. In such a case, composite nodes typically invoke the same named method for each of their children nodes.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-decorator.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-decorator.adoc b/src/spec/doc/design-pattern-decorator.adoc
index 7745e66..bc985fb 100644
--- a/src/spec/doc/design-pattern-decorator.adoc
+++ b/src/spec/doc/design-pattern-decorator.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Decorator Pattern
 
 The http://en.wikipedia.org/wiki/Decorator_pattern[Decorator Pattern] provides a mechanism to embellish the behaviour of an object without changing its essential interface. A decorated object should be able to be substituted wherever the original (non-decorated) object was expected. Decoration typically does not involve modifying the source code of the original object and decorators should be able to be combined in flexible ways to produce objects with several embellishments.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-delegation.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-delegation.adoc b/src/spec/doc/design-pattern-delegation.adoc
index 8938d7a..6e0dc97 100644
--- a/src/spec/doc/design-pattern-delegation.adoc
+++ b/src/spec/doc/design-pattern-delegation.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Delegation Pattern
 
 The http://en.wikipedia.org/wiki/Delegation_pattern[Delegation Pattern] is a technique where an object's behavior (public methods) is implemented by delegating responsibility to one or more associated objects.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-flyweight.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-flyweight.adoc b/src/spec/doc/design-pattern-flyweight.adoc
index 3b71dd7..e07a8c1 100644
--- a/src/spec/doc/design-pattern-flyweight.adoc
+++ b/src/spec/doc/design-pattern-flyweight.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Flyweight Pattern
 
 The http://en.wikipedia.org/wiki/Flyweight_pattern[Flyweight Pattern] is a pattern for greatly reducing memory requirements by not requiring that heavy-weight objects be created in large numbers when dealing with systems that contain many things that are mostly the same. If for instance, a document was modelled using a complex character class that knew about unicode, fonts, positioning, etc., then the memory requirements could be quite large for large documents if each physical character in the document required its own character class instance. Instead, characters themselves might be kept within Strings and we might have one character class (or a small number such as one character class for each font type) that knew the specifics of how to deal with characters.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-in-groovy.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-in-groovy.adoc b/src/spec/doc/design-pattern-in-groovy.adoc
index 34dbd68..2017f01 100644
--- a/src/spec/doc/design-pattern-in-groovy.adoc
+++ b/src/spec/doc/design-pattern-in-groovy.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Design patterns in Groovy
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-iterator.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-iterator.adoc b/src/spec/doc/design-pattern-iterator.adoc
index 67a4cd9..f17bb3d 100644
--- a/src/spec/doc/design-pattern-iterator.adoc
+++ b/src/spec/doc/design-pattern-iterator.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Iterator Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-loan-my-resource.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-loan-my-resource.adoc b/src/spec/doc/design-pattern-loan-my-resource.adoc
index 710c6d0..f443d35 100644
--- a/src/spec/doc/design-pattern-loan-my-resource.adoc
+++ b/src/spec/doc/design-pattern-loan-my-resource.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Loan my Resource Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-null-object.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-null-object.adoc b/src/spec/doc/design-pattern-null-object.adoc
index 0d46d4c..ee9c12d 100644
--- a/src/spec/doc/design-pattern-null-object.adoc
+++ b/src/spec/doc/design-pattern-null-object.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Null Object Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-pimp-my-library.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-pimp-my-library.adoc b/src/spec/doc/design-pattern-pimp-my-library.adoc
index 1c05784..3419409 100644
--- a/src/spec/doc/design-pattern-pimp-my-library.adoc
+++ b/src/spec/doc/design-pattern-pimp-my-library.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Pimp my Library Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-proxy.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-proxy.adoc b/src/spec/doc/design-pattern-proxy.adoc
index 6a63a79..94c2d56 100644
--- a/src/spec/doc/design-pattern-proxy.adoc
+++ b/src/spec/doc/design-pattern-proxy.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Proxy Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-singleton.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-singleton.adoc b/src/spec/doc/design-pattern-singleton.adoc
index 7a0a5b3..1ef58b7 100644
--- a/src/spec/doc/design-pattern-singleton.adoc
+++ b/src/spec/doc/design-pattern-singleton.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Singleton Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-state.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-state.adoc b/src/spec/doc/design-pattern-state.adoc
index c0f23c1..e99a016 100644
--- a/src/spec/doc/design-pattern-state.adoc
+++ b/src/spec/doc/design-pattern-state.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = State Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-strategy.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-strategy.adoc b/src/spec/doc/design-pattern-strategy.adoc
index 6d58731..e005202 100644
--- a/src/spec/doc/design-pattern-strategy.adoc
+++ b/src/spec/doc/design-pattern-strategy.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Strategy Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-template-method.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-template-method.adoc b/src/spec/doc/design-pattern-template-method.adoc
index a434148..4a2740f 100644
--- a/src/spec/doc/design-pattern-template-method.adoc
+++ b/src/spec/doc/design-pattern-template-method.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Template Method Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/design-pattern-visitor.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-visitor.adoc b/src/spec/doc/design-pattern-visitor.adoc
index f5a7947..0a9d788 100644
--- a/src/spec/doc/design-pattern-visitor.adoc
+++ b/src/spec/doc/design-pattern-visitor.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Visitor Pattern
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/grape.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/grape.adoc b/src/spec/doc/grape.adoc
index a0a0c3c..2671387 100644
--- a/src/spec/doc/grape.adoc
+++ b/src/spec/doc/grape.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 [[section-grape]]
 = Dependency management with Grape
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/groovy-contributions.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/groovy-contributions.adoc b/src/spec/doc/groovy-contributions.adoc
index a06f772..929516f 100644
--- a/src/spec/doc/groovy-contributions.adoc
+++ b/src/spec/doc/groovy-contributions.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Groovy Contributions
  
 ++++

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/guide-integrating.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/guide-integrating.adoc b/src/spec/doc/guide-integrating.adoc
index 667fcae..6093b69 100644
--- a/src/spec/doc/guide-integrating.adoc
+++ b/src/spec/doc/guide-integrating.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Integrating Groovy in a Java application
 
 == Groovy integration mechanisms

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/index.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/index.adoc b/src/spec/doc/index.adoc
index 4a6b70b..455b786 100644
--- a/src/spec/doc/index.adoc
+++ b/src/spec/doc/index.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Groovy Language Documentation
 :doctype: book
 ifndef::projectdir[:projectdir: ../../..]

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/invokedynamic-support.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/invokedynamic-support.adoc b/src/spec/doc/invokedynamic-support.adoc
index 5664ca5..7c3314a 100644
--- a/src/spec/doc/invokedynamic-support.adoc
+++ b/src/spec/doc/invokedynamic-support.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = InvokeDynamic support
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/license.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/license.adoc b/src/spec/doc/license.adoc
index cdd3819..b4edcce 100644
--- a/src/spec/doc/license.adoc
+++ b/src/spec/doc/license.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = License
 
 This work is licensed under a http://creativecommons.org/licenses/by-sa/3.0/deed.en[Creative Commons Attribution-ShareAlike 3.0 Unported License].

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/style-guide.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/style-guide.adoc b/src/spec/doc/style-guide.adoc
index d244687..f122828 100644
--- a/src/spec/doc/style-guide.adoc
+++ b/src/spec/doc/style-guide.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Groovy style and language feature guidelines for Java developers
 
 A Java developer embarking on a Groovy adventure will always have Java in mind, and will progressively learn Groovy,

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/tools-groovy.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-groovy.adoc b/src/spec/doc/tools-groovy.adoc
index a13487b..241e45d 100644
--- a/src/spec/doc/tools-groovy.adoc
+++ b/src/spec/doc/tools-groovy.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Running Groovy from the commandline
 
 [[section-groovy-commandline]]

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/tools-groovyc.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-groovyc.adoc b/src/spec/doc/tools-groovyc.adoc
index 888cae1..123695c 100644
--- a/src/spec/doc/tools-groovyc.adoc
+++ b/src/spec/doc/tools-groovyc.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Compiling Groovy
 
 [[section-groovyc-compiler]]

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/tools-groovyeclipse.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-groovyeclipse.adoc b/src/spec/doc/tools-groovyeclipse.adoc
index 7616dc9..ac12258 100644
--- a/src/spec/doc/tools-groovyeclipse.adoc
+++ b/src/spec/doc/tools-groovyeclipse.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = The Groovy Eclipse Maven plugin
 
 Groovy-Eclipse provides a compiler plugin for Maven. Using the compiler

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/tools-ide.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-ide.adoc b/src/spec/doc/tools-ide.adoc
index 2028b86..830807c 100644
--- a/src/spec/doc/tools-ide.adoc
+++ b/src/spec/doc/tools-ide.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = IDE integration
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/type-checking-extensions.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/type-checking-extensions.adoc b/src/spec/doc/type-checking-extensions.adoc
index bb27e32..236626e 100644
--- a/src/spec/doc/type-checking-extensions.adoc
+++ b/src/spec/doc/type-checking-extensions.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Type checking extensions
 
 == Writing a type checking extension

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/version-scheme.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/version-scheme.adoc b/src/spec/doc/version-scheme.adoc
index 65fb0d3..1b1714b 100644
--- a/src/spec/doc/version-scheme.adoc
+++ b/src/spec/doc/version-scheme.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Version Scheme
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/windows-nsis-installer.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/windows-nsis-installer.adoc b/src/spec/doc/windows-nsis-installer.adoc
index 9c81a0a..15bf334 100644
--- a/src/spec/doc/windows-nsis-installer.adoc
+++ b/src/spec/doc/windows-nsis-installer.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Windows NSIS-Installer
 
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/working-with-collections.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/working-with-collections.adoc b/src/spec/doc/working-with-collections.adoc
index 28d12db..9fb2d14 100644
--- a/src/spec/doc/working-with-collections.adoc
+++ b/src/spec/doc/working-with-collections.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Working with collections
 :gdk: http://www.groovy-lang.org/gdk.html[Groovy development kit]
 :java-util-list: http://docs.oracle.com/javase/8/docs/api/java/util/List.html[java.util.List]

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/src/spec/doc/working-with-io.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/working-with-io.adoc b/src/spec/doc/working-with-io.adoc
index e7b50b6..005fe70 100644
--- a/src/spec/doc/working-with-io.adoc
+++ b/src/spec/doc/working-with-io.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Working with IO
 
 Groovy provides a number of

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc b/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
index bffbe97..9d7521c 100644
--- a/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
+++ b/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = AntBuilder
 
 Despite being primarily a build tool, http://ant.apache.org/[Apache Ant] is

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc b/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
index 96b8822..f728525 100644
--- a/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
+++ b/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = The <groovy> Ant Task
 
 Executes a series of Groovy statements from http://ant.apache.org/[Apache Ant].

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-bsf/src/spec/doc/integrating-bsf.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-bsf/src/spec/doc/integrating-bsf.adoc b/subprojects/groovy-bsf/src/spec/doc/integrating-bsf.adoc
index 257881e..3cd84d3 100644
--- a/subprojects/groovy-bsf/src/spec/doc/integrating-bsf.adoc
+++ b/subprojects/groovy-bsf/src/spec/doc/integrating-bsf.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Bean Scripting Framework
 
 WARNING: The http://commons.apache.org/proper/commons-bsf/[Bean Scripting Framework] is an attempt to create an API

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-console/src/spec/doc/groovy-console.adoc b/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
index 2703201..92b775c 100644
--- a/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
+++ b/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = groovyConsole, the Groovy swing console
 
 [[title-heading]]

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-groovydoc/src/spec/doc/groovydoc.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovydoc/src/spec/doc/groovydoc.adoc b/subprojects/groovy-groovydoc/src/spec/doc/groovydoc.adoc
index 639fd3d..1ac6569 100644
--- a/subprojects/groovy-groovydoc/src/spec/doc/groovydoc.adoc
+++ b/subprojects/groovy-groovydoc/src/spec/doc/groovydoc.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = groovydoc, the Groovy & Java documentation generator
 
 GroovyDoc is a tool responsible for generating documentation from your code. It acts like the Javadoc tool in the

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
index 5a96b9d..1bdc37b 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Groovysh, the Groovy shell
 
 == Groovy : Groovy Shell

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/50fe884f/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-jmx/src/spec/doc/jmx.adoc b/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
index 264c4c6..5263a73 100644
--- a/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
+++ b/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
@@ -1,3 +1,24 @@
+//////////////////////////////////////////
+
+  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.
+
+//////////////////////////////////////////
+
 = Working with JMX