Skip to content

Commit f7f2fde

Browse files
authored
Merge pull request #94 from joewiz/spdx-headers
[chore] Switch to SPDX license headers
2 parents fbc7d99 + 7f0a6ca commit f7f2fde

17 files changed

Lines changed: 22 additions & 254 deletions

LGPL2.1-claudius-template.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX LGPL-2.1-or-later
2+
Copyright (C) 2016 Claudius Teodorescu

LGPL2.1-existdb-template.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX LGPL-2.1-or-later
2+
Copyright (C) 2016 The eXist-db Authors

LGPL2.1-template.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

pom.xml

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
11
<?xml version="1.0"?>
22
<!--
33
4-
eXist-db EXPath Cryptographic library
5-
eXist-db wrapper for EXPath Cryptographic Java library
4+
SPDX LGPL-2.1-or-later
65
Copyright (C) 2016 The eXist-db Authors
76
8-
This library is free software; you can redistribute it and/or
9-
modify it under the terms of the GNU Lesser General Public License
10-
as published by the Free Software Foundation; either version 2.1
11-
of the License, or (at your option) any later version.
12-
13-
This library is distributed in the hope that it will be useful,
14-
but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
GNU Lesser General Public License for more details.
17-
18-
You should have received a copy of the GNU Lesser General Public License
19-
along with this library; if not, write to the Free Software Foundation,
20-
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21-
227
-->
238
<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">
249

@@ -171,22 +156,18 @@
171156
<configuration>
172157
<failIfMissing>true</failIfMissing>
173158
<aggregate>true</aggregate>
174-
<strictCheck>false</strictCheck>
159+
<strictCheck>true</strictCheck>
175160
<licenseSets>
176161

177162
<!-- this enforces the original Copyright and License -->
178163
<licenseSet>
179-
<header>LGPL2.1-template.txt</header>
180-
<properties>
181-
<owner>${project.organization.name}</owner>
182-
<organization>Claudius Teodorescu</organization>
183-
<url>${project.organization.url}</url>
184-
</properties>
164+
<header>LGPL2.1-claudius-template.txt</header>
185165
<excludes>
186166
<exclude>.github/**</exclude>
187167
<exclude>README.md</exclude>
188168
<exclude>LICENSE</exclude>
189169
<exclude>xquery-license-style.xml</exclude>
170+
<exclude>LGPL2.1-*-template.txt</exclude>
190171
<exclude>src/main/resources/**</exclude>
191172
<exclude>src/markdown-page-generator/**</exclude>
192173
<exclude>src/test/resources/**</exclude>
@@ -200,12 +181,7 @@
200181

201182
<!-- this enforces the EXPath Copyright and License on newer files -->
202183
<licenseSet>
203-
<header>LGPL2.1-template.txt</header>
204-
<properties>
205-
<owner>${project.organization.name}</owner>
206-
<organization>The eXist-db Authors</organization>
207-
<url>${project.organization.url}</url>
208-
</properties>
184+
<header>LGPL2.1-existdb-template.txt</header>
209185
<includes>
210186
<include>pom.xml</include>
211187
<include>src/test/java/xquery/crypto/CryptoIT.java</include>

src/main/java/org/expath/exist/crypto/EXpathCryptoException.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
/*
2-
* eXist-db EXPath Cryptographic library
3-
* eXist-db wrapper for EXPath Cryptographic Java library
2+
* SPDX LGPL-2.1-or-later
43
* Copyright (C) 2016 Claudius Teodorescu
5-
*
6-
* This library 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.1
9-
* of the License, or (at your option) any later version.
10-
*
11-
* This library is distributed in the hope that it will be useful,
12-
* 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.
15-
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this library; if not, write to the Free Software Foundation,
18-
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
194
*/
205
package org.expath.exist.crypto;
216

src/main/java/org/expath/exist/crypto/ExistExpathCryptoModule.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
/*
2-
* eXist-db EXPath Cryptographic library
3-
* eXist-db wrapper for EXPath Cryptographic Java library
2+
* SPDX LGPL-2.1-or-later
43
* Copyright (C) 2016 Claudius Teodorescu
5-
*
6-
* This library 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.1
9-
* of the License, or (at your option) any later version.
10-
*
11-
* This library is distributed in the hope that it will be useful,
12-
* 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.
15-
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this library; if not, write to the Free Software Foundation,
18-
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
194
*/
205
package org.expath.exist.crypto;
216

src/main/java/org/expath/exist/crypto/ExpathCryptoErrorCode.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
/*
2-
* eXist-db EXPath Cryptographic library
3-
* eXist-db wrapper for EXPath Cryptographic Java library
2+
* SPDX LGPL-2.1-or-later
43
* Copyright (C) 2016 Claudius Teodorescu
5-
*
6-
* This library 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.1
9-
* of the License, or (at your option) any later version.
10-
*
11-
* This library is distributed in the hope that it will be useful,
12-
* 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.
15-
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this library; if not, write to the Free Software Foundation,
18-
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
194
*/
205
package org.expath.exist.crypto;
216

src/main/java/org/expath/exist/crypto/ModuleProperties.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
/*
2-
* eXist-db EXPath Cryptographic library
3-
* eXist-db wrapper for EXPath Cryptographic Java library
2+
* SPDX LGPL-2.1-or-later
43
* Copyright (C) 2016 Claudius Teodorescu
5-
*
6-
* This library 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.1
9-
* of the License, or (at your option) any later version.
10-
*
11-
* This library is distributed in the hope that it will be useful,
12-
* 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.
15-
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this library; if not, write to the Free Software Foundation,
18-
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
194
*/
205
package org.expath.exist.crypto;
216

src/main/java/org/expath/exist/crypto/digest/HashFunction.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
/*
2-
* eXist-db EXPath Cryptographic library
3-
* eXist-db wrapper for EXPath Cryptographic Java library
2+
* SPDX LGPL-2.1-or-later
43
* Copyright (C) 2016 Claudius Teodorescu
5-
*
6-
* This library 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.1
9-
* of the License, or (at your option) any later version.
10-
*
11-
* This library is distributed in the hope that it will be useful,
12-
* 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.
15-
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this library; if not, write to the Free Software Foundation,
18-
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
194
*/
205
package org.expath.exist.crypto.digest;
216

src/main/java/org/expath/exist/crypto/digest/HmacFunction.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
/*
2-
* eXist-db EXPath Cryptographic library
3-
* eXist-db wrapper for EXPath Cryptographic Java library
2+
* SPDX LGPL-2.1-or-later
43
* Copyright (C) 2016 Claudius Teodorescu
5-
*
6-
* This library 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.1
9-
* of the License, or (at your option) any later version.
10-
*
11-
* This library is distributed in the hope that it will be useful,
12-
* 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.
15-
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this library; if not, write to the Free Software Foundation,
18-
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
194
*/
205
package org.expath.exist.crypto.digest;
216

0 commit comments

Comments
 (0)