Skip to content

Commit

Permalink
Add notice and licence files
Browse files Browse the repository at this point in the history
  • Loading branch information
bpross-52n committed Oct 31, 2019
1 parent 25b292f commit b6fb1ee
Show file tree
Hide file tree
Showing 6 changed files with 368 additions and 8 deletions.
98 changes: 98 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
Copyright 2018 52°North Initiative for Geospatial Open Source Software GmbH

Licensed under GNU General Public License, Version 2.0

This project includes:
Apache Commons Lang under Apache License, Version 2.0
Apache Kafka under The Apache Software License, Version 2.0
Apache Log4j under The Apache Software License, Version 2.0
Apache Log4j API under Apache License, Version 2.0
Apache Log4j to SLF4J Adapter under Apache License, Version 2.0
Apache Yetus - Audience Annotations under Apache License, Version 2.0
API interfaces under Lesser General Public License (LGPL)
ASM based accessors helper used by json-smart under The Apache Software License, Version 2.0
ASM Core under BSD
AssertJ fluent assertions under Apache License, Version 2.0
Byte Buddy (without dependencies) under Apache License, Version 2.0
Byte Buddy Java agent under Apache License, Version 2.0
Commons IO under The Apache Software License, Version 2.0
Commons Pool under The Apache Software License, Version 2.0
Converter: Jackson under Apache 2.0
EJML under The Apache Software License, Version 2.0
enviroCar mean speed Visualization Server under Apache License, Version 2.0
GeoJSON Support under Lesser General Public License (LGPL)
Hamcrest Core under New BSD License
Hamcrest library under New BSD License
IntelliJ IDEA Annotations under The Apache Software License, Version 2.0
Jackson JTS datatype under The Apache Software License, Version 2.0
Jackson-annotations under The Apache Software License, Version 2.0
Jackson-core under The Apache Software License, Version 2.0
jackson-databind under The Apache Software License, Version 2.0
jai_core under Java Advanced Imaging Distribution License, http://download.java.net/media/jai/builds/release/1_1_3/LICENSE-jai.txt
Java implementation of GeographicLib under The MIT License(MIT)
javax.annotation API under CDDL + GPLv2 with classpath exception
JDOM under Similar to Apache License but with the acknowledgment clause removed
jgridshift under GNU Lesser General Public License, version 2.0 (LGPLv2)
JLine under BSD
JOpt Simple under The MIT License
JSON library from Android SDK under Apache License 2.0
JSON Small and Fast Parser under The Apache Software License, Version 2.0
JSON.simple under The Apache Software License, Version 2.0
JSONassert under The Apache Software License, Version 2.0
JUL to SLF4J bridge under MIT License
JUnit under Eclipse Public License 1.0
Logback Classic Module under Eclipse Public License - v 1.0 or GNU Lesser General Public License
Logback Core Module under Eclipse Public License - v 1.0 or GNU Lesser General Public License
LZ4 and xxHash under The Apache Software License, Version 2.0
Main module under Lesser General Public License (LGPL)
Metadata under Lesser General Public License (LGPL)
Metrics Core Library under Apache License 2.0
mockito-core under The MIT License
Netty under Apache License, Version 2.0
Objenesis under Apache 2
okhttp under The Apache Software License, Version 2.0
Okio under The Apache Software License, Version 2.0
Open GIS Interfaces under OGC copyright or Lesser General Public License (LGPL)
org.jetbrains.kotlin:kotlin-stdlib under The Apache License, Version 2.0
org.jetbrains.kotlin:kotlin-stdlib-common under The Apache License, Version 2.0
org.locationtech.jts:jts-core under Eclipse Publish License, Version 1.0 or Eclipse Distribution License - v 1.0
org.xmlunit:xmlunit-core under The Apache Software License, Version 2.0
PostgreSQL JDBC Driver - JDBC 4.2 under BSD-2-Clause
project ':json-path' under The Apache Software License, Version 2.0
Referencing services under Lesser General Public License (LGPL)
Retrofit under Apache 2.0
Scala Compiler under BSD 3-Clause
Scala Library under BSD 3-Clause
scala-logging under Apache 2.0 License
SI Quantities under BSD
SI Units for Java SE 8 under BSD
SLF4J API Module under MIT License
SLF4J LOG4J-12 Binding under MIT License
SnakeYAML under Apache License, Version 2.0
snappy-java under The Apache Software License, Version 2.0
Spring AOP under Apache License, Version 2.0
Spring Beans under Apache License, Version 2.0
Spring Boot under Apache License, Version 2.0
Spring Boot AutoConfigure under Apache License, Version 2.0
Spring Boot Logging Starter under Apache License, Version 2.0
Spring Boot Starter under Apache License, Version 2.0
Spring Boot Test under Apache License, Version 2.0
Spring Boot Test Auto-Configure under Apache License, Version 2.0
Spring Boot Test Starter under Apache License, Version 2.0
Spring Commons Logging Bridge under Apache License, Version 2.0
Spring Context under Apache License, Version 2.0
Spring Core under Apache License, Version 2.0
Spring Expression Language (SpEL) under Apache License, Version 2.0
Spring Kafka Support under The Apache Software License, Version 2.0
Spring Kafka Test Support under The Apache Software License, Version 2.0
Spring Messaging under Apache License, Version 2.0
Spring Retry under Apache 2.0
Spring TestContext Framework under Apache License, Version 2.0
Spring Transaction under Apache License, Version 2.0
Units of Measurement API under BSD
Units of Measurement Common Library under BSD
Units of Measurement Common Unit Systems for Java 8 under BSD
Units of Measurement Implementation for Java SE under BSD
ZkClient under The Apache Software License, Version 2.0
zookeeper under The Apache Software License, Version 2.0

