diff --git a/gradle/plugin/build.gradle b/gradle/plugin/build.gradle index a161167ffa..5b9bee61c0 100644 --- a/gradle/plugin/build.gradle +++ b/gradle/plugin/build.gradle @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ plugins { id 'java-gradle-plugin' id 'maven-publish' diff --git a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateCfgTest.java b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateCfgTest.java index aee4e698e2..0203280ae0 100644 --- a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateCfgTest.java +++ b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateCfgTest.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateDaoTest.java b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateDaoTest.java index 4b87877980..7d7225dc9e 100644 --- a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateDaoTest.java +++ b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateDaoTest.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateHbmTest.java b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateHbmTest.java index 0697a1c382..40c8a52bca 100644 --- a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateHbmTest.java +++ b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateHbmTest.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateJavaTest.java b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateJavaTest.java index d6bc58734c..985f8a507f 100644 --- a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateJavaTest.java +++ b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/GenerateJavaTest.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/RunSqlTest.java b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/RunSqlTest.java index 796597a6ac..92a8acd8df 100644 --- a/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/RunSqlTest.java +++ b/gradle/plugin/src/functionalTest/java/org/hibernate/tool/gradle/RunSqlTest.java @@ -1,5 +1,19 @@ /* - * This source file was generated by the Gradle 'init' task + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package org.hibernate.tool.gradle; diff --git a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/Extension.java b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/Extension.java index 69e8d7599e..becdb26b24 100644 --- a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/Extension.java +++ b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/Extension.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle; import org.gradle.api.Project; diff --git a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/Plugin.java b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/Plugin.java index f796a9176d..7723e9d091 100644 --- a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/Plugin.java +++ b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/Plugin.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle; import java.util.Map; diff --git a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/AbstractTask.java b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/AbstractTask.java index e3c4bad9f7..be39a5fff2 100644 --- a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/AbstractTask.java +++ b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/AbstractTask.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle.task; import java.io.File; diff --git a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateCfgTask.java b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateCfgTask.java index 08e3e79baa..21641ff15b 100644 --- a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateCfgTask.java +++ b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateCfgTask.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle.task; import java.io.File; diff --git a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateDaoTask.java b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateDaoTask.java index 74edc40101..a81b71e34e 100644 --- a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateDaoTask.java +++ b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateDaoTask.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle.task; import java.io.File; diff --git a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateHbmTask.java b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateHbmTask.java index 495a4cefe1..c9fc7b3a60 100644 --- a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateHbmTask.java +++ b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateHbmTask.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle.task; import java.io.File; diff --git a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateJavaTask.java b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateJavaTask.java index 868e7175ce..f4b504abf2 100644 --- a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateJavaTask.java +++ b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/GenerateJavaTask.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle.task; import java.io.File; diff --git a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/RunSqlTask.java b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/RunSqlTask.java index d5b4a35e2f..a8a5e259dc 100644 --- a/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/RunSqlTask.java +++ b/gradle/plugin/src/main/java/org/hibernate/tool/gradle/task/RunSqlTask.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle.task; import java.lang.reflect.Constructor; diff --git a/gradle/plugin/src/test/java/org/hibernate/tool/gradle/ExtensionTest.java b/gradle/plugin/src/test/java/org/hibernate/tool/gradle/ExtensionTest.java index 981689a872..8a9c39fe00 100644 --- a/gradle/plugin/src/test/java/org/hibernate/tool/gradle/ExtensionTest.java +++ b/gradle/plugin/src/test/java/org/hibernate/tool/gradle/ExtensionTest.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle; import static org.junit.jupiter.api.Assertions.assertNotNull; diff --git a/gradle/plugin/src/test/java/org/hibernate/tool/gradle/PluginTest.java b/gradle/plugin/src/test/java/org/hibernate/tool/gradle/PluginTest.java index 7a1848137f..14a07ef466 100644 --- a/gradle/plugin/src/test/java/org/hibernate/tool/gradle/PluginTest.java +++ b/gradle/plugin/src/test/java/org/hibernate/tool/gradle/PluginTest.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle; import org.gradle.testfixtures.ProjectBuilder; diff --git a/gradle/plugin/src/test/java/org/hibernate/tool/gradle/task/AbstractTaskTest.java b/gradle/plugin/src/test/java/org/hibernate/tool/gradle/task/AbstractTaskTest.java index 4f890dbc7c..2afadf1a45 100644 --- a/gradle/plugin/src/test/java/org/hibernate/tool/gradle/task/AbstractTaskTest.java +++ b/gradle/plugin/src/test/java/org/hibernate/tool/gradle/task/AbstractTaskTest.java @@ -1,3 +1,20 @@ +/* + * Hibernate Tools, Tooling for your Hibernate Projects + * + * Copyright 2024-2025 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.hibernate.tool.gradle.task; import static org.junit.jupiter.api.Assertions.assertNotNull; diff --git a/gradle/pom.xml b/gradle/pom.xml index 26fe5cb7bd..fabfbfe4bf 100644 --- a/gradle/pom.xml +++ b/gradle/pom.xml @@ -1,6 +1,6 @@