You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/09/07 22:42:16 UTC

[04/13] flex-typedefs git commit: - Activated the apache-rat-plugin in all modules to do automated checks if all sources have proper license headers - Fixed the license-header related issues in the build - Moved the README.txt files in some examples from

- Activated the apache-rat-plugin in all modules to do automated checks if all sources have proper license headers
- Fixed the license-header related issues in the build
- Moved the README.txt files in some examples from the src directory into the roots of the examples projects


Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/5888cfb1
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/5888cfb1
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/5888cfb1

Branch: refs/heads/master
Commit: 5888cfb15a243385b4b84ebbb81162c34ccac44d
Parents: 8ec3977
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue Jul 19 11:53:54 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue Jul 19 11:53:54 2016 +0200

----------------------------------------------------------------------
 GCL/pom.xml                                  |  2 +-
 cordova/pom.xml                              |  2 +-
 createjs/pom.xml                             |  2 +-
 createjs/src/main/patch/easeljs.patch        | 15 +++++++++++
 createjs/src/main/patch/tweenjs.patch        | 15 +++++++++++
 google_maps/pom.xml                          |  2 +-
 google_maps/src/main/patch/google_maps.patch | 15 +++++++++++
 jasmine/pom.xml                              |  2 +-
 jquery/pom.xml                               |  2 +-
 jquery/src/main/patch/jquery.patch           | 15 +++++++++++
 js/pom.xml                                   |  2 +-
 js/src/main/patch/js.patch                   | 15 +++++++++++
 node/pom.xml                                 |  2 +-
 pom.xml                                      | 31 ++++++++++++++++++++++-
 14 files changed, 113 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/GCL/pom.xml
----------------------------------------------------------------------
diff --git a/GCL/pom.xml b/GCL/pom.xml
index 380d664..b7b50f0 100644
--- a/GCL/pom.xml
+++ b/GCL/pom.xml
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.flex.flexjs.typedefs</groupId>
-    <artifactId>flexjs-typedefs</artifactId>
+    <artifactId>flexjs-typedefs-parent</artifactId>
     <version>0.7.0-SNAPSHOT</version>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/cordova/pom.xml
----------------------------------------------------------------------
diff --git a/cordova/pom.xml b/cordova/pom.xml
index 03a77cc..e6cd858 100644
--- a/cordova/pom.xml
+++ b/cordova/pom.xml
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.flex.flexjs.typedefs</groupId>
-    <artifactId>flexjs-typedefs</artifactId>
+    <artifactId>flexjs-typedefs-parent</artifactId>
     <version>0.7.0-SNAPSHOT</version>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/createjs/pom.xml
----------------------------------------------------------------------
diff --git a/createjs/pom.xml b/createjs/pom.xml
index c9dee31..3f32eaf 100644
--- a/createjs/pom.xml
+++ b/createjs/pom.xml
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.flex.flexjs.typedefs</groupId>
-    <artifactId>flexjs-typedefs</artifactId>
+    <artifactId>flexjs-typedefs-parent</artifactId>
     <version>0.7.0-SNAPSHOT</version>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/createjs/src/main/patch/easeljs.patch
----------------------------------------------------------------------
diff --git a/createjs/src/main/patch/easeljs.patch b/createjs/src/main/patch/easeljs.patch
index cc6822f..014fc87 100644
--- a/createjs/src/main/patch/easeljs.patch
+++ b/createjs/src/main/patch/easeljs.patch
@@ -1,4 +1,19 @@
 
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
 Generated from Ant script
 diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
 index 3ce0025..e8a377d 100644

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/createjs/src/main/patch/tweenjs.patch
----------------------------------------------------------------------
diff --git a/createjs/src/main/patch/tweenjs.patch b/createjs/src/main/patch/tweenjs.patch
index 0b4ceab..9401dde 100644
--- a/createjs/src/main/patch/tweenjs.patch
+++ b/createjs/src/main/patch/tweenjs.patch
@@ -1,4 +1,19 @@
 
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
 Generated from Ant script
 diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
 index 52e0206..0fe6341 100644

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/google_maps/pom.xml
----------------------------------------------------------------------
diff --git a/google_maps/pom.xml b/google_maps/pom.xml
index 3866637..a9f41b9 100644
--- a/google_maps/pom.xml
+++ b/google_maps/pom.xml
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.flex.flexjs.typedefs</groupId>
-    <artifactId>flexjs-typedefs</artifactId>
+    <artifactId>flexjs-typedefs-parent</artifactId>
     <version>0.7.0-SNAPSHOT</version>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/google_maps/src/main/patch/google_maps.patch
