Skip to content

Commit

Permalink
Implementing automatic inclusion of licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
ptuomola authored and vorburger committed Dec 10, 2021
1 parent 291edd7 commit a58debc
Show file tree
Hide file tree
Showing 51 changed files with 49 additions and 2,664 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ fineract-provider/src/main/resources/application.properties
fineract-provider/out/
fineract-provider/config/swagger/config.json
fineract-provider/config/swagger/fineract-input.yaml
licenses
95 changes: 6 additions & 89 deletions LICENSE_RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -216,92 +216,9 @@ and resource files are also released under the ASF license above.
==================================================
*The exceptions for binary release are as follows:
==================================================
This product bundles AOP Alliance v1.0, which is available under a
Public Domain license. For details, see licenses/binary/Aopa.PL

This product bundles ASM Core v3.1, which is available under a BSD license.
For details, see licenses/binary/Asm.BSD

This product bundles JavaMail API(compat) v1.5.0-b01,
which is available under a CDDL v1.0 license.
For details, see licenses/binary/Javamail.CDDL

This product bundles AspectJ Runtime v1.8.2, Copyright (c) 1999-2001
Xerox Corporation, 2002 Palo Alto Research Center, Incorporated (PARC),
which is available under a EPL v1.0 license.
For details, see licenses/binary/Aspectrt.EPL

This product bundles AspectJ Weaver v1.8.2, Copyright (c) 2002 Palo Alto
Research Center, Incorporated (PARC), which is available under a EPL v1.0
license. For details, see licenses/binary/Aspectweaver.EPL

This product bundles IText(A Free Java PDF Library) v2.1.7, Copyright 2007
Bruno Lowagie, which is available under a MPL v1.1 license.
For details, see licenses/binary/IText.MPL

This product bundles DOM4J, Copyright 2001-2005 (C) MetaStuff, Ltd.,
which is available under a BSD license.
For details, see licenses/binary/Dom4J.BSD

This product bundles JDBC driver for MySQL and Drizzle v1.3, Copyright (c)
2009-2013, Marcus Eriksson which is available under a BSD license.
For details, see licenses/binary/Drizzle.BSD

This product bundles Ical4J v1.0.4, Copyright (c) 2012, Ben Fortuna,
which is available under a BSD license.
For details, see licenses/binary/Ical4J.BSD

This product bundles Jersey Core v1.17, Copyright (c) 2010-2012 Oracle
and/or its affiliates, which is available under a CDDL 1.1 license.
For details, see licenses/binary/Jersey.CDDL

This product bundles Jersey Json v1.17, Copyright (c) 2010-2012 Oracle
and/or its affiliates, which is available under a CDDL 1.1 license.
For details, see licenses/binary/Jersey.CDDL

This product bundles Jersey Multipart v1.17, Copyright (c) 2010-2011 Oracle
and/or its affiliates, which is available under a CDDL 1.1 license.
For details, see licenses/binary/Jersey.CDDL

This product bundles Jersey Server v1.17, Copyright (c) 2010-2011 Oracle
and/or its affiliates, which is available under a CDDL 1.1 license.
For details, see licenses/binary/Jersey.CDDL

This product bundles Jersey Servlet v1.17, Copyright (c) 2010-2011 Oracle
and/or its affiliates, which is available under a CDDL 1.1 license.
For details, see licenses/binary/Jersey.CDDL

This product bundles Jersey Spring v1.17, Copyright (c) 2010-2011 Oracle
and/or its affiliates, which is available under a CDDL 1.1 license.
For details, see licenses/binary/Jersey.CDDL

This product bundles Logback Classic Module v1.1.2, Copyright (C) 1999-2012,
QOS.ch. All rights reserved, which is available under a EPL v1.0 license.
For details, see licenses/binary/Logback.EPL

This product bundles Logback Core Module v1.1.2, Copyright (C) 1999-2012,
QOS.ch. All rights reserved, which is available under a EPL v1.0 license.
For details, see licenses/binary/Logback.EPL

This product bundles MIME Streaming Extension v1.6, Copyright (c) 1997-2010
Oracle and/or its affiliates. All rights reserved., which is available under
a CDDL v1.1 license.
For details, see licenses/binary/Mimepull.CDDL

