You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2020/11/27 19:49:27 UTC

[incubator-sedona] branch master updated: [SEDONA-3] First release: fix the license issue (#490)

This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new ffb9682  [SEDONA-3] First release: fix the license issue (#490)
ffb9682 is described below

commit ffb96829172c7d58d1646481b46497f1d388e44a
Author: Jia Yu <ji...@apache.org>
AuthorDate: Fri Nov 27 12:49:19 2020 -0700

    [SEDONA-3] First release: fix the license issue (#490)
    
    * Add DISCLAIMER-WIP, remove useless files in the root, change the scope of GT-main in sedona-core to "provided", add GT-main dependency in Python adapter
    
    * Add GT main in sql and viz
---
 DISCLAIMER             |  1 -
 DISCLAIMER-WIP         |  8 ++++++++
 LICENSE-before-1.2.0   | 21 ---------------------
 _config.yml            |  1 -
 core/pom.xml           | 10 ++++++----
 python-adapter/pom.xml | 17 +++++++++++++++++
 sql/pom.xml            | 17 +++++++++++++++++
 viz/pom.xml            | 17 +++++++++++++++++
 8 files changed, 65 insertions(+), 27 deletions(-)

diff --git a/DISCLAIMER b/DISCLAIMER
deleted file mode 100644
index f5f9628..0000000
--- a/DISCLAIMER
+++ /dev/null
@@ -1 +0,0 @@
-Apache Sedona is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project  [...]
\ No newline at end of file
diff --git a/DISCLAIMER-WIP b/DISCLAIMER-WIP
new file mode 100644
index 0000000..04f8d0a
--- /dev/null
+++ b/DISCLAIMER-WIP
@@ -0,0 +1,8 @@
+Apache Sedona is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache TLP sponsor. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that th [...]
+
+Some of the incubating project’s releases may not be fully compliant with ASF policy. For example, releases may have incomplete or un-reviewed licensing conditions. What follows is a list of known issues the project is currently aware of (note that this list, by definition, is likely to be incomplete):
+
+1. The content of GeoJSONWriterNew is directly copied from jts2geojson library (MIT License). This is to fix the incompatibility between jts2geojson 1.4.3 and JTS 1.17+. GeoJSONWriterNew will be removed in the future if the developer of jts2geojson fixes this issue.
+2. To use Sedona Python, users have to use the Sedona Python Adapter jar which uses GeoTools binaries under LGPL license.
+
+If you are planning to incorporate this work into your product/project, please be aware that you will need to conduct a thorough licensing review to determine the overall implications of including this work. For the current status of this project through the Apache Incubator visit: https://incubator.apache.org/projects/sedona.html
\ No newline at end of file
diff --git a/LICENSE-before-1.2.0 b/LICENSE-before-1.2.0
deleted file mode 100644
index 4a96fb4..0000000
--- a/LICENSE-before-1.2.0
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2015-2017 GeoSpark Development Team
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/_config.yml b/_config.yml
deleted file mode 100644
index c419263..0000000
--- a/_config.yml
+++ /dev/null
@@ -1 +0,0 @@
-theme: jekyll-theme-cayman
\ No newline at end of file
diff --git a/core/pom.xml b/core/pom.xml
index f8a42e7..e60772a 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -55,10 +55,16 @@
                 </exclusion>
             </exclusions>
         </dependency>
+        <!--The following GeoTools dependencies use GNU Lesser General Public License and thus are excluded from the binary distribution-->
+        <!-- Users have to include them by themselves manually -->
+        <!-- See https://www.apache.org/legal/resolved.html#category-x -->
+        <!-- See https://github.com/geotools/geotools#license -->
+        <!--for CRS transformation-->
         <dependency>
             <groupId>org.geotools</groupId>
             <artifactId>gt-main</artifactId>
             <version>${geotools.version}</version>
+            <scope>provided</scope>
             <exclusions>
                 <exclusion>
                     <groupId>com.vividsolutions</groupId>
@@ -70,10 +76,6 @@
                 </exclusion>
             </exclusions>
         </dependency>
-        <!--The following GeoTools dependencies use GNU Lesser General Public License and thus are excluded from the binary distribution-->
-        <!-- Users have to include them by themselves manually -->
-        <!-- See https://www.apache.org/legal/resolved.html#category-x -->
-        <!-- See https://github.com/geotools/geotools#license -->
         <!--for CRS transformation-->
         <dependency>
             <groupId>org.geotools</groupId>
diff --git a/python-adapter/pom.xml b/python-adapter/pom.xml
index 5c8f2c0..5c9beaf 100644
--- a/python-adapter/pom.xml
+++ b/python-adapter/pom.xml
@@ -37,6 +37,23 @@
             <artifactId>sedona-sql</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <!--for CRS transformation-->
+        <dependency>
+            <groupId>org.geotools</groupId>
+            <artifactId>gt-main</artifactId>
+            <version>${geotools.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.vividsolutions</groupId>
+                    <artifactId>jts</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>*</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <!--for CRS transformation-->
         <dependency>
             <groupId>org.geotools</groupId>
             <artifactId>gt-referencing</artifactId>
diff --git a/sql/pom.xml b/sql/pom.xml
index ad044ed..5f19029 100644
--- a/sql/pom.xml
+++ b/sql/pom.xml
@@ -69,6 +69,23 @@
         <!--for CRS transformation-->
         <dependency>
             <groupId>org.geotools</groupId>
+            <artifactId>gt-main</artifactId>
+            <version>${geotools.version}</version>
+            <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.vividsolutions</groupId>
+                    <artifactId>jts</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>*</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <!--for CRS transformation-->
+        <dependency>
+            <groupId>org.geotools</groupId>
             <artifactId>gt-referencing</artifactId>
             <version>${geotools.version}</version>
             <scope>provided</scope>
diff --git a/viz/pom.xml b/viz/pom.xml
index c6fa8ab..e1a2836 100644
--- a/viz/pom.xml
+++ b/viz/pom.xml
@@ -85,6 +85,23 @@
         <!--for CRS transformation-->
         <dependency>
             <groupId>org.geotools</groupId>
+            <artifactId>gt-main</artifactId>
+            <version>${geotools.version}</version>
+            <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.vividsolutions</groupId>
+                    <artifactId>jts</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>*</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <!--for CRS transformation-->
+        <dependency>
+            <groupId>org.geotools</groupId>
             <artifactId>gt-referencing</artifactId>
             <version>${geotools.version}</version>
             <scope>provided</scope>