Skip to content

Commit 8de4fb2

Browse files
committed
[bugfix] eXist-db's License is LGPL 2.1, fix the license text so it matches the official license
1 parent 9c5ee1f commit 8de4fb2

File tree

8 files changed

+167
-121
lines changed

8 files changed

+167
-121
lines changed

LICENSE

Lines changed: 7 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GNU LESSER GENERAL PUBLIC LICENSE
2-
Version 2.1, February 1999
1+
GNU LESSER GENERAL PUBLIC LICENSE
2+
Version 2.1, February 1999
33

44
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
55
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -10,7 +10,7 @@
1010
as the successor of the GNU Library Public License, version 2, hence
1111
the version number 2.1.]
1212

13-
Preamble
13+
Preamble
1414

1515
The licenses for most software are designed to take away your
1616
freedom to share and change it. By contrast, the GNU General Public
@@ -112,7 +112,7 @@ modification follow. Pay close attention to the difference between a
112112
former contains code derived from the library, whereas the latter must
113113
be combined with the library in order to run.
114114

115-
GNU LESSER GENERAL PUBLIC LICENSE
115+
GNU LESSER GENERAL PUBLIC LICENSE
116116
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117117

118118
0. This License Agreement applies to any software library or other
@@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based
146146
on the Library (independent of the use of the Library in a tool for
147147
writing it). Whether that is true depends on what the Library does
148148
and what the program that uses the Library does.
149-
149+
150150
1. You may copy and distribute verbatim copies of the Library's
151151
complete source code as you receive it, in any medium, provided that
152152
you conspicuously and appropriately publish on each copy an
@@ -432,7 +432,7 @@ decision will be guided by the two goals of preserving the free status
432432
of all derivatives of our free software and of promoting the sharing
433433
and reuse of software generally.
434434

435-
NO WARRANTY
435+
NO WARRANTY
436436

437437
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438438
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
@@ -453,52 +453,4 @@ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453453
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454454
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455455
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456-
DAMAGES.
457-
458-
END OF TERMS AND CONDITIONS
459-
460-
How to Apply These Terms to Your New Libraries
461-
462-
If you develop a new library, and you want it to be of the greatest
463-
possible use to the public, we recommend making it free software that
464-
everyone can redistribute and change. You can do so by permitting
465-
redistribution under these terms (or, alternatively, under the terms of the
466-
ordinary General Public License).
467-
468-
To apply these terms, attach the following notices to the library. It is
469-
safest to attach them to the start of each source file to most effectively
470-
convey the exclusion of warranty; and each file should have at least the
471-
"copyright" line and a pointer to where the full notice is found.
472-
473-
<one line to give the library's name and a brief idea of what it does.>
474-
Copyright (C) <year> <name of author>
475-
476-
This library is free software; you can redistribute it and/or
477-
modify it under the terms of the GNU Lesser General Public
478-
License as published by the Free Software Foundation; either
479-
version 2.1 of the License, or (at your option) any later version.
480-
481-
This library is distributed in the hope that it will be useful,
482-
but WITHOUT ANY WARRANTY; without even the implied warranty of
483-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
484-
Lesser General Public License for more details.
485-
486-
You should have received a copy of the GNU Lesser General Public
487-
License along with this library; if not, write to the Free Software
488-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
489-
490-
Also add information on how to contact you by electronic and paper mail.
491-
492-
You should also get your employer (if you work as a programmer) or your
493-
school, if any, to sign a "copyright disclaimer" for the library, if
494-
necessary. Here is a sample; alter the names:
495-
496-
Yoyodyne, Inc., hereby disclaims all copyright interest in the
497-
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
498-
499-
<signature of Ty Coon>, 1 April 1990
500-
Ty Coon, President of Vice
501-
502-
That's all there is to it!
503-
504-
456+
DAMAGES.
Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
eXist Open Source Native XML Database
2-
Copyright (C) 2019 The eXist-db Project
1+
eXist-db Open Source Native XML Database
2+
Copyright (C) 2001 The eXist-db Authors
3+
34
45
http://www.exist-db.org
56