----------------------------------------------------------------------
diff --git a/google_maps/src/main/patch/google_maps.patch b/google_maps/src/main/patch/google_maps.patch
index 8061e47..7738989 100644
--- a/google_maps/src/main/patch/google_maps.patch
+++ b/google_maps/src/main/patch/google_maps.patch
@@ -1,4 +1,19 @@
 
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
 Generated from Ant script
 diff --git a/google_maps/target/downloads/google_maps_api_v3_11.js b/google_maps/target/downloads/google_maps_api_v3_11.js
 index ac91685..5dbb628 100644

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/jasmine/pom.xml
----------------------------------------------------------------------
diff --git a/jasmine/pom.xml b/jasmine/pom.xml
index 7ed7948..23f10d7 100644
--- a/jasmine/pom.xml
+++ b/jasmine/pom.xml
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.flex.flexjs.typedefs</groupId>
-    <artifactId>flexjs-typedefs</artifactId>
+    <artifactId>flexjs-typedefs-parent</artifactId>
     <version>0.7.0-SNAPSHOT</version>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/jquery/pom.xml
----------------------------------------------------------------------
diff --git a/jquery/pom.xml b/jquery/pom.xml
index eada4ce..663f55a 100644
--- a/jquery/pom.xml
+++ b/jquery/pom.xml
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.flex.flexjs.typedefs</groupId>
-    <artifactId>flexjs-typedefs</artifactId>
+    <artifactId>flexjs-typedefs-parent</artifactId>
     <version>0.7.0-SNAPSHOT</version>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/jquery/src/main/patch/jquery.patch
----------------------------------------------------------------------
diff --git a/jquery/src/main/patch/jquery.patch b/jquery/src/main/patch/jquery.patch
index 7ef865f..690dc91 100644
--- a/jquery/src/main/patch/jquery.patch
+++ b/jquery/src/main/patch/jquery.patch
@@ -1,4 +1,19 @@
 
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
 Generated from Ant script
 diff --git a/jquery/target/downloads/jquery-1.9.js b/jquery/target/downloads/jquery-1.9.js
 index d00166a..1d85908 100644

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/js/pom.xml
----------------------------------------------------------------------
diff --git a/js/pom.xml b/js/pom.xml
index bf0fa99..c490783 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.flex.flexjs.typedefs</groupId>
-    <artifactId>flexjs-typedefs</artifactId>
+    <artifactId>flexjs-typedefs-parent</artifactId>
     <version>0.7.0-SNAPSHOT</version>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/js/src/main/patch/js.patch
----------------------------------------------------------------------
diff --git a/js/src/main/patch/js.patch b/js/src/main/patch/js.patch
index fb43f70..cae08d5 100644
--- a/js/src/main/patch/js.patch
+++ b/js/src/main/patch/js.patch
@@ -1,4 +1,19 @@
 
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
 Generated from Ant script
 diff --git a/js/target/downloads/es3.js b/js/target/downloads/es3.js
 index fa5e5a6..6c5e3e7 100644

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/node/pom.xml
----------------------------------------------------------------------
diff --git a/node/pom.xml b/node/pom.xml
index c4f6672..3848019 100644
--- a/node/pom.xml
+++ b/node/pom.xml
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.flex.flexjs.typedefs</groupId>
-    <artifactId>flexjs-typedefs</artifactId>
+    <artifactId>flexjs-typedefs-parent</artifactId>
     <version>0.7.0-SNAPSHOT</version>
   </parent>
 

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/5888cfb1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bea2b65..9b59041 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
   </parent>
 
   <groupId>org.apache.flex.flexjs.typedefs</groupId>
-  <artifactId>flexjs-typedefs</artifactId>
+  <artifactId>flexjs-typedefs-parent</artifactId>
   <version>0.7.0-SNAPSHOT</version>
   <packaging>pom</packaging>
 
@@ -95,6 +95,35 @@
 
   <build>
     <plugins>
+      <!-- Check if all source files have the required apache license headers -->
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>0.12</version>
+        <executions>
+          <execution>
+            <id>license-check</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.maven.doxia</groupId>
+            <artifactId>doxia-core</artifactId>
+            <version>1.6</version>
+            <exclusions>
+              <exclusion>
+                <groupId>xerces</groupId>
+                <artifactId>xercesImpl</artifactId>
+              </exclusion>
+            </exclusions>
+          </dependency>
+        </dependencies>
+      </plugin>
+
       <!-- Configure the Site generation -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>