geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [09/33] incubator-geode git commit: GEODE-918: Add ASF header to generate pom files
Date Wed, 17 Feb 2016 23:10:44 GMT
GEODE-918: Add ASF header to generate pom files


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

Branch: refs/heads/feature/GEODE-831
Commit: a928ea7a76e887d5514ad98739d87e6ee2bb2278
Parents: dcf6bef
Author: Anthony Baker <abaker@apache.org>
Authored: Thu Feb 11 12:49:01 2016 -0800
Committer: Anthony Baker <abaker@apache.org>
Committed: Thu Feb 11 19:56:10 2016 -0800

----------------------------------------------------------------------
 gradle/publish.gradle | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/a928ea7a/gradle/publish.gradle
----------------------------------------------------------------------
diff --git a/gradle/publish.gradle b/gradle/publish.gradle
index 4eb6a75..73e4cd3 100644
--- a/gradle/publish.gradle
+++ b/gradle/publish.gradle
@@ -30,6 +30,29 @@ subprojects {
   }
   
   modifyPom {
+    withXml {
+      def elem = asElement()
+      def hdr = elem.getOwnerDocument().createComment(
+  '''
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  ''')
+
+      elem.insertBefore(hdr, elem.getFirstChild())
+    }
+
     project {
       name 'Apache Geode (incubating)'
       description 'Apache Geode (incubating) provides a database-like consistency model,
reliable transaction processing and a shared-nothing architecture to maintain very low latency
performance with high concurrency processing'


Mime
View raw message