6 changes: 6 additions & 0 deletions etc/NOTICE.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Copyright 2018 52°North Initiative for Geospatial Open Source Software GmbH

Licensed under GNU General Public License, Version 2.0

This project includes:
#GENERATED_NOTICES#
37 changes: 37 additions & 0 deletions etc/license-as-csv.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<#-- To render the third-party file.
Available context :
- dependencyMap a collection of Map.Entry with
key are dependencies (as a MavenProject) (from the maven project)
values are licenses of each dependency (array of string)
- licenseMap a collection of Map.Entry with
key are licenses of each dependency (array of string)
values are all dependencies using this license
-->
<#function licenseFormat licenses>
<#assign result = ""/>
<#list licenses as license>
<#assign result = result + " (" +license + ")"/>
</#list>
<#assign result = result + "; "/>
<#return result>
</#function>
<#function artifactFormat p>
<#if p.name?index_of('Unnamed') &gt; -1>
<#return p.artifactId + "; " + p.groupId + ":" + p.artifactId + ":" + p.version + "; " + (p.url!"no url defined")>
<#else>
<#return p.name + "; " + p.groupId + ":" + p.artifactId + ":" + p.version + "; " + (p.url!"no url defined")>
</#if>
</#function>

<#if dependencyMap?size == 0>
The project has no dependencies.
<#else>
Lists of ${dependencyMap?size} third-party dependencies.
<#list dependencyMap as e>
<#assign project = e.getKey()/>
<#assign licenses = e.getValue()/>
${licenseFormat(licenses)} ${artifactFormat(project)}
</#list>
</#if>
26 changes: 26 additions & 0 deletions etc/license-header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Copyright (C) ${latestYearOfContribution} 52°North Initiative for Geospatial Open Source
Software GmbH

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 as published
by the Free Software Foundation.

If the program is linked with libraries which are licensed under one of
the following licenses, the combination of the program with the linked
library is not considered a "derivative work" of the program:

- Apache License, version 2.0
- Apache Software License, version 1.0
- GNU Lesser General Public License, version 3
- Mozilla Public License, versions 1.0, 1.1 and 2.0
- Common Development and Distribution License (CDDL), version 1.0

Therefore the distribution of the program linked with libraries licensed
under the aforementioned licenses, is permitted by the copyright holders
if the distribution is compliant with both the GNU General Public License
version 2 and the aforementioned licenses.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
16 changes: 16 additions & 0 deletions etc/license-mappings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<license-lookup xmlns="https://source.jasig.org/schemas/maven-notice-plugin/license-lookup" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://source.jasig.org/schemas/maven-notice-plugin/license-lookup https://source.jasig.org/schemas/maven-notice-plugin/license-lookup/license-lookup-v1.0.xsd">
<artifact>
<groupId>jgridshift</groupId>
<artifactId>jgridshift</artifactId>
<version>1.0</version>
<license>GNU Lesser General Public License, version 2.0 (LGPLv2)</license>
</artifact>
<artifact>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.0</version>
<license>The Apache Software License, Version 2.0</license>
</artifact>
</license-lookup>
Loading

0 comments on commit b6fb1ee

Please sign in to comment.