6-
This program is free software; you can redistribute it and/or
7-
modify it under the terms of the GNU Lesser General Public License
8-
as published by the Free Software Foundation; either version 2
9-
of the License, or (at your option) any later version.
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
1011

11-
This program is distributed in the hope that it will be useful,
12+
This library is distributed in the hope that it will be useful,
1213
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU Lesser General Public License for more details.
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
1516

16-
You should have received a copy of the GNU Lesser General Public License
17-
along with this program; if not, write to the Free Software Foundation
18-
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
17+
You should have received a copy of the GNU Lesser General Public
18+
License along with this library; if not, write to the Free Software
19+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
eXist Open Source Native XML Database
2-
Copyright (C) ${project.inceptionYear} ${project.organization.name}
3-
${contact.email}
4-
${project.organization.url}
1+
eXist-db Open Source Native XML Database
2+
Copyright (C) ${copyright.year} ${copyright.name}
53

6-
This program is free software; you can redistribute it and/or
7-
modify it under the terms of the GNU Lesser General Public License
8-
as published by the Free Software Foundation; either version 2
9-
of the License, or (at your option) any later version.
4+
${email}
5+
${url}
106

11-
This program is distributed in the hope that it will be useful,
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
1213
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU Lesser General Public License for more details.
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
1516

16-
You should have received a copy of the GNU Lesser General Public License
17-
along with this program; if not, write to the Free Software Foundation
18-
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
17+
You should have received a copy of the GNU Lesser General Public
18+
License along with this library; if not, write to the Free Software
19+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

exist-parent/pom.xml

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
eXist-db Open Source Native XML Database
5+
Copyright (C) 2001 The eXist-db Authors
6+
7+
8+
http://www.exist-db.org
9+
10+
This library is free software; you can redistribute it and/or
11+
modify it under the terms of the GNU Lesser General Public
12+
License as published by the Free Software Foundation; either
13+
version 2.1 of the License, or (at your option) any later version.
14+
15+
This library is distributed in the hope that it will be useful,
16+
but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
Lesser General Public License for more details.
19+
20+
You should have received a copy of the GNU Lesser General Public
21+
License along with this library; if not, write to the Free Software
22+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
24+
-->
225
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
326
<modelVersion>4.0.0</modelVersion>
427

@@ -14,7 +37,7 @@
1437

1538
<organization>
1639
<name>The eXist-db Project</name>
17-
<url>https://www.exist-db.org</url>
40+
<url>http://www.exist-db.org</url>
1841
</organization>
1942

2043
<licenses>
@@ -73,6 +96,8 @@
7396
<project.build.target>1.8</project.build.target>
7497
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7598

99+
<project.copyright.name>The eXist-db Authors</project.copyright.name>
100+
76101
<contact.email>[email protected]</contact.email>
77102

