Skip to content

Commit 373c6cb

Browse files
committed
changed license header to represent the projects dual license
1 parent cb0e0b7 commit 373c6cb

File tree

223 files changed

+942
-2859
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+942
-2859
lines changed

pom.xml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,16 @@
135135
<plugin>
136136
<groupId>org.codehaus.mojo</groupId>
137137
<artifactId>license-maven-plugin</artifactId>
138-
<version>1.6</version>
138+
<version>1.17</version>
139139
<configuration>
140140
<verbose>false</verbose>
141141
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
142142
<canUpdateDescription>false</canUpdateDescription>
143+
<licenseName>dual_lgpl_ap2</licenseName>
144+
<licenseResolver>${project.baseUri}/src/license</licenseResolver>
145+
<roots>
146+
<root>src/main/java</root>
147+
</roots>
143148
</configuration>
144149
<executions>
145150
<execution>
@@ -148,12 +153,6 @@
148153
<goal>update-file-header</goal>
149154
</goals>
150155
<phase>process-sources</phase>
151-
<configuration>
152-
<licenseName>lgpl_v2_1</licenseName>
153-
<roots>
154-
<root>src/main/java</root>
155-
</roots>
156-
</configuration>
157156
</execution>
158157
</executions>
159158
</plugin>
@@ -401,7 +400,7 @@
401400
<module name="RedundantImport" />
402401
<module name="UnusedImports" />
403402

404-
<module name="WhitespaceAfter" />
403+
<module name="WhitespaceAfter" />
405404

406405
<module name="NeedBraces" />
407406
<module name="UnnecessaryParentheses" />

src/license/dual_lgpl_ap2/header.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dual licensed under GNU LGPL 2.1 or Apache License 2.0

src/license/dual_lgpl_ap2/license.txt

Lines changed: 710 additions & 0 deletions
Large diffs are not rendered by default.

src/license/licenses.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dual_lgpl_ap2=Dual License GNU LGPL 2.1 or Apache License 2.0

src/main/java/net/sf/jsqlparser/JSQLParserException.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
* %%
55
* Copyright (C) 2004 - 2013 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser;

src/main/java/net/sf/jsqlparser/expression/Alias.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
* %%
55
* Copyright (C) 2004 - 2014 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser.expression;

src/main/java/net/sf/jsqlparser/expression/AllComparisonExpression.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
* %%
55
* Copyright (C) 2004 - 2013 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser.expression;

src/main/java/net/sf/jsqlparser/expression/AnalyticExpression.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
* %%
55
* Copyright (C) 2004 - 2013 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser.expression;

src/main/java/net/sf/jsqlparser/expression/AnalyticType.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
* %%
55
* Copyright (C) 2004 - 2017 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
/*

src/main/java/net/sf/jsqlparser/expression/AnyComparisonExpression.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
* %%
55
* Copyright (C) 2004 - 2013 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser.expression;

0 commit comments

Comments
 (0)