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 13:40:11 UTC

[01/13] incubator-groovy git commit: change link for logo from codehaus to github

Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 467dba6dd -> 84feb9157


change link for logo from codehaus to github


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 83a1240d1e834dd827aaeb47846db4ab65c8a05f
Parents: 467dba6
Author: pascalschumacher <pa...@gmx.net>
Authored: Sun Jun 7 10:07:55 2015 +0200
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:25:44 2015 +1000

----------------------------------------------------------------------
 README.adoc | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/83a1240d/README.adoc
----------------------------------------------------------------------
diff --git a/README.adoc b/README.adoc
index de5f191..2f059c3 100644
--- a/README.adoc
+++ b/README.adoc
@@ -3,7 +3,7 @@ The Groovy development team
 :revdate: 24-02-2014
 :build-icon: http://ci.groovy-lang.org:8111/app/rest/builds/buildType:(id:Groovy_Jdk7Build)/statusIcon
 :noheader:
-:groovy-www: http://groovy.codehaus.org/
+:groovy-www: http://groovy-lang.org/
 :groovy-ci: http://ci.groovy-lang.org?guest=1
 :jdk: http://www.oracle.com/technetwork/java/javase/downloads
 :bintray-latest-version-image: https://api.bintray.com/packages/groovy/maven/groovy/images/download.png
@@ -12,14 +12,10 @@ The Groovy development team
 :bintray-watch-link: https://bintray.com/groovy/maven/groovy/view?source=watch
 
 [.left.text-left]
-image::http://groovy.codehaus.org/images/groovy-logo.png[]
-{groovy-www}[Groovy] is an agile and dynamic language for the Java Virtual Machine. It builds upon the strengths of Java, but has additional power features inspired by languages like Python, Ruby and Smalltalk.
+image::https://raw.githubusercontent.com/groovy/artwork/master/medium.png[]
+{groovy-www}[Groovy] is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at multiplying developers’ productivity thanks to a concise, familiar and easy to learn syntax.
 
-Groovy makes modern programming features available to Java developers with almost-zero learning curve as well as supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain.
-
-Groovy makes writing shell and build scripts easy with its powerful processing primitives, OO abilities and an Ant DSL.
-
-It also increases developer productivity by reducing scaffolding code when developing web, GUI, database or console applications. Groovy simplifies testing by supporting unit testing and mocking out-of-the-box. Groovy also seamlessly integrates with all existing Java classes and libraries and compiles straight to Java bytecode so you can use it anywhere you can use Java.
+It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.
 
 == Downloading
 


[07/13] 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/8064c6eb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/8064c6eb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/8064c6eb

Branch: refs/heads/GROOVY_2_4_X
Commit: 8064c6eb583a70c1252554916b33972d8284bff2
Parents: 9ed30c1
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 21:28:05 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/8064c6eb/README.adoc
----------------------------------------------------------------------
diff --git a/README.adoc b/README.adoc
index f687834..4254dd1 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/8064c6eb/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/8064c6eb/src/spec/doc/contributors.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/contributors.adoc b/src/spec/doc/contributors.adoc
index 29834a6..cdbb8bd 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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/src/spec/doc/core-metaprogramming.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-metaprogramming.adoc b/src/spec/doc/core-metaprogramming.adoc
index d9090e1..48ae611 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/8064c6eb/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 10146ed..3207a34 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/8064c6eb/src/spec/doc/core-operators.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-operators.adoc b/src/spec/doc/core-operators.adoc
index 7ab0708..1900751 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/8064c6eb/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/8064c6eb/src/spec/doc/core-semantics.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 912389c..92dc947 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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/src/spec/doc/groovy-contributions.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/groovy-contributions.adoc b/src/spec/doc/groovy-contributions.adoc
index f0e3360..7329109 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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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
 
 


[03/13] incubator-groovy git commit: Documentation: Rework the "Embedding the Console" section (remove link to codehaus page)

Posted by pa...@apache.org.
Documentation: Rework the "Embedding the Console" section (remove link to codehaus page)


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 816e7590acd0feaf31423629df3f04f646916d1b
Parents: f10acb3
Author: pascalschumacher <pa...@gmx.net>
Authored: Sun Jun 7 16:58:58 2015 +0200
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:27:15 2015 +1000

----------------------------------------------------------------------
 .../groovy-console/src/spec/doc/groovy-console.adoc    | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/816e7590/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 cab889f..2703201 100644
--- a/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
+++ b/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
@@ -103,33 +103,24 @@ expected or when an exception is thrown
 == Embedding the Console
 
 To embed a Swing console in your application, simply create the Console
-object, +
- load some variables, and then launch it. The console can be embedded in
-either Java or Groovy code. +
- The Java code for this is:
+object, load some variables, and then launch it. The console can be embedded in
+either Java or Groovy code. The Java code for this is:
 
 [source,java]
 --------------------------------------------------
 import groovy.ui.Console;
 
     ...
-
     Console console = new Console();
     console.setVariable("var1", getValueOfVar1());
     console.setVariable("var2", getValueOfVar2());
     console.run();
-
     ...
 --------------------------------------------------
 
 Once the console is launched, you can use the variable values in Groovy
 code.
 
-An example of how to embed either the GroovyConsole or GroovyShell in a
-Spring Web application can be found at
-http://groovy.codehaus.org/Embedding+a+Groovy+Console+in+a+Java+Server+Application[Embedding
-a Groovy Console in a Java Server Application]
-
 [[GroovyConsole-Visualizingscriptoutputresults]]
 == Visualizing script output results
 


[12/13] incubator-groovy git commit: GROOVY-7459: leverage Ant javadoc fix rather than have our own copy of Oracle fix class

Posted by pa...@apache.org.
GROOVY-7459: leverage Ant javadoc fix rather than have our own copy of Oracle fix class


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

Branch: refs/heads/GROOVY_2_4_X
Commit: ed269cf1156be0af503bf10d0035319a28f0162d
Parents: fbf33fd
Author: Paul King <pa...@asert.com.au>
Authored: Mon Jun 8 15:34:32 2015 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:37:02 2015 +1000

----------------------------------------------------------------------
 LICENSE                                    |  87 ------
 buildSrc/src/main/java/JavadocFixTool.java | 350 ------------------------
 gradle/docs.gradle                         |  16 +-
 licenses/javadocfixtool.txt                |  85 ------
 4 files changed, 11 insertions(+), 527 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/ed269cf1/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index 8825713..b54541b 100644
--- a/LICENSE
+++ b/LICENSE
@@ -291,93 +291,6 @@ WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 DAMAGE.
 
 ---------------------------------------------------------------------