This product bundles JUnit v3.8.1 created by Erich Gamma and Kent Beck which
is available under a CPL v1.0 license.
For details, see licenses/binary/Junit.CPL

This product bundles SLF4J API Module v1.7.7 opyright (c) 2004-2013 QOS.ch
All rights reserved., which is available under a MIT license.
For details, see licenses/binary/Slf4j.MIT

This product bundles Backport Util Concurrent v3.1 written by Dawid Kurzyniec,
which is avilable under Public Domain license.
For details see licenses/binary/Backport.PL

This product bundles JarAnalyzer v1.2 written by Kirk Knoernschild,
which is available under BSD license.
For details see licences/binary/JarAnalyzer.BSD

******************************************

This product bundles third party jars and resource files that are
released under other licenses than the ASF license. You can find
details of all third party licenses in the directory "licenses".

******************************************
67 changes: 4 additions & 63 deletions LICENSE_SOURCE
Original file line number Diff line number Diff line change
Expand Up @@ -217,70 +217,11 @@ and resource files are also released under the ASF license above.
*The exceptions for source release are as follows:
==================================================

For API & System Architecture Documentation Apache Fineract includes
following css and js packages.

This product bundles normalize v1.1.1 and v2.1.0, copyright Nicolas
Gallagher and Jonathan Neal, which is available under a MIT license.
For details, see licenses/source/normalize.MIT

This product bundles Modernizr v2.6.2, which is available under a MIT license.
For details, see licenses/source/modernizr.MIT

This product bundles filesaver, copyright Eli Grey, which is available under
a MIT license.
For details, see licenses/source/filesaver.MIT

This product bundles Glyphicons Halflings Regular, copyright Jan Kovarik,
which is available under a MIT license.
For details, see licenses/source/glyphicons.MIT

This product bundles jszip, copyright Stuart Knightley,
David Duponchel, Franz Buchinger and Ant�nio Afonso, which is available
under a MIT license.
For details, see licenses/source/jszip.MIT
For API Documentation for Apache Fineract includes
following css and js packages:

This product bundles jQuery v1.7, v1.7.1, Copyright (c) 2011 John Resig,
which is available under a MIT license.
For details, see licenses/source/jQuery1.MIT

This product bundles jQuery v1.9.1, v1.10.2, copyright jQuery Foundation,
Inc. which is available under a MIT license.
For details, see licenses/source/jQuery.MIT

This product bundles Respond v1.1.0, copyright Scott Jehl,
which is available under a MIT license.
For details, see licenses/source/respond.MIT

This product bundles matchMedia polyfill, copyright Scott Jehl,
which is available under a MIT license.
For details, see licenses/polyfill.MIT
For details, see https://jquery.org/license/

This product bundles HTML5Shiv v3.6.2, copyright Alexander Farkas,
which is available under a MIT license.
For details, see licenses/source/html5shiv.MIT

This product bundles UglifyJS copyright Mihai Bazon,
which available under a BSD license.
For details, see licenses/source/uglify.BSD

This product bundles sizzle copyright jQuery Foundation and other
contributors, which is available under a MIT license.
For details, see licenses/source/sizzle.MIT

This product bundles some parts of es5-shim, copyright Kristopher Michael
Kowal and contributors, which is available under a MIT license.
For details, see licenses/source/es5shim.MIT

This product bundles toc v0.1.2, copyright Greg Allen,
which is available under a MIT license.
For details, see licenses/source/toc.MIT

This product bundles livejs Version 4, copyright Martin Kool and Q42,
which is available under a MIT license.
For details, see licenses/source/livejs.MIT

This product bundles HTML5 Boilerplate, which is under a MIT license.
For details, see licenses/source/h5bp.MIT.

******************************************
******************************************
78 changes: 4 additions & 74 deletions NOTICE_RELEASE
Original file line number Diff line number Diff line change
@@ -1,79 +1,9 @@
Apache Fineract
Copyright 2008-2016 The Apache Software Foundation
Copyright 2008-2021 The Apache Software Foundation