78103
<ant.version>1.10.8</ant.version>
@@ -458,7 +483,6 @@
458483
<plugin>
459484
<groupId>org.owasp</groupId>
460485
<artifactId>dependency-check-maven</artifactId>
461-
<!-- TODO(AR) version 5.0.0-M3 seems to be unreliable, see: https://github.com/jeremylong/DependencyCheck/issues/1918 -->
462486
<version>6.0.1</version>
463487
<configuration>
464488
<archiveAnalyzerEnabled>false</archiveAnalyzerEnabled>
@@ -718,19 +742,35 @@
718742
<inherited>true</inherited>
719743
<configuration>
720744
<header>${project.parent.relativePath}/LGPL-21-license.template.txt</header>
745+
<headerDefinitions>
746+
<headerDefinition>${project.parent.relativePath}/xquery-license-style.xml</headerDefinition>
747+
</headerDefinitions>
748+
<mapping>
749+
<form>XML_STYLE</form>
750+
<g>SLASHSTAR_STYLE</g>
751+
<java>SLASHSTAR_STYLE</java>
752+
<xconf>XML_STYLE</xconf>
753+
<xconf.init>XML_STYLE</xconf.init>
754+
<xq>XQUERY_STYLE</xq>
755+
<xql>XQUERY_STYLE</xql>
756+
<xqm>XQUERY_STYLE</xqm>
757+
<xsl>XML_STYLE</xsl>
758+
<xslt>XML_STYLE</xslt>
759+
</mapping>
721760
<failIfMissing>false</failIfMissing> <!-- TODO(AR) should be true eventually -->
722-
<aggregate>true</aggregate>
723761
<strictCheck>true</strictCheck>
724762
<properties>
725-
<organisation>${project.organization.name}</organisation>
763+
<copyright.year>${project.inceptionYear}</copyright.year>
764+
<copyright.name>${project.copyright.name}</copyright.name>
726765
<email>${contact.email}</email>
727766
<url>${project.organization.url}</url>
728767
</properties>
729768
<excludes>
730-
<exclude>**/pom.xml</exclude>
769+
<exclude>LGPL-21-license.template.txt</exclude>
731770
<exclude>**/README.md</exclude>
771+
<exclude>**/README</exclude>
732772
<exclude>**/LICENSE</exclude>
733-
<exclude>**/project-suppression.xml</exclude>
773+
<exclude>**/*.xar</exclude>
734774
</excludes>
735775
<encoding>${project.build.sourceEncoding}</encoding>
736776
</configuration>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
eXist-db Open Source Native XML Database
5+
Copyright (C) 2001 The eXist-db Authors
6+
7+
8+
http://www.exist-db.org
9+
10+
This library is free software; you can redistribute it and/or
11+
modify it under the terms of the GNU Lesser General Public
12+
License as published by the Free Software Foundation; either
13+
version 2.1 of the License, or (at your option) any later version.
14+
15+
This library is distributed in the hope that it will be useful,
16+
but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
Lesser General Public License for more details.
19+
20+
You should have received a copy of the GNU Lesser General Public
21+
License along with this library; if not, write to the Free Software
22+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23+
24+
-->
25+
<additionalHeaders>
26+
<xquery_style>
27+
<firstLine>(:</firstLine>
28+
<beforeEachLine> : </beforeEachLine>
29+
<endLine> :)</endLine>
30+
<firstLineDetectionPattern>(\s|\t)*\(:.*$</firstLineDetectionPattern>
31+
<lastLineDetectionPattern>.*:\)(\s|\t)*$</lastLineDetectionPattern>
32+
<allowBlankLines>false</allowBlankLines>
33+
<isMultiline>true</isMultiline>
34+
<padLines>false</padLines>
35+
</xquery_style>
36+
</additionalHeaders>

exist-samples/pom.xml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -28,38 +28,4 @@
2828
</dependency>
2929
</dependencies>
3030

31-
<build>
32-
<plugins>
33-
<plugin>
34-
<groupId>com.mycila</groupId>
35-
<artifactId>license-maven-plugin</artifactId>
36-
<inherited>true</inherited>
37-
<configuration>
38-
<header>${project.parent.relativePath}/LGPL-21-license.template.txt</header>
39-
<failIfMissing>true</failIfMissing>
40-
<aggregate>true</aggregate>
41-
<strictCheck>true</strictCheck>
42-
<properties>
43-
<organisation>${project.organization.name}</organisation>
44-
<email>${contact.email}</email>
45-
<url>${project.organization.url}</url>
46-
</properties>
47-
<includes>
48-
<include>${project.build.sourceDirectory}/**.java</include>
49-
</includes>
50-
<encoding>${project.build.sourceEncoding}</encoding>
51-
</configuration>
52-
<executions>
53-
<execution>
54-
<id>check-headers</id>
55-
<phase>verify</phase>
56-
<goals>
57-
<goal>check</goal>
58-
</goals>
59-
</execution>
60-
</executions>
61-
</plugin>
62-
</plugins>
63-
</build>
64-
6531
</project>

extensions/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,19 @@
3636
<module>xqdoc</module>
3737
</modules>
3838

39+
<build>
40+
<plugins>
41+
<plugin>
42+
<groupId>com.mycila</groupId>
43+
<artifactId>license-maven-plugin</artifactId>
44+
<configuration>
45+
<excludes>
46+
<exclude>**/pom.xml</exclude>
47+
<exclude>betterform/**</exclude>
48+
</excludes>
49+
</configuration>
50+
</plugin>
51+
</plugins>
52+
</build>
53+
3954
</project>

0 commit comments

Comments
 (0)