-Oracle Javadoc FixTool License
-
-Copyright (c) 2013 Oracle and/or its affiliates.
-All rights reserved. Use is subject to license terms.
-
-License Agreement
-
-PLEASE READ THE FOLLOWING LICENSE TERMS CAREFULLY BEFORE USING THE
-ACCOMPANYING PROGRAM. THESE TERMS CONSTITUTE A LEGAL AGREEMENT BETWEEN
-YOU AND US.
-
-"Oracle" refers to Oracle America, Inc., for and on behalf of itself and its
-subsidiaries and affiliates under common control.  "We," "us," and "our"
-refers to Oracle and any Program contributors. "You" and "your" refers to
-the individual or entity that wishes to use the Program. "Program" refers to
-the Java API Documentation Updater Tool, Copyright (c) 2013, Oracle America,
-Inc., and updates or error corrections provided by Oracle or contributors.
-
-WARNING:
-The Program will analyze directory information on your computer
-system and may modify software components on such computer system.  You
-should only use the Program on computer systems that you maintain sufficient
-rights to update software components.
-
-If your computer system is owned by a person or entity other than you,
-you should check with such person or entity before using the Program.
-
-It is possible that you may lose some software functionality, and make
-Java API Documentation pages unusable on your computer system after you use
-the Program to update software components.
-
-License Rights and Obligations
-We grant you a perpetual, nonexclusive, limited license to use, modify and
-distribute the Program in binary and/or source code form, only for the
-purpose of analyzing the directory structure of your computer system and
-updating Java API Documentation files.  If you distribute the Program, in
-either or both binary or source form, including as modified by you, you
-shall include this License Agreement ("Agreement") with your distribution.
-
-All rights not expressly granted above are hereby reserved. If you want to
-use the Program for any purpose other than as permitted under this
-Agreement, you must obtain a valid license permitting such use from Oracle.
-Neither the name of Oracle nor the names of any Program contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-Ownership and Restrictions
-We retain all ownership and intellectual property rights in the Program as
-provided by us. You retain all ownership and intellectual property rights
-in your modifications.
-
-Export
-You agree to comply fully with export laws and regulations of the United
-States and any other applicable export laws ("Export Laws") to assure that
-neither the Program nor any direct products thereof are:  (1) exported,
-directly or indirectly, in violation of this Agreement or Export Laws; or
-(2) used for any purposes prohibited by the Export Laws, including, without
-limitation, nuclear, chemical, or biological weapons proliferation, or
-development of missile technology.
-
-Disclaimer of Warranty and Limitation of Liability
-THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. USE AT YOUR
-OWN RISK.  WE FURTHER DISCLAIM ALL WARRANTIES, EXPRESS AND IMPLIED,
-INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
-
-IN NO EVENT SHALL WE BE LIABLE FOR ANY INDIRECT, DIRECT, INCIDENTAL,
-SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS,
-REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN
-ACTION IN CONTRACT OR TORT, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGES.  ORACLE SHALL HAVE NO LIABILITY FOR MODIFICATIONS MADE BY
-YOU OR ANY THIRD PARTY.
-
-Entire Agreement
-You agree that this Agreement is the complete agreement for the Program, and
-this Agreement supersedes all prior or contemporaneous agreements or
-representations. If any term of this Agreement is found to be invalid or
-unenforceable, the remaining provisions will remain effective. This
-Agreement is governed by the substantive and procedural laws of California.
-You and Oracle agree to submit to the exclusive jurisdiction of, and venue
-in, the courts of San Francisco or Santa Clara counties in California in
-any dispute between you and Oracle arising out of or relating to this
-Agreement.
-
-Last updated: 14 June 2013
-
----------------------------------------------------------------------
 JLine License
 
 Copyright (c) 2002-2012, the original author or authors.

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/ed269cf1/buildSrc/src/main/java/JavadocFixTool.java
----------------------------------------------------------------------
diff --git a/buildSrc/src/main/java/JavadocFixTool.java b/buildSrc/src/main/java/JavadocFixTool.java
deleted file mode 100644
index a85a47b..0000000
--- a/buildSrc/src/main/java/JavadocFixTool.java
+++ /dev/null
@@ -1,350 +0,0 @@
-/*
- * Copyright (c) 2013 Oracle and/or its affiliates.
- * All rights reserved. Use is subject to license terms.
- *
- * License Agreement
- * 
- * PLEASE READ THE FOLLOWING LICENSE TERMS CAREFULLY BEFORE USING THE 
- * ACCOMPANYING PROGRAM. THESE TERMS CONSTITUTE A LEGAL AGREEMENT BETWEEN 
- * YOU AND US.
- * 
- * "Oracle" refers to Oracle America, Inc., for and on behalf of itself and its 
- * subsidiaries and affiliates under common control.  "We," "us," and "our" 
- * refers to Oracle and any Program contributors. "You" and "your" refers to 
- * the individual or entity that wishes to use the Program. "Program" refers to
- * the Java API Documentation Updater Tool, Copyright (c) 2013, Oracle America,
- * Inc., and updates or error corrections provided by Oracle or contributors.
- * 
- * WARNING: 
- * The Program will analyze directory information on your computer 
- * system and may modify software components on such computer system.  You 
- * should only use the Program on computer systems that you maintain sufficient
- * rights to update software components.
- * 
- * If your computer system is owned by a person or entity other than you, 
- * you should check with such person or entity before using the Program. 
- * 
- * It is possible that you may lose some software functionality, and make 
- * Java API Documentation pages unusable on your computer system after you use
- * the Program to update software components.
- * 
- * License Rights and Obligations 
- * We grant you a perpetual, nonexclusive, limited license to use, modify and 
- * distribute the Program in binary and/or source code form, only for the
- * purpose of analyzing the directory structure of your computer system and
- * updating Java API Documentation files.  If you distribute the Program, in
- * either or both binary or source form, including as modified by you, you
- * shall include this License Agreement ("Agreement") with your distribution.
- * 
- * All rights not expressly granted above are hereby reserved. If you want to
- * use the Program for any purpose other than as permitted under this
- * Agreement, you must obtain a valid license permitting such use from Oracle.
- * Neither the name of Oracle nor the names of any Program contributors may be
- * used to endorse or promote products derived from this software without
- * specific prior written permission.
- * 
- * Ownership and Restrictions 
- * We retain all ownership and intellectual property rights in the Program as
- * provided by us. You retain all ownership and intellectual property rights
- * in your modifications.
- * 
- * Export
- * You agree to comply fully with export laws and regulations of the United 
- * States and any other applicable export laws ("Export Laws") to assure that
- * neither the Program nor any direct products thereof are:  (1) exported,
- * directly or indirectly, in violation of this Agreement or Export Laws; or
- * (2) used for any purposes prohibited by the Export Laws, including, without
- * limitation, nuclear, chemical, or biological weapons proliferation, or
- * development of missile technology. 
- * 
- * Disclaimer of Warranty and Limitation of Liability 
- * THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. USE AT YOUR
- * OWN RISK.  WE FURTHER DISCLAIM ALL WARRANTIES, EXPRESS AND IMPLIED,
- * INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. 
- * 
- * IN NO EVENT SHALL WE BE LIABLE FOR ANY INDIRECT, DIRECT, INCIDENTAL,
- * SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS,
- * REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN
- * ACTION IN CONTRACT OR TORT, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY
- * OF SUCH DAMAGES.  ORACLE SHALL HAVE NO LIABILITY FOR MODIFICATIONS MADE BY
- * YOU OR ANY THIRD PARTY.
- * 
- * Entire Agreement
- * You agree that this Agreement is the complete agreement for the Program, and
- * this Agreement supersedes all prior or contemporaneous agreements or
- * representations. If any term of this Agreement is found to be invalid or
- * unenforceable, the remaining provisions will remain effective. This
- * Agreement is governed by the substantive and procedural laws of California.
- * You and Oracle agree to submit to the exclusive jurisdiction of, and venue
- * in, the courts of San Francisco or Santa Clara counties in California in
- * any dispute between you and Oracle arising out of or relating to this
- * Agreement. 
- * 
- * Last updated: 14 June 2013
- */
-import java.io.*;
-
-/*
- * Tool for finding and addressing files related to CVE-2013-1571.
- * See README file for details.
- */
-public class JavadocFixTool {
-    // Usual suspects
-    private static final String[] fileNames = {"index.html",
-                                         "index.htm",
-                                         "toc.html",
-                                         "toc.htm"};
-
-    // If we locate this function but not validURL - we are in trouble
-    private final String patchString = "function loadFrames() {";
-    // Main fix - should be inserted before the loadFrames() function alongside
-    // the code that calls this function
-    private static final String[] patchData =
-            {"    if (targetPage != \"\" && !validURL(targetPage))",
-             "        targetPage = \"undefined\";",
-             "    function validURL(url) {",
-             "        var pos = url.indexOf(\".html\");",
-             "        if (pos == -1 || pos != url.length - 5)",
-             "            return false;",
-             "        var allowNumber = false;",
-             "        var allowSep = false;",
-             "        var seenDot = false;",
-             "        for (var i = 0; i < url.length - 5; i++) {",
-             "            var ch = url.charAt(i);",
-             "            if ('a' <= ch && ch <= 'z' ||",
-             "                    'A' <= ch && ch <= 'Z' ||",
-             "                    ch == '$' ||",
-             "                    ch == '_') {",
-             "                allowNumber = true;",
-             "                allowSep = true;",
-             "            } else if ('0' <= ch && ch <= '9'",
-             "                    || ch == '-') {",
-             "                if (!allowNumber)",
-             "                     return false;",
-             "            } else if (ch == '/' || ch == '.') {",
-             "                if (!allowSep)",
-             "                    return false;",
-             "                allowNumber = false;",
-             "                allowSep = false;",
-             "                if (ch == '.')",
-             "                     seenDot = true;",
-             "                if (ch == '/' && seenDot)",
-             "                     return false;",
-             "            } else {",
-             "                return false;",
-             "            }",
-             "        }",
-             "        return true;",
-             "    }",
-             "    function loadFrames() {"};
-
-    private final String quickFixString = "if (!(url.indexOf(\".html\") == url.length - 5))";
-    private final String[] quickFix = {"        var pos = url.indexOf(\".html\");",
-                                       "        if (pos == -1 || pos != url.length - 5)"};
-    private static String readme = null;
-    private static String version = "Java Documentation Updater Tool version 1.2 06/14/2013\n";
-
-    private static boolean doPatch = true; // By default patch file
-    private static boolean recursive = false; // By default only look in the folder in parameter
-
-    public static void main(String[] args) {
-        System.out.println(version);
-
-        if (args.length < 1) {
-            // No arguments - lazily initialize readme, print readme and usage
-            initReadme();
-            if (readme != null) {
-                System.out.println(readme);
-            }
-            printUsage(System.out);
-            return;
-        }
-
-        // Last argument should be a path to the document root
-        String name = args[args.length-1];
-
-        // Analyze the rest of parameters
-        for (int i = 0 ; i < args.length -1; i++) {
-            if ("-R".equalsIgnoreCase(args[i])) {
-                recursive = true;
-            } else if ("-C".equalsIgnoreCase(args[i])) {
-                doPatch = false;
-            } else {
-                System.err.println("Unknown option passed: "+args[i]);
-                printUsage(System.err);
-                return;
-            }
-        }
-        new JavadocFixTool().proceed(name);
-    }
-
-    /*
-     * Print usage information into the provided PrintStream
-     * @param out PrintStream to write usage information
-     */
-    public static void printUsage(PrintStream out) {
-        out.println("Usage: java -jar JavadocPatchTool.jar [-R] [-C] <Path to Javadoc root>");
-        out.println("    -R : Proceed recursively starting from given folder");
-        out.println("    -C : Check only - program will find vulnerable files and print their full paths");
-    }
-
-    /*
-     * Lazily initialize the readme document, reading it from README file inside the jar
-     */
-    public static void initReadme() {
-        try {
-            InputStream readmeStream = JavadocFixTool.class.getResourceAsStream("/README");
-            if (readmeStream != null) {
-                BufferedReader readmeReader = new BufferedReader(new InputStreamReader(readmeStream));
-                StringBuilder readmeBuilder = new StringBuilder();
-                String s;
-                while ((s = readmeReader.readLine()) != null) {
-                    readmeBuilder.append(s);
-                    readmeBuilder.append("\n");
-                }
-                readme = readmeBuilder.toString();
-            }
-        } catch (IOException ignore) {} // Ignore exception - readme not initialized
-    }
-
-    /*
-     * Main procedure - proceed with the searching and/or fixing depending on
-     * the command line parameters
-     * @param name Path to the document root
-     */
-    public void proceed(String name) {
-        try {
-            File folder = new File(name);
-            if (folder.exists() && folder.isDirectory() && folder.canRead()) {
-                searchAndPatch(folder);
-            } else {
-                System.err.println("Invalid folder in parameter \""+name+"\"");
-                printUsage(System.err);
-            }
-        } catch (Exception ignored) {} // Die silently
-    }
-
-    /*
-     * Find all the files that match the list given in the fileNames array.
-     * If file found attempt to patch it.
-     * If global parameter recursive is set to true attempt to go into the enclosed subfolders
-     * otherwise only patch said files in the folder directly pointed in parameter.
-     */
-    public void searchAndPatch(File folder) {
-        if (folder == null || !folder.isDirectory() || folder.list() == null) {
-            // Silently return
-            return;
-        }
-
-        for (File file : folder.listFiles()) {
-            if (file.isDirectory()) {
-                if(recursive) {
-                    searchAndPatch(file);
-                }
-                continue;
-            }
-            String name = file.getName();
-            for (String s : fileNames) {
-                if (s.equalsIgnoreCase(name)) {
-                    try {
-                        applyPatch(file, folder);
-                    } catch (Exception ex) {
-                        String filePath;
-                        try {
-                            filePath = file.getCanonicalPath();
-                        } catch (IOException ioe) {
-                            System.err.println("Can not resolve path to "+file.getName()+" in folder "+folder.getName());
-                            continue;
-                        }
-                        System.err.println("Patch failed on: "+filePath+" due to the "+ex);
-                    }
-                }
-            }
-        }
-    }
-
-    /*
-     * Try to apply patch to the single file in the specific folder
-     * If global parameter doPatch is false we should only print the location of the vulnerable html file
-     * and return
-     */
-    public void applyPatch(File file, File currentFolder) throws Exception {
-        FileInputStream fis = new FileInputStream(file);
-        BufferedReader br = new BufferedReader(new InputStreamReader(fis));
-        String line;
-        String failedString = patchString;
-        String[] patch = patchData;
-        // Attempt to look if file is vulnerable
-        for (int i = 0 ; i < 80 ; i++) { // Check first 80 lines - if there is no signature it is not our file
-            line = br.readLine();
-            if (line == null) {
-                // File less than 80 lines long, no signature encountered
-                return;
-            }
-            if (line.trim().equals("function validURL(url) {")) { // Already patched
-                failedString = null;
-                patch = null;
-                continue;
-            }
-            if (line.trim().equals(quickFixString)) { // The patch had famous 2-letter bug, update it
-                failedString = quickFixString;
-                patch = quickFix;
-                continue;
-            }
-            if (line.trim().equals("function loadFrames() {")) {
-                fis.close(); // It should not interfere with the file renaming process
-                if (failedString != null) {
-                    // Vulnerable file
-                    if (!doPatch) { // Report and return
-                        System.out.println("Vulnerable file found: "+file.getCanonicalPath());
-                    } else {
-                        replaceStringInFile(currentFolder, file, failedString, patch);
-                    }
-                }
-                return;
-            }
-        }
-    }
-
-    /*
-     * Replace one line in the given file in the given folder with the lines given
-     * @param folder Folder in which file should be created
-     * @param file Original file to patch
-     * @param template Trimmed String with the pattern we are have to find
-     * @param replacement Array of String that has to be written in the place of first line matching the template
-     */
-    public void replaceStringInFile(File folder, File file, String template, String[] replacement)
-            throws IOException {
-        System.out.println("Patching file: "+file.getCanonicalPath());
-        String name = file.getName();
-        File origFile = new File(folder, name+".orig");
-        file.renameTo(origFile);
-        File temporaryFile = new File(folder, name+".tmp");
-        if (temporaryFile.exists()) {
-            temporaryFile.delete();
-        }
-        temporaryFile.createNewFile();
-        String line;
-        FileInputStream fis = new FileInputStream(origFile);
-        PrintWriter pw = new PrintWriter(temporaryFile);
-        BufferedReader br = new BufferedReader(new InputStreamReader(fis));
-        while ((line = br.readLine()) != null) {
-            if (line.trim().equals(template)) {
-                for (String s : replacement) {
-                    pw.println(s);
-                }
-            } else {
-                pw.println(line);
-            }
-        }
-        pw.flush();
-        pw.close();
-        if (!temporaryFile.renameTo(new File(folder, name))) {
-            throw new IOException("Unable to rename file in folder "+folder.getName()+
-                    " from \""+temporaryFile.getName()+"\" into \""+name +
-                    "\n Original file saved as "+origFile.getName());
-        }
-        origFile.delete();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/ed269cf1/gradle/docs.gradle
----------------------------------------------------------------------
diff --git a/gradle/docs.gradle b/gradle/docs.gradle
index f5f3abb..42f4041 100644
--- a/gradle/docs.gradle
+++ b/gradle/docs.gradle
@@ -187,11 +187,17 @@ task docGDK {
 allprojects {
     tasks.withType(Javadoc).all {
         doLast {
-            logger.lifecycle("Applying Javadoc fix tool (see http://www.kb.cert.org/vuls/id/225657) into $destinationDir".toString())
-            def javadocFix = new JavadocFixTool()
-            javadocFix.recursive = true
-            javadocFix.doPatch = true
-            javadocFix.searchAndPatch(destinationDir)
+            logger.lifecycle("Fixing Javadoc (see http://www.kb.cert.org/vuls/id/225657) for $destinationDir".toString())
+            def fixtext = org.apache.tools.ant.taskdefs.Javadoc.getResourceAsStream('javadoc-frame-injections-fix.txt').text.trim()
+            ant {
+                replace(encoding: 'UTF-8', summary: true) {
+                    fileset(dir: destinationDir, casesensitive: false, includes: '**/index.html,**/index.htm,**/toc.html,**/toc.htm') {
+                        not { contains(text: 'function validURL(url) {', casesensitive: true) }
+                    }
+                    replaceToken('function loadFrames() {')
+                    replaceValue(expandProperties: false, fixtext)
+                }
+            }
         }
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/ed269cf1/licenses/javadocfixtool.txt
----------------------------------------------------------------------
diff --git a/licenses/javadocfixtool.txt b/licenses/javadocfixtool.txt
deleted file mode 100644
index ca81be8..0000000
--- a/licenses/javadocfixtool.txt
+++ /dev/null
@@ -1,85 +0,0 @@
-Oracle Javadoc FixTool License
-
-Copyright (c) 2013 Oracle and/or its affiliates.
-All rights reserved. Use is subject to license terms.
-
-License Agreement
-
-PLEASE READ THE FOLLOWING LICENSE TERMS CAREFULLY BEFORE USING THE
-ACCOMPANYING PROGRAM. THESE TERMS CONSTITUTE A LEGAL AGREEMENT BETWEEN
-YOU AND US.
-
-"Oracle" refers to Oracle America, Inc., for and on behalf of itself and its
-subsidiaries and affiliates under common control.  "We," "us," and "our"
-refers to Oracle and any Program contributors. "You" and "your" refers to
-the individual or entity that wishes to use the Program. "Program" refers to
-the Java API Documentation Updater Tool, Copyright (c) 2013, Oracle America,
-Inc., and updates or error corrections provided by Oracle or contributors.
-
-WARNING:
-The Program will analyze directory information on your computer
-system and may modify software components on such computer system.  You
-should only use the Program on computer systems that you maintain sufficient
-rights to update software components.
-
-If your computer system is owned by a person or entity other than you,
-you should check with such person or entity before using the Program.
-
-It is possible that you may lose some software functionality, and make
-Java API Documentation pages unusable on your computer system after you use
-the Program to update software components.
-
-License Rights and Obligations
-We grant you a perpetual, nonexclusive, limited license to use, modify and
-distribute the Program in binary and/or source code form, only for the
-purpose of analyzing the directory structure of your computer system and
-updating Java API Documentation files.  If you distribute the Program, in
-either or both binary or source form, including as modified by you, you
-shall include this License Agreement ("Agreement") with your distribution.
-
-All rights not expressly granted above are hereby reserved. If you want to
-use the Program for any purpose other than as permitted under this
-Agreement, you must obtain a valid license permitting such use from Oracle.
-Neither the name of Oracle nor the names of any Program contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-Ownership and Restrictions
-We retain all ownership and intellectual property rights in the Program as
-provided by us. You retain all ownership and intellectual property rights
-in your modifications.
-
-Export
-You agree to comply fully with export laws and regulations of the United
-States and any other applicable export laws ("Export Laws") to assure that
-neither the Program nor any direct products thereof are:  (1) exported,
-directly or indirectly, in violation of this Agreement or Export Laws; or
-(2) used for any purposes prohibited by the Export Laws, including, without
-limitation, nuclear, chemical, or biological weapons proliferation, or
-development of missile technology.
-
-Disclaimer of Warranty and Limitation of Liability
-THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. USE AT YOUR
-OWN RISK.  WE FURTHER DISCLAIM ALL WARRANTIES, EXPRESS AND IMPLIED,
-INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
-
-IN NO EVENT SHALL WE BE LIABLE FOR ANY INDIRECT, DIRECT, INCIDENTAL,
-SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS,
-REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN
-ACTION IN CONTRACT OR TORT, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGES.  ORACLE SHALL HAVE NO LIABILITY FOR MODIFICATIONS MADE BY
-YOU OR ANY THIRD PARTY.
-
-Entire Agreement
-You agree that this Agreement is the complete agreement for the Program, and
-this Agreement supersedes all prior or contemporaneous agreements or
-representations. If any term of this Agreement is found to be invalid or
-unenforceable, the remaining provisions will remain effective. This
-Agreement is governed by the substantive and procedural laws of California.
-You and Oracle agree to submit to the exclusive jurisdiction of, and venue
-in, the courts of San Francisco or Santa Clara counties in California in
-any dispute between you and Oracle arising out of or relating to this
-Agreement.
-
-Last updated: 14 June 2013


[10/13] incubator-groovy git commit: rejig adoc headers - wrong license

Posted by pa...@apache.org.
rejig adoc headers - wrong license


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

Branch: refs/heads/GROOVY_2_4_X
Commit: dca3c22b8a3860b65f3b991c5d2da7feeea3be7f
Parents: e7bdfd9
Author: Paul King <pa...@asert.com.au>
Authored: Mon Jun 8 17:18:26 2015 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:36:32 2015 +1000

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


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/README.adoc
----------------------------------------------------------------------
diff --git a/README.adoc b/README.adoc
index 4254dd1..0179419 100644
--- a/README.adoc
+++ b/README.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/contributors.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/contributors.adoc b/src/spec/doc/contributors.adoc
index cdbb8bd..966cc4b 100644
--- a/src/spec/doc/contributors.adoc
+++ b/src/spec/doc/contributors.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/core-closures.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-closures.adoc b/src/spec/doc/core-closures.adoc
index 5637916..46690f2 100644
--- a/src/spec/doc/core-closures.adoc
+++ b/src/spec/doc/core-closures.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 2ffe690..e8a159a 100644
--- a/src/spec/doc/core-differences-java.adoc
+++ b/src/spec/doc/core-differences-java.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 d023834..1baeb1f 100644
--- a/src/spec/doc/core-domain-specific-languages.adoc
+++ b/src/spec/doc/core-domain-specific-languages.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/core-gdk.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-gdk.adoc b/src/spec/doc/core-gdk.adoc
index 07caae9..330e48e 100644
--- a/src/spec/doc/core-gdk.adoc
+++ b/src/spec/doc/core-gdk.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 676b642..e943860 100644
--- a/src/spec/doc/core-getting-started.adoc
+++ b/src/spec/doc/core-getting-started.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/core-introduction.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-introduction.adoc b/src/spec/doc/core-introduction.adoc
index b99e7f0..59ace3e 100644
--- a/src/spec/doc/core-introduction.adoc
+++ b/src/spec/doc/core-introduction.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/core-metaprogramming.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-metaprogramming.adoc b/src/spec/doc/core-metaprogramming.adoc
index 48ae611..55e90b6 100644
--- a/src/spec/doc/core-metaprogramming.adoc
+++ b/src/spec/doc/core-metaprogramming.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 3207a34..5054a65 100644
--- a/src/spec/doc/core-object-orientation.adoc
+++ b/src/spec/doc/core-object-orientation.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/core-operators.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-operators.adoc b/src/spec/doc/core-operators.adoc
index 1900751..99adfd4 100644
--- a/src/spec/doc/core-operators.adoc
+++ b/src/spec/doc/core-operators.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 317eaba..8e2c892 100644
--- a/src/spec/doc/core-program-structure.adoc
+++ b/src/spec/doc/core-program-structure.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/core-semantics.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 92dc947..ee4a24f 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/core-syntax.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-syntax.adoc b/src/spec/doc/core-syntax.adoc
index 42a251f..309954c 100644
--- a/src/spec/doc/core-syntax.adoc
+++ b/src/spec/doc/core-syntax.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 1e893d9..bf66630 100644
--- a/src/spec/doc/core-testing-guide.adoc
+++ b/src/spec/doc/core-testing-guide.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/core-traits.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-traits.adoc b/src/spec/doc/core-traits.adoc
index f8c0cb2..67aa7d9 100644
--- a/src/spec/doc/core-traits.adoc
+++ b/src/spec/doc/core-traits.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 6d189f3..c2ad878 100644
--- a/src/spec/doc/design-pattern-abstract-factory.adoc
+++ b/src/spec/doc/design-pattern-abstract-factory.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 0eb2c21..3f5dcab 100644
--- a/src/spec/doc/design-pattern-adapter.adoc
+++ b/src/spec/doc/design-pattern-adapter.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 3aaf70f..4aef070 100644
--- a/src/spec/doc/design-pattern-bouncer.adoc
+++ b/src/spec/doc/design-pattern-bouncer.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 cf1206d..fe0d14f 100644
--- a/src/spec/doc/design-pattern-chain-of-responsibility.adoc
+++ b/src/spec/doc/design-pattern-chain-of-responsibility.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 e307431..5e768fd 100644
--- a/src/spec/doc/design-pattern-composite.adoc
+++ b/src/spec/doc/design-pattern-composite.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 bc985fb..f1fea00 100644
--- a/src/spec/doc/design-pattern-decorator.adoc
+++ b/src/spec/doc/design-pattern-decorator.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 6e0dc97..6c00d52 100644
--- a/src/spec/doc/design-pattern-delegation.adoc
+++ b/src/spec/doc/design-pattern-delegation.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 e07a8c1..950fedf 100644
--- a/src/spec/doc/design-pattern-flyweight.adoc
+++ b/src/spec/doc/design-pattern-flyweight.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 2017f01..77f8453 100644
--- a/src/spec/doc/design-pattern-in-groovy.adoc
+++ b/src/spec/doc/design-pattern-in-groovy.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 f17bb3d..037029a 100644
--- a/src/spec/doc/design-pattern-iterator.adoc
+++ b/src/spec/doc/design-pattern-iterator.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 f443d35..f304fa8 100644
--- a/src/spec/doc/design-pattern-loan-my-resource.adoc
+++ b/src/spec/doc/design-pattern-loan-my-resource.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 ee9c12d..6fb9e3d 100644
--- a/src/spec/doc/design-pattern-null-object.adoc
+++ b/src/spec/doc/design-pattern-null-object.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 3419409..2bef3bb 100644
--- a/src/spec/doc/design-pattern-pimp-my-library.adoc
+++ b/src/spec/doc/design-pattern-pimp-my-library.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 94c2d56..923701c 100644
--- a/src/spec/doc/design-pattern-proxy.adoc
+++ b/src/spec/doc/design-pattern-proxy.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 1ef58b7..c9002ae 100644
--- a/src/spec/doc/design-pattern-singleton.adoc
+++ b/src/spec/doc/design-pattern-singleton.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 e99a016..ce61b8d 100644
--- a/src/spec/doc/design-pattern-state.adoc
+++ b/src/spec/doc/design-pattern-state.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 e005202..e3a595b 100644
--- a/src/spec/doc/design-pattern-strategy.adoc
+++ b/src/spec/doc/design-pattern-strategy.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 4a2740f..5ba3d92 100644
--- a/src/spec/doc/design-pattern-template-method.adoc
+++ b/src/spec/doc/design-pattern-template-method.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 0a9d788..d55b8d8 100644
--- a/src/spec/doc/design-pattern-visitor.adoc
+++ b/src/spec/doc/design-pattern-visitor.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/grape.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/grape.adoc b/src/spec/doc/grape.adoc
index 2671387..7b3ccd8 100644
--- a/src/spec/doc/grape.adoc
+++ b/src/spec/doc/grape.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/groovy-contributions.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/groovy-contributions.adoc b/src/spec/doc/groovy-contributions.adoc
index 7329109..eeb76f3 100644
--- a/src/spec/doc/groovy-contributions.adoc
+++ b/src/spec/doc/groovy-contributions.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/guide-integrating.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/guide-integrating.adoc b/src/spec/doc/guide-integrating.adoc
index 6093b69..312c26e 100644
--- a/src/spec/doc/guide-integrating.adoc
+++ b/src/spec/doc/guide-integrating.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/index.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/index.adoc b/src/spec/doc/index.adoc
index 455b786..fa46025 100644
--- a/src/spec/doc/index.adoc
+++ b/src/spec/doc/index.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/invokedynamic-support.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/invokedynamic-support.adoc b/src/spec/doc/invokedynamic-support.adoc
index 7c3314a..824da07 100644
--- a/src/spec/doc/invokedynamic-support.adoc
+++ b/src/spec/doc/invokedynamic-support.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/license.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/license.adoc b/src/spec/doc/license.adoc
index b4edcce..55cdf0e 100644
--- a/src/spec/doc/license.adoc
+++ b/src/spec/doc/license.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/style-guide.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/style-guide.adoc b/src/spec/doc/style-guide.adoc
index f122828..e7f000d 100644
--- a/src/spec/doc/style-guide.adoc
+++ b/src/spec/doc/style-guide.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/tools-groovy.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-groovy.adoc b/src/spec/doc/tools-groovy.adoc
index 241e45d..e14d23a 100644
--- a/src/spec/doc/tools-groovy.adoc
+++ b/src/spec/doc/tools-groovy.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/tools-groovyc.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-groovyc.adoc b/src/spec/doc/tools-groovyc.adoc
index 123695c..2a89e97 100644
--- a/src/spec/doc/tools-groovyc.adoc
+++ b/src/spec/doc/tools-groovyc.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/tools-groovyeclipse.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-groovyeclipse.adoc b/src/spec/doc/tools-groovyeclipse.adoc
index ac12258..a3f887d 100644
--- a/src/spec/doc/tools-groovyeclipse.adoc
+++ b/src/spec/doc/tools-groovyeclipse.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/tools-ide.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/tools-ide.adoc b/src/spec/doc/tools-ide.adoc
index 830807c..752f9d9 100644
--- a/src/spec/doc/tools-ide.adoc
+++ b/src/spec/doc/tools-ide.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 236626e..fe5c6f0 100644
--- a/src/spec/doc/type-checking-extensions.adoc
+++ b/src/spec/doc/type-checking-extensions.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/src/spec/doc/version-scheme.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/version-scheme.adoc b/src/spec/doc/version-scheme.adoc
index 1b1714b..4d619ef 100644
--- a/src/spec/doc/version-scheme.adoc
+++ b/src/spec/doc/version-scheme.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 15bf334..212bb4f 100644
--- a/src/spec/doc/windows-nsis-installer.adoc
+++ b/src/spec/doc/windows-nsis-installer.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 9fb2d14..bb398a6 100644
--- a/src/spec/doc/working-with-collections.adoc
+++ b/src/spec/doc/working-with-collections.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 005fe70..ad55f4b 100644
--- a/src/spec/doc/working-with-io.adoc
+++ b/src/spec/doc/working-with-io.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 9d7521c..dbc6077 100644
--- a/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
+++ b/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 f728525..0dc4f18 100644
--- a/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
+++ b/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 3cd84d3..1f56b4c 100644
--- a/subprojects/groovy-bsf/src/spec/doc/integrating-bsf.adoc
+++ b/subprojects/groovy-bsf/src/spec/doc/integrating-bsf.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 92b775c..64ac62a 100644
--- a/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
+++ b/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 1ac6569..6b691e3 100644
--- a/subprojects/groovy-groovydoc/src/spec/doc/groovydoc.adoc
+++ b/subprojects/groovy-groovydoc/src/spec/doc/groovydoc.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 


[02/13] incubator-groovy git commit: remove mention of username/password for ci server, because the link already includes it

Posted by pa...@apache.org.
remove mention of username/password for ci server, because the link already includes it


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

Branch: refs/heads/GROOVY_2_4_X
Commit: f10acb344636dcc7cadc1c95b566dacbbfd0259b
Parents: 83a1240
Author: pascalschumacher <pa...@gmx.net>
Authored: Sun Jun 7 10:14:25 2015 +0200
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:26:35 2015 +1000

----------------------------------------------------------------------
 README.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f10acb34/README.adoc
----------------------------------------------------------------------
diff --git a/README.adoc b/README.adoc
index 2f059c3..f687834 100644
--- a/README.adoc
+++ b/README.adoc
@@ -118,7 +118,7 @@ Please note that the following Gradle tasks generate both indy and non indy vari
 
 == Continuous Integration Server
 
-The official CI server runs {groovy-ci}[here] (login as user guest and leave the password blank) and is sponsored by http://www.jetbrains.com[JetBrains].
+The official CI server runs {groovy-ci}[here] and is sponsored by http://www.jetbrains.com[JetBrains].
 
 == License
 


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

Posted by pa...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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/8064c6eb/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


[09/13] incubator-groovy git commit: rejig adoc headers - wrong license

Posted by pa...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 1bdc37b..fafc6fd 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 5263a73..2bb4cef 100644
--- a/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
+++ b/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 1cb6ed5..9345176 100644
--- a/subprojects/groovy-json/src/spec/doc/json-builder.adoc
+++ b/subprojects/groovy-json/src/spec/doc/json-builder.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 905d85c..0adbd33 100644
--- a/subprojects/groovy-json/src/spec/doc/json-userguide.adoc
+++ b/subprojects/groovy-json/src/spec/doc/json-userguide.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 296794e..2d1086a 100644
--- a/subprojects/groovy-json/src/spec/doc/streaming-jason-builder.adoc
+++ b/subprojects/groovy-json/src/spec/doc/streaming-jason-builder.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 c4c430e..2a2f8dc 100644
--- a/subprojects/groovy-jsr223/src/spec/doc/integrating-jsr223.adoc
+++ b/subprojects/groovy-jsr223/src/spec/doc/integrating-jsr223.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 8e87655..814e8d3 100644
--- a/subprojects/groovy-servlet/src/spec/doc/servlet-userguide.adoc
+++ b/subprojects/groovy-servlet/src/spec/doc/servlet-userguide.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 fc50f15..65b5abe 100644
--- a/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
+++ b/subprojects/groovy-sql/src/spec/doc/sql-userguide.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 f2346e9..b0da277 100644
--- a/subprojects/groovy-swing/src/spec/doc/swing-builder.adoc
+++ b/subprojects/groovy-swing/src/spec/doc/swing-builder.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 852d007..cdc0ab7 100644
--- a/subprojects/groovy-templates/src/spec/doc/markup-template-engine.adoc
+++ b/subprojects/groovy-templates/src/spec/doc/markup-template-engine.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 9f6d3df..d0e6a5d 100644
--- a/subprojects/groovy-templates/src/spec/doc/template-engines.adoc
+++ b/subprojects/groovy-templates/src/spec/doc/template-engines.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 7f68904..eed78cf 100644
--- a/subprojects/groovy-xml/src/spec/doc/dom-builder.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/dom-builder.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 aebae13..01f6fc2 100644
--- a/subprojects/groovy-xml/src/spec/doc/sax-builder.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/sax-builder.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 d452055..b50e15e 100644
--- a/subprojects/groovy-xml/src/spec/doc/stax-builder.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/stax-builder.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/dca3c22b/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 6c66a36..5065a07 100644
--- a/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
@@ -1,21 +1,8 @@
 //////////////////////////////////////////
 
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+  This documentation is licensed under a
+  Creative Commons Attribution-ShareAlike 3.0 Unported License.
+  https://creativecommons.org/licenses/by-sa/3.0/deed.en
 
 //////////////////////////////////////////
 


[05/13] incubator-groovy git commit: change author to Apache and change website to groovy-lang.org

Posted by pa...@apache.org.
change author to Apache and change website to groovy-lang.org


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 9ed30c1f23e70a1521add2d9d39701bd671ec788
Parents: 53bab17
Author: pascalschumacher <pa...@gmx.net>
Authored: Sun Jun 7 17:32:22 2015 +0200
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:27:50 2015 +1000

----------------------------------------------------------------------
 src/latex/spec/groovy-lang-spec.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/9ed30c1f/src/latex/spec/groovy-lang-spec.tex
----------------------------------------------------------------------
diff --git a/src/latex/spec/groovy-lang-spec.tex b/src/latex/spec/groovy-lang-spec.tex
index d0a4f2f..2fa0de9 100644
--- a/src/latex/spec/groovy-lang-spec.tex
+++ b/src/latex/spec/groovy-lang-spec.tex
@@ -122,8 +122,8 @@
 }
 
 \author{
-	\textsf{The Codehaus}\\
-	\textsf{www.codehaus.org}\\
+	\textsf{The Apache Software Foundation}\\
+	\textsf{www.groovy-lang.org}\\
 }
 
 


[04/13] incubator-groovy git commit: Documentation: Replace links to codehaus.org with groovy-lang.org

Posted by pa...@apache.org.
Documentation: Replace links to codehaus.org with groovy-lang.org


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 53bab173b338378d870b969b78dfa9671d95631e
Parents: 816e759
Author: pascalschumacher <pa...@gmx.net>
Authored: Sun Jun 7 17:20:19 2015 +0200
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:27:31 2015 +1000

----------------------------------------------------------------------
 src/conf/groovy-starter.conf                                    | 2 +-
 src/main/groovy/lang/Grab.java                                  | 2 +-
 src/main/groovy/lang/GrabConfig.java                            | 2 +-
 src/main/groovy/lang/GrabExclude.java                           | 2 +-
 src/main/groovy/lang/GrabResolver.java                          | 2 +-
 src/main/groovy/ui/GroovySocketServer.java                      | 5 +++--
 .../src/main/java/org/codehaus/groovy/bsf/GroovyEngine.java     | 2 +-
 7 files changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/53bab173/src/conf/groovy-starter.conf
----------------------------------------------------------------------
diff --git a/src/conf/groovy-starter.conf b/src/conf/groovy-starter.conf
index daac85d..5778ffd 100644
--- a/src/conf/groovy-starter.conf
+++ b/src/conf/groovy-starter.conf
@@ -10,7 +10,7 @@
 ## Note: do not add classes from java.lang here. No rt.jar and on some
 ##       platforms no tools.jar
 ##
-## See http://groovy.codehaus.org/api/org/codehaus/groovy/tools/LoaderConfiguration.html
+## See http://docs.groovy-lang.org/docs/latest/html/api/org/codehaus/groovy/tools/LoaderConfiguration.html
 ## for the file format
 
     # load required libraries

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/53bab173/src/main/groovy/lang/Grab.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/Grab.java b/src/main/groovy/lang/Grab.java
index c263d32..0e21ceb 100644
--- a/src/main/groovy/lang/Grab.java
+++ b/src/main/groovy/lang/Grab.java
@@ -46,7 +46,7 @@ import java.lang.annotation.ElementType;
  * </pre>
  * Further information such as where artifacts are downloaded to, how to add additional resolvers,
  * how to customise artifact resolution etc., can be found on the Grape documentation page:
- * <a href="http://groovy.codehaus.org/Grape">http://groovy.codehaus.org/Grape</a>.
+ * <a href="http://groovy-lang.org/grape.html">http://groovy-lang.org/grape.html</a>.
  */
 @Retention(RetentionPolicy.SOURCE)
 @Target({

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/53bab173/src/main/groovy/lang/GrabConfig.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/GrabConfig.java b/src/main/groovy/lang/GrabConfig.java
index 0cb35bf..c37ca33 100644
--- a/src/main/groovy/lang/GrabConfig.java
+++ b/src/main/groovy/lang/GrabConfig.java
@@ -68,7 +68,7 @@ import java.lang.annotation.Target;
  * </pre>
  * <p>
  * Further information about customising grape behavior can be found on the Grape documentation page:
- * <a href="http://groovy.codehaus.org/Grape">http://groovy.codehaus.org/Grape</a>.
+ * <a href="http://groovy-lang.org/grape.html">http://groovy-lang.org/grape.html</a>.
  */
 @Retention(RetentionPolicy.SOURCE)
 @Target({

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/53bab173/src/main/groovy/lang/GrabExclude.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/GrabExclude.java b/src/main/groovy/lang/GrabExclude.java
index 7485bf8..ccecab4 100644
--- a/src/main/groovy/lang/GrabExclude.java
+++ b/src/main/groovy/lang/GrabExclude.java
@@ -31,7 +31,7 @@ import java.lang.annotation.Target;
  * {@code @GrabExclude('mysql:mysql-connector-java') // compact form}<br>
  * <p>
  * Further information about customising grape behavior can be found on the Grape documentation page:
- * <a href="http://groovy.codehaus.org/Grape">http://groovy.codehaus.org/Grape</a>.
+ * <a href="http://groovy-lang.org/grape.html">http://groovy-lang.org/grape.html</a>.
  */
 @Retention(RetentionPolicy.SOURCE)
 @Target({

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/53bab173/src/main/groovy/lang/GrabResolver.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/GrabResolver.java b/src/main/groovy/lang/GrabResolver.java
index d87e40d..e9923d9 100644
--- a/src/main/groovy/lang/GrabResolver.java
+++ b/src/main/groovy/lang/GrabResolver.java
@@ -41,7 +41,7 @@ import java.lang.annotation.ElementType;
  * to resolve artifacts in the order specified in the chain of resolvers.
  * <p>
  * Further information about customising grape behavior can be found on the Grape documentation page:
- * <a href="http://groovy.codehaus.org/Grape">http://groovy.codehaus.org/Grape</a>.
+ * <a href="http://groovy-lang.org/grape.html">http://groovy-lang.org/grape.html</a>.
  *
  * @author Merlyn Albery-Speyer
  */

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/53bab173/src/main/groovy/ui/GroovySocketServer.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/ui/GroovySocketServer.java b/src/main/groovy/ui/GroovySocketServer.java
index 4401885..7dc3a5f 100644
--- a/src/main/groovy/ui/GroovySocketServer.java
+++ b/src/main/groovy/ui/GroovySocketServer.java
@@ -40,8 +40,9 @@ import java.util.regex.Pattern;
  * <p>
  * Typically this is used from the groovy command line agent but it can be 
  * invoked programatically. To run this program from the command line please
- * refer to the command line documentation at <a href="http://groovy.codehaus.org/Groovy+CLI">
- * Groovy CLI</a>.
+ * refer to the command line documentation at
+ * <a href="http://docs.groovy-lang.org/docs/latest/html/documentation/#_running_groovy_from_the_commandline">
+ * Running Groovy from the commandline</a>.
  * <p>
  * Here is an example of how to use this class to open a listening socket on the server, 
  * listen for incoming data, and then echo the data back to the client in reverse order: 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/53bab173/subprojects/groovy-bsf/src/main/java/org/codehaus/groovy/bsf/GroovyEngine.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-bsf/src/main/java/org/codehaus/groovy/bsf/GroovyEngine.java b/subprojects/groovy-bsf/src/main/java/org/codehaus/groovy/bsf/GroovyEngine.java
index 7954dde..bddf7eb 100644
--- a/subprojects/groovy-bsf/src/main/java/org/codehaus/groovy/bsf/GroovyEngine.java
+++ b/subprojects/groovy-bsf/src/main/java/org/codehaus/groovy/bsf/GroovyEngine.java
@@ -30,7 +30,7 @@ import org.codehaus.groovy.runtime.InvokerHelper;
 import java.util.Vector;
 
 /**
- * A BSF Engine for the <a href="http://groovy.codehaus.org/">Groovy</a>
+ * A BSF Engine for the <a href="http://groovy-lang.org/">Groovy</a>
  * scripting language.
  * <p>
  * It's derived from the Jython / JPython engine


[08/13] incubator-groovy git commit: Apache license headers for gradle files

Posted by pa...@apache.org.
Apache license headers for gradle 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/e7bdfd96
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/e7bdfd96
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/e7bdfd96

Branch: refs/heads/GROOVY_2_4_X
Commit: e7bdfd967249933df56fd992ee4bcf172b1e3dcf
Parents: 8064c6e
Author: Paul King <pa...@asert.com.au>
Authored: Mon Jun 8 13:49:13 2015 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:36:00 2015 +1000

----------------------------------------------------------------------
 build.gradle                                 | 2 +-
 config/licensing/rat-excludes.txt            | 1 -
 settings.gradle                              | 2 +-
 subprojects/groovy-ant/build.gradle          | 2 +-
 subprojects/groovy-bsf/build.gradle          | 2 +-
 subprojects/groovy-console/build.gradle      | 2 +-
 subprojects/groovy-docgenerator/build.gradle | 2 +-
 subprojects/groovy-groovydoc/build.gradle    | 2 +-
 subprojects/groovy-groovysh/build.gradle     | 2 +-
 subprojects/groovy-jmx/build.gradle          | 2 +-
 subprojects/groovy-json/build.gradle         | 2 +-
 subprojects/groovy-jsr223/build.gradle       | 2 +-
 subprojects/groovy-nio/build.gradle          | 2 +-
 subprojects/groovy-servlet/build.gradle      | 2 +-
 subprojects/groovy-sql/build.gradle          | 2 +-
 subprojects/groovy-swing/build.gradle        | 2 +-
 subprojects/groovy-templates/build.gradle    | 2 +-
 subprojects/groovy-test/build.gradle         | 2 +-
 subprojects/groovy-testng/build.gradle       | 2 +-
 subprojects/groovy-xml/build.gradle          | 2 +-
 20 files changed, 19 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 07f5ba4..dd4bfec 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/settings.gradle
----------------------------------------------------------------------
diff --git a/settings.gradle b/settings.gradle
index 1a93aa6..e09d8a1 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-ant/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-ant/build.gradle b/subprojects/groovy-ant/build.gradle
index edd45e7..6fb5ba4 100644
--- a/subprojects/groovy-ant/build.gradle
+++ b/subprojects/groovy-ant/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-bsf/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-bsf/build.gradle b/subprojects/groovy-bsf/build.gradle
index cdd7752..4cda433 100644
--- a/subprojects/groovy-bsf/build.gradle
+++ b/subprojects/groovy-bsf/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-console/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-console/build.gradle b/subprojects/groovy-console/build.gradle
index 2c54b70..6a92dc1 100644
--- a/subprojects/groovy-console/build.gradle
+++ b/subprojects/groovy-console/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-docgenerator/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-docgenerator/build.gradle b/subprojects/groovy-docgenerator/build.gradle
index 8d20945..d6c88c3 100644
--- a/subprojects/groovy-docgenerator/build.gradle
+++ b/subprojects/groovy-docgenerator/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-groovydoc/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovydoc/build.gradle b/subprojects/groovy-groovydoc/build.gradle
index abca2cd..421bfb7 100644
--- a/subprojects/groovy-groovydoc/build.gradle
+++ b/subprojects/groovy-groovydoc/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-groovysh/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/build.gradle b/subprojects/groovy-groovysh/build.gradle
index db8b2c8..bd2d968 100644
--- a/subprojects/groovy-groovysh/build.gradle
+++ b/subprojects/groovy-groovysh/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-jmx/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-jmx/build.gradle b/subprojects/groovy-jmx/build.gradle
index 491c148..8947de9 100644
--- a/subprojects/groovy-jmx/build.gradle
+++ b/subprojects/groovy-jmx/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-json/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-json/build.gradle b/subprojects/groovy-json/build.gradle
index 10065c4..af01c6a 100644
--- a/subprojects/groovy-json/build.gradle
+++ b/subprojects/groovy-json/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-jsr223/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-jsr223/build.gradle b/subprojects/groovy-jsr223/build.gradle
index eefe6c1..af7aedf 100644
--- a/subprojects/groovy-jsr223/build.gradle
+++ b/subprojects/groovy-jsr223/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-nio/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-nio/build.gradle b/subprojects/groovy-nio/build.gradle
index 53b37b0..39c6b22 100644
--- a/subprojects/groovy-nio/build.gradle
+++ b/subprojects/groovy-nio/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-servlet/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-servlet/build.gradle b/subprojects/groovy-servlet/build.gradle
index f0136a4..c89541a 100644
--- a/subprojects/groovy-servlet/build.gradle
+++ b/subprojects/groovy-servlet/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-sql/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-sql/build.gradle b/subprojects/groovy-sql/build.gradle
index 4e82dc4..a06dd12 100644
--- a/subprojects/groovy-sql/build.gradle
+++ b/subprojects/groovy-sql/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-swing/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-swing/build.gradle b/subprojects/groovy-swing/build.gradle
index fcc1999..bb5c689 100644
--- a/subprojects/groovy-swing/build.gradle
+++ b/subprojects/groovy-swing/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-templates/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-templates/build.gradle b/subprojects/groovy-templates/build.gradle
index d5dd3f2..cb670ad 100644
--- a/subprojects/groovy-templates/build.gradle
+++ b/subprojects/groovy-templates/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-test/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-test/build.gradle b/subprojects/groovy-test/build.gradle
index 9ff1517..8dfd6ed 100644
--- a/subprojects/groovy-test/build.gradle
+++ b/subprojects/groovy-test/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-testng/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-testng/build.gradle b/subprojects/groovy-testng/build.gradle
index f0126d7..f8c9eef 100644
--- a/subprojects/groovy-testng/build.gradle
+++ b/subprojects/groovy-testng/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e7bdfd96/subprojects/groovy-xml/build.gradle
----------------------------------------------------------------------
diff --git a/subprojects/groovy-xml/build.gradle b/subprojects/groovy-xml/build.gradle
index fc8cb27..f923ff4 100644
--- a/subprojects/groovy-xml/build.gradle
+++ b/subprojects/groovy-xml/build.gradle
@@ -1,4 +1,4 @@
-/**
+/*
  *  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


[13/13] incubator-groovy git commit: replace ant javadoc fixtool call with gradle plugin

Posted by pa...@apache.org.
replace ant javadoc fixtool call with gradle plugin


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 84feb915704ab9c1b1b7be6e5d710923eb672d89
Parents: ed269cf
Author: Paul King <pa...@asert.com.au>
Authored: Mon Jun 8 21:04:46 2015 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:39:40 2015 +1000

----------------------------------------------------------------------
 build.gradle       |  6 ++++++
 gradle/docs.gradle | 19 ++-----------------
 2 files changed, 8 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/84feb915/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index dd4bfec..7facdda 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,11 +23,16 @@ buildscript {
             name 'Bintray Asciidoctor repo'
             url 'http://dl.bintray.com/content/aalmiray/asciidoctor'
         }
+        maven{
+            name 'Bintray Javadoc Hotfix repo'
+            url 'http://dl.bintray.com/melix/gradle-javadoc-hotfix-plugin'
+        }
     }
 
     dependencies {
         classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.2'
         classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.2.3'
+        classpath 'me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1'
         //classpath 'me.champeau.gradle:japicmp-gradle-plugin:0.1.1'
         //classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0'
     }
@@ -36,6 +41,7 @@ buildscript {
 apply from: 'gradle/filter.gradle'
 apply from: 'gradle/indy.gradle'
 apply from: 'gradle/bintray.gradle'
+apply plugin: 'javadocHotfix'
 
 File javaHome = new File(System.getProperty('java.home'))
 logger.lifecycle "Using Java from $javaHome (version ${System.getProperty('java.version')})"

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/84feb915/gradle/docs.gradle
----------------------------------------------------------------------
diff --git a/gradle/docs.gradle b/gradle/docs.gradle
index 42f4041..a06cb18 100644
--- a/gradle/docs.gradle
+++ b/gradle/docs.gradle
@@ -182,24 +182,9 @@ task docGDK {
     }
 }
 
-// this will apply the javadoc fix tool to all generated javadocs
-// we use it to make sure that the javadocs are not vulnerable independently of the JDK used to build
+// apply javadoc fix tool to generated javadocs - ensures no vulnerability even on old JDK versions
 allprojects {
-    tasks.withType(Javadoc).all {
-        doLast {
-            logger.lifecycle("Fixing Javadoc (see http://www.kb.cert.org/vuls/id/225657) for $destinationDir".toString())
-            def fixtext = org.apache.tools.ant.taskdefs.Javadoc.getResourceAsStream('javadoc-frame-injections-fix.txt').text.trim()
-            ant {
-                replace(encoding: 'UTF-8', summary: true) {
-                    fileset(dir: destinationDir, casesensitive: false, includes: '**/index.html,**/index.htm,**/toc.html,**/toc.htm') {
-                        not { contains(text: 'function validURL(url) {', casesensitive: true) }
-                    }
-                    replaceToken('function loadFrames() {')
-                    replaceValue(expandProperties: false, fixtext)
-                }
-            }
-        }
-    }
+    apply plugin: 'javadocHotfix'
 }
 
 if (JavaVersion.current().isJava7Compatible()) {


[11/13] incubator-groovy git commit: add adoc back into rat excludes until we can feed in that license

Posted by pa...@apache.org.
add adoc back into rat excludes until we can feed in that license


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

Branch: refs/heads/GROOVY_2_4_X
Commit: fbf33fd1f348ab4c455eaf3a86bd81ece6e6762f
Parents: dca3c22
Author: Paul King <pa...@asert.com.au>
Authored: Mon Jun 8 17:45:51 2015 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Jun 8 21:36:50 2015 +1000

----------------------------------------------------------------------
 config/licensing/rat-excludes.txt | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


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