Skip to content

Commit 80d7a4d

Browse files
committed
Create a legal NOTICE.txt file
1 parent 4911073 commit 80d7a4d

File tree

3 files changed

+70
-2
lines changed

3 files changed

+70
-2
lines changed

Diff for: LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005-2021, Carlos Amengual
2+
* Copyright (c) 2005-2022, Carlos Amengual
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without

Diff for: NOTICE.txt

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
The use and distribution of this software is legally governed by the license
2+
found in the LICENSE.txt file, with the exception of the files located in the
3+
src/io/sf/carte/doc/xml/dtd/w3c directory (hereafter "W3C files") which have a
4+
different license.
5+
6+
The W3C files have been either copied or adapted (modifications explained at the
7+
end of this document) from the W3C consortium DTDs. Unless stated otherwise in
8+
the individual W3C files, the following W3C license applies:
9+
10+
================================================================================
11+
W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE
12+
13+
This work is being provided by the copyright holders under the following license.
14+
15+
16+
License
17+
By obtaining and/or copying this work, you (the licensee) agree that you have
18+
read, understood, and will comply with the following terms and conditions.
19+
20+
Permission to copy, modify, and distribute this work, with or without
21+
modification, for any purpose and without fee or royalty is hereby granted,
22+
provided that you include the following on ALL copies of the work or portions
23+
thereof, including modifications:
24+
25+
- The full text of this NOTICE in a location viewable to users of the
26+
redistributed or derivative work.
27+
28+
- Any pre-existing intellectual property disclaimers, notices, or terms and
29+
conditions. If none exist, the W3C Software and Document Short Notice should be
30+
included.
31+
32+
- Notice of any changes or modifications, through a copyright statement on the
33+
new code or document such as "This software or document includes material copied
34+
from or derived from [title and URI of the W3C document]. Copyright © [YEAR]
35+
W3C® (MIT, ERCIM, Keio, Beihang)."
36+
37+
38+
Disclaimers
39+
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR
40+
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
41+
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
42+
SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
43+
TRADEMARKS OR OTHER RIGHTS.
44+
45+
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
46+
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
47+
48+
The name and trademarks of copyright holders may NOT be used in advertising or
49+
publicity pertaining to the work without specific, written prior permission.
50+
Title to copyright in this work will at all times remain with copyright holders.
51+
52+
================================================================================
53+
54+
** IMPORTANT NOTICE **
55+
56+
The W3C DTDs distributed with this software have been modified so the "Character
57+
mnemonic entities" section of the DTDs was replaced with the HTML5 entities, for
58+
better interoperability of XHTML 1.x and 5.
59+
60+
Also, the relative URLs used to reference DTD modules have been absolutized as
61+
needed, so they can be used with different base URLs. For context, see
62+
https://www.w3.org/MarkUp/2009/xhtml11-issues-20090525.html#ssec4
63+
64+
================================================================================

Diff for: build.gradle

+5-1
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ tasks.register('checkLegacyJava') {
114114
classes.finalizedBy checkLegacyJava
115115

116116
tasks.register('lineEndingConversion', CRLFConvert) {
117-
description 'Convert LICENSE.txt to Windows line endings'
117+
description 'Convert LICENSE and NOTICE to Windows line endings'
118118
file "$rootDir/LICENSE.txt"
119+
file "$rootDir/NOTICE.txt"
119120
}
120121

121122
tasks.register('cleanBuildSrc') {
@@ -149,6 +150,9 @@ tasks.withType(AbstractArchiveTask).configureEach {
149150
from ('LICENSE.txt') {
150151
into 'META-INF'
151152
}
153+
from ('NOTICE.txt') {
154+
into 'META-INF'
155+
}
152156
}
153157

154158
publishing {

0 commit comments

Comments
 (0)