Skip to content

Commit ae24132

Browse files
committed
HBX-2979: Review the licensing headers and files
- Handle the files in the 'ant' subproject Signed-off-by: Koen Aers <koen.aers@gmail.com>
1 parent 9996c48 commit ae24132

29 files changed

+167
-225
lines changed

ant/README.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<!--
2-
~ Hibernate Tools, Tooling for your Hibernate Projects
2+
~ Copyright 2020 - 2025 Red Hat, Inc.
33
~
4-
~ Copyright 2020 Red Hat, Inc.
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
57
~
6-
~ Licensed under the GNU Lesser General Public License (LGPL),
7-
~ version 2.1 or later (the "License").
8-
~ You may not use this file except in compliance with the License.
9-
~ You may read the licence in the 'lgpl.txt' file in the root folder of
10-
~ project or obtain a copy at
11-
~
12-
~ http://www.gnu.org/licenses/lgpl-2.1.html
8+
~ http://www.apache.org/licenses/LICENSE-2.0
139
~
1410
~ Unless required by applicable law or agreed to in writing, software
1511
~ distributed under the License is distributed on an "AS IS" basis,

ant/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright 2010 - 2021 Red Hat, Inc.
3+
~ Copyright 2010 - 2025 Red Hat, Inc.
44
~
55
~ Licensed under the Apache License, Version 2.0 (the "License");
66
~ you may not use this file except in compliance with the License.

ant/src/main/java/org/hibernate/tool/ant/ConfigurationTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/ExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
119
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/GenericExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/Hbm2CfgXmlExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/Hbm2DAOExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/Hbm2DDLExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/Hbm2DocExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/Hbm2HbmXmlExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/Hbm2JavaExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
119
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/HbmLintExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/HibernateToolTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/JDBCConfigurationTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/JPAConfigurationTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/JavaFormatterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/QueryExporterTask.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
3-
*
4-
* Copyright 2004-2020 Red Hat, Inc.
53
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
4+
* Copyright 2004-2025 Red Hat, Inc.
115
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

ant/src/main/java/org/hibernate/tool/ant/fresh/ExportCfgTask.java

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/*
22
* Hibernate Tools, Tooling for your Hibernate Projects
33
*
4-
* Copyright 2004-2020 Red Hat, Inc.
4+
* Copyright 2004-2025 Red Hat, Inc.
55
*
6-
* Licensed under the GNU Lesser General Public License (LGPL),
7-
* version 2.1 or later (the "License").
8-
* You may not use this file except in compliance with the License.
9-
* You may read the licence in the 'lgpl.txt' file in the root folder of
10-
* project or obtain a copy at
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
119
*
12-
* http://www.gnu.org/licenses/lgpl-2.1.html
10+
* http://www.apache.org/licenses/LICENSE-2.0
1311
*
1412
* Unless required by applicable law or agreed to in writing, software
1513
* distributed under the License is distributed on an "AS IS" basis,

0 commit comments

Comments
 (0)