This product includes software developed by The Apache Software
Foundation (http:https://www.apache.org/).

Apache Fineract - notice for binary distribution
==========================================
Apache Fineract includes JavaMail API(compat) v1.5.0-b01.
Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved.
Fineract elects to include this software in this distribution under the
CDDL license. You can obtain a copy of the License at:
https://glassfish.java.net/public/CDDL+GPL.html

Apache Fineract includes all Jersey libraries (Jersey Core v1.17,
Jersey Json v1.17, Jersey Multipart v1.17, Jersey Server v1.17,
Jersey Servlet v1.17, Jersey Spring v1.17).
Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved.
Fineract elects to include this software in this distribution under the
CDDL license. You can obtain a copy of the License at:
https://glassfish.java.net/public/CDDL+GPL.html

Apache Fineract includes Logback Classic Module v1.1.2 and Logback Core
Module v1.1.2, Copyright (C) 1999-2012, QOS.ch.
All rights reserved. Fineract elects to include this software in this
distribution under the EPL license. You can obtain a copy of the License at:
http:https://www.eclipse.org/legal/epl-v10.html

Apache Fineract includes MIME Streaming Extension v1.6,
Copyright (c) 1997-2010 Oracle and/or its affiliates.
All rights reserved. Fineract elects to include this software in this
distribution under the CDDL license. You can obtain a copy of the License at:
https://glassfish.java.net/public/CDDL+GPL_1_1.html

Apache Fineract includes JUnit v3.8.1 created by Erich Gamma and Kent Beck.
Fineract elects to include this software in this distribution under the
CPL license. You can obtain a copy of the License at:
https://opensource.org/licenses/cpl1.0.txt

Apache Fineract includes Log4j Implemented Over SLF4J. Fineract elects to
include this software in this distribution under the Apache license.
You can obtain a copy of the License at:
http:https://apache.org/licenses/LICENSE-2.0

Apache Fineract includes Jackson Core v2.3.4, Jackson Annotations v2.3.0,
Jackson Databind v2.3.4, JAX RS Provider For JSON Content Type v1.9.2,
Xml Compatibility Extensions For Jackson v1.9.2 libraries.
Fineract elects to include this software in this distribution under the
Apache license. You can obtain a copy of the License at:
http:https://apache.org/licenses/LICENSE-2.0

Apache Fineract includes AspectJ Runtime v1.8.2, Copyright (c) 1999-2001
Xerox Corporation, 2002 Palo Alto Research Center, Incorporated (PARC) and
AspectJ Weaver v1.8.2 Copyright (c) 2002 Palo Alto Research Center,
Incorporated (PARC)., libraries. The library information is available at
(https://eclipse.org/aspectj/)

Apache Fineract includes IText(A Free Java PDF Library) v2.1.7 library,
Copyright 2007 Bruno Lowagie. The library information is available at
(http:https://developers.itextpdf.com/itext-java)

=====================
Apache OpenJPA NOTICE

OpenJPA includes software developed by the SERP project
Copyright (c) 2002-2006, A. Abram White. All rights reserved.

OpenJPA includes the persistence and orm schemas from the JPA specifications.
Copyright 2005-2014 Sun Microsystems, Inc. All rights reserved.

OpenJPA includes the persistence and orm schemas from the JPA specifications.
Copyright 2005-2009 Sun Microsystems, Inc. All rights reserved.
OpenJPA elects to include this software in this distribution under the
CDDL license. You can obtain a copy of the License at:
https://glassfish.dev.java.net/public/CDDL+GPL.html
The source code is available at:
https://glassfish.dev.java.net/source/browse/glassfish/

OpenJPA includes software written by Miroslav Nachev
This product includes third party libraries and resource files from
different providers. The details of the different packages and their
respective licenses can be found under "licenses"
2 changes: 1 addition & 1 deletion NOTICE_SOURCE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Fineract
Copyright 2008-2016 The Apache Software Foundation
Copyright 2008-2021 The Apache Software Foundation

This product includes software developed by The Apache Software
Foundation (http:https://www.apache.org/).
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ plugins {
id 'com.diffplug.spotless' version '5.17.1' apply false
id 'org.nosphere.apache.rat' version '0.7.0' apply false
id 'com.github.hierynomus.license' version '0.16.1' apply false
id 'com.github.jk1.dependency-license-report' version '2.0' apply false
id 'org.openapi.generator' version '4.3.1' apply false
id 'org.zeroturnaround.gradle.jrebel' version '1.1.11' apply false
id 'org.springframework.boot' version '2.6.0' apply false
Expand Down Expand Up @@ -93,6 +94,7 @@ allprojects {
apply plugin: 'com.github.hierynomus.license'
apply plugin: 'org.nosphere.apache.rat'
apply plugin: 'project-report'
apply plugin: 'com.github.jk1.dependency-license-report'

// Configuration for the dependency management plugin
// https://github.com/spring-gradle-plugins/dependency-management-plugin
Expand Down Expand Up @@ -217,7 +219,7 @@ allprojects {
spotless {
format 'misc', {
target '**/*.md', '**/*.properties', '**/.gitignore', '**/.openapi-generator-ignore', '**/*.yml', '**/*.xml', '**/**.json', '**/*.sql'
targetExclude '**/build/**', '**/bin/**', '**/.settings/**', '**/.idea/**', '**/.gradle/**', '**/gradlew.bat'
targetExclude '**/build/**', '**/bin/**', '**/.settings/**', '**/.idea/**', '**/.gradle/**', '**/gradlew.bat', '**/licenses/**'
indentWithSpaces(4)
endWithNewline()
trimTrailingWhitespace()
Expand Down Expand Up @@ -261,8 +263,13 @@ allprojects {
'**/gradlew*'
])
}

licenseFormat.dependsOn licenseFormatBuildScripts

licenseReport {
outputDir = "$projectDir/licenses"
}

// Configuration for Apache Release Audit Tool task
// https://github.com/eskatos/creadur-rat-gradle
rat {
Expand Down
15 changes: 8 additions & 7 deletions fineract-doc/src/docs/en/02_architecture.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The target audience for this report is both system integrators (who will use the

==== The Idea

Mifos was an idea born out of a wish to create and deploy technology that allows the microfinance industry to scale. The goal is to:
Fineract was an idea born out of a wish to create and deploy technology that allows the microfinance industry to scale. The goal is to:

- Produce a gold standard management information system suitable for microfinance operations
- Acts as the basis of a platform for microfinance
Expand All @@ -23,12 +23,13 @@ Mifos was an idea born out of a wish to create and deploy technology that allows
- Late 2011: Grameen Foundation handed over full responsibility to open source community.
- 2012: Mifos X platform started. Previous members of project come together under the name of Community for Open Source Microfinance (COSM / OpenMF)
- 2013: COSM / OpenMF officially rebranded to Mifos Initiative and receive US 501c3 status.
- 2016: Fineract 1.x began incubation at Apache

==== Project Related

- Project url is https://github.com/openMF/mifosx
- Download from https://sourceforge.net/projects/mifos/
- Download stats
- Project url is https://github.com/apache/fineract
- Issue tracker is https://issues.apache.org/jira/projects/FINERACT/summary
- Download from http:https://fineract.apache.org/

=== System Overview

Expand Down Expand Up @@ -91,8 +92,8 @@ At a higher level though we see the capabilities fall into the following categor

=== Technology

* Java 11: http:https://www.oracle.com/technetwork/java/javase/downloads/index.html
* JAX-RS 1.0: using Jersey (1.17.x)
* Java: http:https://www.oracle.com/technetwork/java/javase/downloads/index.html
* JAX-RS using Jersey
* JSON using Google GSON
* Spring I/O Platform: http:https://spring.io/platform
** Spring Framework
Expand All @@ -116,7 +117,7 @@ See online API Documentation for more detail.

==== Multi-tenanted

The mifos platform has been developed with support for multi-tenancy at the core of its design. This means that it is just as easy to use the platform for Software-as-a-Service (SaaS) type offerings as it is for local installations.
The Fineract platform has been developed with support for multi-tenancy at the core of its design. This means that it is just as easy to use the platform for Software-as-a-Service (SaaS) type offerings as it is for local installations.

The platform uses an approach that isolates an FIs data per database/schema (See Separate Databases and Shared Database, Separate Schemas).

Expand Down
Loading

0 comments on commit a58debc

Please sign in to comment.