diff --git a/.ci/buildchain-config-pr-cdb.yaml b/.ci/buildchain-config-pr-cdb.yaml
index b2307ba2c79..736e89367cf 100644
--- a/.ci/buildchain-config-pr-cdb.yaml
+++ b/.ci/buildchain-config-pr-cdb.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
version: "2.1"
dependencies: ./buildchain-project-dependencies.yaml
diff --git a/.ci/buildchain-config.yaml b/.ci/buildchain-config.yaml
index 9540bf56875..5536295e99b 100644
--- a/.ci/buildchain-config.yaml
+++ b/.ci/buildchain-config.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
version: "2.1"
dependencies: ./buildchain-project-dependencies.yaml
diff --git a/.ci/buildchain-project-dependencies.yaml b/.ci/buildchain-project-dependencies.yaml
index 3dbd6e386d5..c5c80d77c2d 100644
--- a/.ci/buildchain-project-dependencies.yaml
+++ b/.ci/buildchain-project-dependencies.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
version: "2.1"
dependencies:
- project: apache/incubator-kie-optaplanner
diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
index ca8e818f540..7bcdd803398 100644
--- a/.ci/jenkins/Jenkinsfile
+++ b/.ci/jenkins/Jenkinsfile
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
@Library('jenkins-pipeline-shared-libraries')_
pr_check_script = null
diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index 8720e139a56..0a15113f868 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import org.jenkinsci.plugins.workflow.libs.Library
@Library('jenkins-pipeline-shared-libraries') _
diff --git a/.ci/jenkins/Jenkinsfile.promote b/.ci/jenkins/Jenkinsfile.promote
index 91a522d8b2f..32a9c29b32a 100644
--- a/.ci/jenkins/Jenkinsfile.promote
+++ b/.ci/jenkins/Jenkinsfile.promote
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import org.jenkinsci.plugins.workflow.libs.Library
@Library('jenkins-pipeline-shared-libraries')_
diff --git a/.ci/jenkins/Jenkinsfile.setup-branch b/.ci/jenkins/Jenkinsfile.setup-branch
index c4ecf8919cd..aff96e46b9d 100644
--- a/.ci/jenkins/Jenkinsfile.setup-branch
+++ b/.ci/jenkins/Jenkinsfile.setup-branch
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import org.jenkinsci.plugins.workflow.libs.Library
@Library('jenkins-pipeline-shared-libraries')_
diff --git a/.ci/jenkins/Jenkinsfile.turtle b/.ci/jenkins/Jenkinsfile.turtle
index 7afc96e2c06..9d0174e4dd7 100644
--- a/.ci/jenkins/Jenkinsfile.turtle
+++ b/.ci/jenkins/Jenkinsfile.turtle
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
@Library('jenkins-pipeline-shared-libraries')_
import org.kie.jenkins.MavenCommand
diff --git a/.ci/jenkins/config/branch.yaml b/.ci/jenkins/config/branch.yaml
index cdade8052c2..a15b963a75a 100644
--- a/.ci/jenkins/config/branch.yaml
+++ b/.ci/jenkins/config/branch.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
generation_config:
missing_environment: ignore
environments:
diff --git a/.ci/jenkins/config/main.yaml b/.ci/jenkins/config/main.yaml
index 6180bd10cc3..5855fa23d8c 100644
--- a/.ci/jenkins/config/main.yaml
+++ b/.ci/jenkins/config/main.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
ecosystem:
main_project: optaplanner
projects:
diff --git a/.ci/jenkins/project/Jenkinsfile.drools b/.ci/jenkins/project/Jenkinsfile.drools
index 128ae534b80..c8a9a456c76 100644
--- a/.ci/jenkins/project/Jenkinsfile.drools
+++ b/.ci/jenkins/project/Jenkinsfile.drools
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
@Library('jenkins-pipeline-shared-libraries')_
import org.kie.jenkins.MavenCommand
diff --git a/.ci/jenkins/project/Jenkinsfile.nightly b/.ci/jenkins/project/Jenkinsfile.nightly
index 441359bc743..4bff385f289 100644
--- a/.ci/jenkins/project/Jenkinsfile.nightly
+++ b/.ci/jenkins/project/Jenkinsfile.nightly
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import org.jenkinsci.plugins.workflow.libs.Library
@Library('jenkins-pipeline-shared-libraries')_
diff --git a/.ci/jenkins/project/Jenkinsfile.post-release b/.ci/jenkins/project/Jenkinsfile.post-release
index ae3382cf55e..927e0d999e2 100644
--- a/.ci/jenkins/project/Jenkinsfile.post-release
+++ b/.ci/jenkins/project/Jenkinsfile.post-release
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import org.jenkinsci.plugins.workflow.libs.Library
@Library('jenkins-pipeline-shared-libraries')_
diff --git a/.ci/jenkins/project/Jenkinsfile.release b/.ci/jenkins/project/Jenkinsfile.release
index 5e0403b2504..b52329f201d 100644
--- a/.ci/jenkins/project/Jenkinsfile.release
+++ b/.ci/jenkins/project/Jenkinsfile.release
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import org.jenkinsci.plugins.workflow.libs.Library
@Library('jenkins-pipeline-shared-libraries')_
diff --git a/.ci/jenkins/project/Jenkinsfile.setup-branch b/.ci/jenkins/project/Jenkinsfile.setup-branch
index db3dac38964..c31c667bb8c 100644
--- a/.ci/jenkins/project/Jenkinsfile.setup-branch
+++ b/.ci/jenkins/project/Jenkinsfile.setup-branch
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import org.jenkinsci.plugins.workflow.libs.Library
@Library('jenkins-pipeline-shared-libraries')_
diff --git a/.gitattributes b/.gitattributes
index 5dd03cf2456..c97b8d66f39 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Default to linux endings
* text eol=lf
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 0a434601a6c..a668f47f5d2 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
version: 2
updates:
- package-ecosystem: maven
diff --git a/.github/workflows/full-downstream.yml b/.github/workflows/full-downstream.yml
index aba1bd41d61..5ce4358fa5c 100644
--- a/.github/workflows/full-downstream.yml
+++ b/.github/workflows/full-downstream.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
name: Build Chain FDB
on:
diff --git a/.github/workflows/generate_status_page.yaml b/.github/workflows/generate_status_page.yaml
index 4774a938611..c8e6c39a57e 100644
--- a/.github/workflows/generate_status_page.yaml
+++ b/.github/workflows/generate_status_page.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
name: Generate status page
on: workflow_dispatch
diff --git a/.github/workflows/generate_status_page_data.yaml b/.github/workflows/generate_status_page_data.yaml
index 8af962d5542..cf6b32350d9 100644
--- a/.github/workflows/generate_status_page_data.yaml
+++ b/.github/workflows/generate_status_page_data.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
name: Generate status page data
on:
diff --git a/.github/workflows/jenkins-tests-PR.yml b/.github/workflows/jenkins-tests-PR.yml
index 5f45be3bf13..dd450593fc0 100644
--- a/.github/workflows/jenkins-tests-PR.yml
+++ b/.github/workflows/jenkins-tests-PR.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Jenkins Tests
diff --git a/.github/workflows/pr-backporting.yml b/.github/workflows/pr-backporting.yml
index 5a763c70da5..face69352b5 100644
--- a/.github/workflows/pr-backporting.yml
+++ b/.github/workflows/pr-backporting.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
name: Pull Request Backporting
on:
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 94a37ff9994..4ea99cfc8a6 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
# Tests PRs on multiple operating systems and Java versions
name: Build Chain
diff --git a/.github/workflows/quarkus-snapshot.yml b/.github/workflows/quarkus-snapshot.yml
index c5482624c4f..1887ace975f 100644
--- a/.github/workflows/quarkus-snapshot.yml
+++ b/.github/workflows/quarkus-snapshot.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
name: "Quarkus ecosystem"
on:
watch:
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index 486e2d563a4..cbc491b146d 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
# Runs the SonarCloud analysis of the optaplanner main branch after a PR is merged.
name: SonarCloud Analysis
diff --git a/.gitignore b/.gitignore
index 4913104cffe..cf73519e072 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644
index 00000000000..57ca0ef8f31
--- /dev/null
+++ b/DISCLAIMER
@@ -0,0 +1,22 @@
+Apache KIE (incubating) is an effort undergoing incubation at The Apache Software
+Foundation (ASF), sponsored by the name of Apache Incubator. Incubation is
+required of all newly accepted projects until a further review indicates that
+the infrastructure, communications, and decision making process have stabilized
+in a manner consistent with other successful ASF projects. While incubation
+status is not necessarily a reflection of the completeness or stability of the
+code, it does indicate that the project has yet to be fully endorsed by the ASF.
+
+Some of the incubating project’s releases may not be fully compliant with ASF
+policy. For example, releases may have incomplete or un-reviewed licensing
+conditions. What follows is a list of known issues the project is currently
+aware of (note that this list, by definition, is likely to be incomplete):
+
+* Hibernate, an LGPL project, is being used. Hibernate is in the process of relicensing to ASL v2
+* Some files, particularly test files, and those not supporting comments, may be missing the ASF Licensing Header
+*
+
+If you are planning to incorporate this work into your product/project, please
+be aware that you will need to conduct a thorough licensing review to determine
+the overall implications of including this work. For the current status of this
+project through the Apache Incubator visit:
+https://incubator.apache.org/projects/kie.html
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 00000000000..98d06fdbfc0
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,31 @@
+Apache KIE
+Copyright 2024 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+The Initial Developer of some parts of the framework, which are copied from, derived from, or
+inspired by KIE (Knowledge Is Everthing) group, is Red Hat, Inc (https://www.redhat.com/).
+Copyright Red Hat, Inc. and/or its affiliates.. All Rights Reserved.
+
+This product also includes the following third-party components:
+
+* Twitter bootstrap version: 2.3.2
+ Downloaded from: https://getbootstrap.com/
+ License: Apache License v2.0 (just like OptaPlanner)
+
+* jQuery version: 1.9.1
+ Downloaded from: http://jquery.com/
+ License: MIT (which can be used by Apache License v2.0 projects)
+
+* google-code-pretty version: 4-Mar-2013
+ Downloaded from: http://code.google.com/p/google-code-prettify
+ License: Apache License v2.0 (just like OptaPlanner)
+
+* jQuery version: 3.3.1
+ Downloaded from: http://jquery.com/
+ License: MIT - this is compatible with ASL 2.0: http://www.apache.org/legal/resolved.html#category-a
+
+* jstree version: 3.3.5
+ Downloaded from: https://www.jstree.com/
+ License: MIT - this is compatible with ASL 2.0: http://www.apache.org/legal/resolved.html#category-a
diff --git a/README.adoc b/README.adoc
index 4e2e546cc31..20937822882 100644
--- a/README.adoc
+++ b/README.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
:projectKey: org.optaplanner:optaplanner
:sonarBadge: image:https://sonarcloud.io/api/project_badges/measure?project={projectKey}
:sonarLink: link="https://sonarcloud.io/dashboard?id={projectKey}"
diff --git a/build/8-to-9-migration/optaplanner-quarkus3.yaml b/build/8-to-9-migration/optaplanner-quarkus3.yaml
index d5a5a375c7e..fb6611e45d0 100644
--- a/build/8-to-9-migration/optaplanner-quarkus3.yaml
+++ b/build/8-to-9-migration/optaplanner-quarkus3.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
---
type: specs.openrewrite.org/v1beta/recipe
name: org.optaplanner.openrewrite.Quarkus3
diff --git a/build/optaplanner-bom/.gitignore b/build/optaplanner-bom/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/build/optaplanner-bom/.gitignore
+++ b/build/optaplanner-bom/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/build/optaplanner-build-parent/.gitignore b/build/optaplanner-build-parent/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/build/optaplanner-build-parent/.gitignore
+++ b/build/optaplanner-build-parent/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/build/optaplanner-distribution-internal/.gitignore b/build/optaplanner-distribution-internal/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/build/optaplanner-distribution-internal/.gitignore
+++ b/build/optaplanner-distribution-internal/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/build/optaplanner-distribution-internal/src/main/assembly/scripts/runExamples.bat b/build/optaplanner-distribution-internal/src/main/assembly/scripts/runExamples.bat
index a574ca7dda4..e04027ea99d 100644
--- a/build/optaplanner-distribution-internal/src/main/assembly/scripts/runExamples.bat
+++ b/build/optaplanner-distribution-internal/src/main/assembly/scripts/runExamples.bat
@@ -1,3 +1,21 @@
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
@ECHO OFF
setLocal enableExtensions enableDelayedExpansion
diff --git a/build/optaplanner-ide-config/.gitignore b/build/optaplanner-ide-config/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/build/optaplanner-ide-config/.gitignore
+++ b/build/optaplanner-ide-config/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/build/optaplanner-ide-config/ide-configuration.adoc b/build/optaplanner-ide-config/ide-configuration.adoc
index 576a2e36652..665e8134e48 100644
--- a/build/optaplanner-ide-config/ide-configuration.adoc
+++ b/build/optaplanner-ide-config/ide-configuration.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
= IDE Setup Instructions
Before you start contributing, please follow the instructions below to set up a code style for an IDE of your choice.
diff --git a/build/optaplanner-javadoc/.gitignore b/build/optaplanner-javadoc/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/build/optaplanner-javadoc/.gitignore
+++ b/build/optaplanner-javadoc/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/build/release/release-procedure.adoc b/build/release/release-procedure.adoc
index 1b6460a892c..52e1ed8a097 100644
--- a/build/release/release-procedure.adoc
+++ b/build/release/release-procedure.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
= Release Procedure
== Projects and Artifacts
diff --git a/core/.gitignore b/core/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/core/.gitignore
+++ b/core/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/core/optaplanner-constraint-drl/.gitignore b/core/optaplanner-constraint-drl/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/core/optaplanner-constraint-drl/.gitignore
+++ b/core/optaplanner-constraint-drl/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/dummySimpleScoreDroolsConstraints.drl b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/dummySimpleScoreDroolsConstraints.drl
index ffcb153fe17..b8faa1a97fb 100644
--- a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/dummySimpleScoreDroolsConstraints.drl
+++ b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/dummySimpleScoreDroolsConstraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.constraint.drl;
dialect "java"
diff --git a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/invalidDroolsConstraints.drl b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/invalidDroolsConstraints.drl
index 0c5c155b437..dc21e797b2a 100644
--- a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/invalidDroolsConstraints.drl
+++ b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/invalidDroolsConstraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.core.impl.testdata.util;
dialect "java"
diff --git a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/scoreDirectorSemanticsDroolsConstraints.drl b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/scoreDirectorSemanticsDroolsConstraints.drl
index 8344ca0dac6..f91676c4f17 100644
--- a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/scoreDirectorSemanticsDroolsConstraints.drl
+++ b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/scoreDirectorSemanticsDroolsConstraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.core.impl.testdata.domain.constraintconfiguration;
dialect "java"
diff --git a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/scoreDirectorSemanticsDroolsConstraints2.drl b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/scoreDirectorSemanticsDroolsConstraints2.drl
index 94ef6d6b8c0..932263cb2e5 100644
--- a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/scoreDirectorSemanticsDroolsConstraints2.drl
+++ b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/scoreDirectorSemanticsDroolsConstraints2.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 packageOverwrittenOnField;
dialect "java"
diff --git a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/solutionManagerDroolsConstraints.drl b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/solutionManagerDroolsConstraints.drl
index a159622b228..81b925455d7 100644
--- a/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/solutionManagerDroolsConstraints.drl
+++ b/core/optaplanner-constraint-drl/src/test/resources/org/optaplanner/constraint/drl/solutionManagerDroolsConstraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.core.impl.testdata.domain;
dialect "java"
diff --git a/core/optaplanner-constraint-streams-bavet/.gitignore b/core/optaplanner-constraint-streams-bavet/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/core/optaplanner-constraint-streams-bavet/.gitignore
+++ b/core/optaplanner-constraint-streams-bavet/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/core/optaplanner-constraint-streams-common/.gitignore b/core/optaplanner-constraint-streams-common/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/core/optaplanner-constraint-streams-common/.gitignore
+++ b/core/optaplanner-constraint-streams-common/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/core/optaplanner-constraint-streams-drools/.gitignore b/core/optaplanner-constraint-streams-drools/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/core/optaplanner-constraint-streams-drools/.gitignore
+++ b/core/optaplanner-constraint-streams-drools/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/core/optaplanner-core-impl/.gitignore b/core/optaplanner-core-impl/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/core/optaplanner-core-impl/.gitignore
+++ b/core/optaplanner-core-impl/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/core/optaplanner-core/.gitignore b/core/optaplanner-core/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/core/optaplanner-core/.gitignore
+++ b/core/optaplanner-core/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-benchmark/.gitignore b/optaplanner-benchmark/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-benchmark/.gitignore
+++ b/optaplanner-benchmark/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-benchmark/src/main/resources/org/optaplanner/benchmark/impl/report/benchmarkReport.html.ftl b/optaplanner-benchmark/src/main/resources/org/optaplanner/benchmark/impl/report/benchmarkReport.html.ftl
index 99bcda3ef68..21ef139d2fd 100644
--- a/optaplanner-benchmark/src/main/resources/org/optaplanner/benchmark/impl/report/benchmarkReport.html.ftl
+++ b/optaplanner-benchmark/src/main/resources/org/optaplanner/benchmark/impl/report/benchmarkReport.html.ftl
@@ -1,6 +1,24 @@
<#ftl output_format="HTML"> <#-- So that Freemarker escapes automatically. -->
<#-- @ftlvariable name="benchmarkReport" type="org.optaplanner.benchmark.impl.report.BenchmarkReport" -->
+
diff --git a/optaplanner-benchmark/src/main/resources/org/optaplanner/benchmark/impl/report/twitterbootstrap/twitterbootstrap.txt b/optaplanner-benchmark/src/main/resources/org/optaplanner/benchmark/impl/report/twitterbootstrap/twitterbootstrap.txt
deleted file mode 100644
index d3ce7ba159b..00000000000
--- a/optaplanner-benchmark/src/main/resources/org/optaplanner/benchmark/impl/report/twitterbootstrap/twitterbootstrap.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Twitter bootstrap
-=================
-
-The twitter bootstrap and jQuery libraries are included in optaplanner-benchmark,
-TODO: Remove inclusion as soon as it's available as a dependency on maven central.
-
-Twitter bootstrap version: 2.3.2
-Downloaded from: https://getbootstrap.com/
-License: Apache License v2.0 (just like OptaPlanner)
-
-jQuery version: 1.9.1
-Downloaded from: http://jquery.com/
-License: MIT (which can be used by Apache License v2.0 projects)
-
-google-code-pretty version: 4-Mar-2013
-Downloaded from: http://code.google.com/p/google-code-prettify
-License: Apache License v2.0 (just like OptaPlanner)
diff --git a/optaplanner-benchmark/src/test/resources/org/optaplanner/benchmark/api/classloaderTestdataBenchmarkConfigTemplate.xml.ftl b/optaplanner-benchmark/src/test/resources/org/optaplanner/benchmark/api/classloaderTestdataBenchmarkConfigTemplate.xml.ftl
index 7441369f55c..52e98ed7d32 100644
--- a/optaplanner-benchmark/src/test/resources/org/optaplanner/benchmark/api/classloaderTestdataBenchmarkConfigTemplate.xml.ftl
+++ b/optaplanner-benchmark/src/test/resources/org/optaplanner/benchmark/api/classloaderTestdataBenchmarkConfigTemplate.xml.ftl
@@ -1,4 +1,22 @@
+
target/benchmarkTest/output
0
diff --git a/optaplanner-benchmark/src/test/resources/org/optaplanner/benchmark/api/testdataBenchmarkConfigTemplate.xml.ftl b/optaplanner-benchmark/src/test/resources/org/optaplanner/benchmark/api/testdataBenchmarkConfigTemplate.xml.ftl
index aae9cb8b012..1de01e55577 100644
--- a/optaplanner-benchmark/src/test/resources/org/optaplanner/benchmark/api/testdataBenchmarkConfigTemplate.xml.ftl
+++ b/optaplanner-benchmark/src/test/resources/org/optaplanner/benchmark/api/testdataBenchmarkConfigTemplate.xml.ftl
@@ -1,4 +1,22 @@
+
target/benchmarkTest/output
0
diff --git a/optaplanner-docs/.gitignore b/optaplanner-docs/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-docs/.gitignore
+++ b/optaplanner-docs/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-docs/src/antora-template.yml b/optaplanner-docs/src/antora-template.yml
index 33fbdabbbc7..f929958f6fb 100644
--- a/optaplanner-docs/src/antora-template.yml
+++ b/optaplanner-docs/src/antora-template.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# This file is a template for antora.yml, which is created during a release by:
# 1. running maven that substitutes the properties into this file
# 2. running build/release/update_antora_yml.sh that copies the result of the previous step to src/antora.yml
diff --git a/optaplanner-docs/src/antora.yml b/optaplanner-docs/src/antora.yml
index 555da6ceae9..2b879db81e8 100644
--- a/optaplanner-docs/src/antora.yml
+++ b/optaplanner-docs/src/antora.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# This file is a template for antora.yml, which is created during a release by:
# 1. running maven that substitutes the properties into this file
# 2. running build/release/update_antora_yml.sh that copies the result of the previous step to src/antora.yml
diff --git a/optaplanner-docs/src/modules/ROOT/nav.adoc b/optaplanner-docs/src/modules/ROOT/nav.adoc
index 69d6c209594..c173dc1c734 100644
--- a/optaplanner-docs/src/modules/ROOT/nav.adoc
+++ b/optaplanner-docs/src/modules/ROOT/nav.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
* xref:planner-introduction/planner-introduction.adoc[leveloffset=+1]
* Quickstart
** xref:quickstart/overview/overview-quickstarts.adoc[leveloffset=+1]
diff --git a/optaplanner-docs/src/modules/ROOT/pages/.index.adoc b/optaplanner-docs/src/modules/ROOT/pages/.index.adoc
index d53384888eb..68f72e93dae 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/.index.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/.index.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
= OptaPlanner User Guide
The OptaPlanner Team
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/_attributes.adoc b/optaplanner-docs/src/modules/ROOT/pages/_attributes.adoc
index 7cfdc85c8d6..d65b558a99c 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/_attributes.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/_attributes.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
// Attributes derived from the maven build, typically versions, are defined in the pom.xml and antora-template.yml.
:quickstarts-clone-url: https://github.com/kiegroup/optaplanner-quickstarts
:quickstarts-archive-url: https://www.optaplanner.org/download/download.html
diff --git a/optaplanner-docs/src/modules/ROOT/pages/benchmarking-and-tweaking/benchmarking-and-tweaking.adoc b/optaplanner-docs/src/modules/ROOT/pages/benchmarking-and-tweaking/benchmarking-and-tweaking.adoc
index 2e73f18dfe1..2cef9aef75e 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/benchmarking-and-tweaking/benchmarking-and-tweaking.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/benchmarking-and-tweaking/benchmarking-and-tweaking.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[benchmarker]]
= Benchmarking and tweaking
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/constraint-streams/constraint-streams.adoc b/optaplanner-docs/src/modules/ROOT/pages/constraint-streams/constraint-streams.adoc
index b73ac36971b..1da001271b8 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/constraint-streams/constraint-streams.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/constraint-streams/constraint-streams.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[constraintStreams]]
= Constraint streams score calculation
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/construction-heuristics/construction-heuristics.adoc b/optaplanner-docs/src/modules/ROOT/pages/construction-heuristics/construction-heuristics.adoc
index 7b17ec2202f..1b2ea379205 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/construction-heuristics/construction-heuristics.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/construction-heuristics/construction-heuristics.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[constructionHeuristics]]
= Construction heuristics
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/design-patterns/design-patterns.adoc b/optaplanner-docs/src/modules/ROOT/pages/design-patterns/design-patterns.adoc
index ae3baf7d408..49f5bdd5df0 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/design-patterns/design-patterns.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/design-patterns/design-patterns.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[designPatterns]]
= Design patterns
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/development/development.adoc b/optaplanner-docs/src/modules/ROOT/pages/development/development.adoc
index 1dd0c334b4f..85bd16b37ad 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/development/development.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/development/development.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[development]]
= Development
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/drools-score-calculation/drools-score-calculation.adoc b/optaplanner-docs/src/modules/ROOT/pages/drools-score-calculation/drools-score-calculation.adoc
index 51fde2981f7..4ebab08d86e 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/drools-score-calculation/drools-score-calculation.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/drools-score-calculation/drools-score-calculation.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[droolsScoreCalculation]]
= Drools score calculation (Deprecated)
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/evolutionary-algorithms/evolutionary-algorithms.adoc b/optaplanner-docs/src/modules/ROOT/pages/evolutionary-algorithms/evolutionary-algorithms.adoc
index d6d0b9ced0f..0c34b2ee963 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/evolutionary-algorithms/evolutionary-algorithms.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/evolutionary-algorithms/evolutionary-algorithms.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[evolutionaryAlgorithms]]
= Evolutionary algorithms
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/exhaustive-search/exhaustive-search.adoc b/optaplanner-docs/src/modules/ROOT/pages/exhaustive-search/exhaustive-search.adoc
index 7eac279ef99..16e01a30ea6 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/exhaustive-search/exhaustive-search.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/exhaustive-search/exhaustive-search.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[exhaustiveSearch]]
= Exhaustive search
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/hyperheuristics/hyperheuristic.adoc b/optaplanner-docs/src/modules/ROOT/pages/hyperheuristics/hyperheuristic.adoc
index c78dafa1189..0fc5f849943 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/hyperheuristics/hyperheuristic.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/hyperheuristics/hyperheuristic.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[hyperheuristics]]
= Hyperheuristics
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/integration/config-properties.adoc b/optaplanner-docs/src/modules/ROOT/pages/integration/config-properties.adoc
index 91021eb38b8..af97254d2d5 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/integration/config-properties.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/integration/config-properties.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
////
Quarkus and Spring Boot support the same configuration properties.
All the properties are in this file, which can then be included multiple times.
diff --git a/optaplanner-docs/src/modules/ROOT/pages/integration/integration.adoc b/optaplanner-docs/src/modules/ROOT/pages/integration/integration.adoc
index 2e163741b75..c37acd15326 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/integration/integration.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/integration/integration.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[integration]]
= Integration
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/javascriptLibraries.txt b/optaplanner-docs/src/modules/ROOT/pages/javascriptLibraries.txt
deleted file mode 100644
index 767e6c85093..00000000000
--- a/optaplanner-docs/src/modules/ROOT/pages/javascriptLibraries.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-Javascript libraries
-====================
-
-jQuery version: 3.3.1
-Downloaded from: http://jquery.com/
-License: MIT - this is compatible with ASL 2.0: http://www.apache.org/legal/resolved.html#category-a
-
-jstree version: 3.3.5
-Downloaded from: https://www.jstree.com/
-License: MIT - this is compatible with ASL 2.0: http://www.apache.org/legal/resolved.html#category-a
\ No newline at end of file
diff --git a/optaplanner-docs/src/modules/ROOT/pages/local-search/local-search.adoc b/optaplanner-docs/src/modules/ROOT/pages/local-search/local-search.adoc
index be5b04d0fd7..1013b6128f5 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/local-search/local-search.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/local-search/local-search.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[localSearch]]
= Local search
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/move-and-neighborhood-selection/move-and-neighborhood-selection.adoc b/optaplanner-docs/src/modules/ROOT/pages/move-and-neighborhood-selection/move-and-neighborhood-selection.adoc
index 71f23627eff..ec31aa58f7b 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/move-and-neighborhood-selection/move-and-neighborhood-selection.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/move-and-neighborhood-selection/move-and-neighborhood-selection.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[moveAndNeighborhoodSelection]]
= Move and neighborhood selection
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/optimization-algorithms/optimization-algorithms.adoc b/optaplanner-docs/src/modules/ROOT/pages/optimization-algorithms/optimization-algorithms.adoc
index 8c576aab193..b952393a530 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/optimization-algorithms/optimization-algorithms.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/optimization-algorithms/optimization-algorithms.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[optimizationAlgorithms]]
= Optimization algorithms
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/partitioned-search/partitioned-search.adoc b/optaplanner-docs/src/modules/ROOT/pages/partitioned-search/partitioned-search.adoc
index c1b48df49b9..cf5135fef92 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/partitioned-search/partitioned-search.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/partitioned-search/partitioned-search.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[partitionedSearch]]
= Partitioned search
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/planner-configuration/planner-configuration.adoc b/optaplanner-docs/src/modules/ROOT/pages/planner-configuration/planner-configuration.adoc
index 66a3aa0c9d9..58af7d3428d 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/planner-configuration/planner-configuration.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/planner-configuration/planner-configuration.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[plannerConfiguration]]
= OptaPlanner configuration
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/planner-introduction/planner-introduction.adoc b/optaplanner-docs/src/modules/ROOT/pages/planner-introduction/planner-introduction.adoc
index 0aebc2e606e..4e020eae7f9 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/planner-introduction/planner-introduction.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/planner-introduction/planner-introduction.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[plannerIntroduction]]
= OptaPlanner introduction
// Redirect to this page from .../docs/optaplanner/latest.
diff --git a/optaplanner-docs/src/modules/ROOT/pages/quickstart/.quickstart.adoc b/optaplanner-docs/src/modules/ROOT/pages/quickstart/.quickstart.adoc
index edc61b5da31..03e7ab293eb 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/quickstart/.quickstart.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/quickstart/.quickstart.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[quickStart]]
= Quick start
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/quickstart/hello-world/hello-world-quickstart.adoc b/optaplanner-docs/src/modules/ROOT/pages/quickstart/hello-world/hello-world-quickstart.adoc
index f3cace5f10a..c9cef4d62c4 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/quickstart/hello-world/hello-world-quickstart.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/quickstart/hello-world/hello-world-quickstart.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[helloWorldJavaQuickStart]]
= Hello world Java quick start
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/quickstart/overview/overview-quickstarts.adoc b/optaplanner-docs/src/modules/ROOT/pages/quickstart/overview/overview-quickstarts.adoc
index e4be88577b5..6fa5fbfbee2 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/quickstart/overview/overview-quickstarts.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/quickstart/overview/overview-quickstarts.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[quickStartOverview]]
= Overview
// Redirect to this page from .../docs/optaplanner/latest/quickstart/quickstart.html.
diff --git a/optaplanner-docs/src/modules/ROOT/pages/quickstart/quarkus/quarkus-quickstart.adoc b/optaplanner-docs/src/modules/ROOT/pages/quickstart/quarkus/quarkus-quickstart.adoc
index 5594fa7bfc3..518a148363d 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/quickstart/quarkus/quarkus-quickstart.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/quickstart/quarkus/quarkus-quickstart.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[quarkusJavaQuickStart]]
= Quarkus Java quick start
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-constraints.adoc b/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-constraints.adoc
index f7c5a9c9dcc..29b7dd7a6f2 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-constraints.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-constraints.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
= Define the constraints and calculate the score
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-model.adoc b/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-model.adoc
index 03f2dec1307..d1b1c64bd4b 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-model.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-model.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
= Model the domain objects
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-solution.adoc b/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-solution.adoc
index 6da4ba8ef86..facf94eb763 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-solution.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/quickstart/school-timetabling/school-timetabling-solution.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
= Gather the domain objects in a planning solution
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/quickstart/spring-boot/spring-boot-quickstart.adoc b/optaplanner-docs/src/modules/ROOT/pages/quickstart/spring-boot/spring-boot-quickstart.adoc
index c8f1001086f..a82695f7c91 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/quickstart/spring-boot/spring-boot-quickstart.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/quickstart/spring-boot/spring-boot-quickstart.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[springBootJavaQuickStart]]
= Spring Boot Java quick start
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/release-notes/release-notes-8.adoc b/optaplanner-docs/src/modules/ROOT/pages/release-notes/release-notes-8.adoc
index 12d0e1061e8..89636a63489 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/release-notes/release-notes-8.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/release-notes/release-notes-8.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[releaseNotes-8.x]]
== OptaPlanner 8.x Release Notes
diff --git a/optaplanner-docs/src/modules/ROOT/pages/release-notes/release-notes.adoc b/optaplanner-docs/src/modules/ROOT/pages/release-notes/release-notes.adoc
index 1eee7f70c09..3cd95ef4053 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/release-notes/release-notes.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/release-notes/release-notes.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[releaseNotes]]
= Release Notes
diff --git a/optaplanner-docs/src/modules/ROOT/pages/repeated-planning/repeated-planning.adoc b/optaplanner-docs/src/modules/ROOT/pages/repeated-planning/repeated-planning.adoc
index 241637be7a2..4f49c5efc2c 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/repeated-planning/repeated-planning.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/repeated-planning/repeated-planning.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[repeatedPlanning]]
= Repeated planning
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/score-calculation/score-calculation.adoc b/optaplanner-docs/src/modules/ROOT/pages/score-calculation/score-calculation.adoc
index 7b677b5fb2b..3fe7f148f90 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/score-calculation/score-calculation.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/score-calculation/score-calculation.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[scoreCalculation]]
= Score calculation
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/shadow-variable/shadow-variable.adoc b/optaplanner-docs/src/modules/ROOT/pages/shadow-variable/shadow-variable.adoc
index e4dee3998c4..b518f5c3e68 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/shadow-variable/shadow-variable.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/shadow-variable/shadow-variable.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[shadowVariable]]
= Shadow variable
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/bed-allocation/bed-allocation.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/bed-allocation/bed-allocation.adoc
index 7fe47e76e5e..3986e8fde4f 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/bed-allocation/bed-allocation.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/bed-allocation/bed-allocation.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[bedAllocation]]
= Hospital bed planning (PAS - Patient Admission Scheduling)
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/cloud-balancing/cloud-balancing.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/cloud-balancing/cloud-balancing.adoc
index 3326e1b7f49..67667e62fda 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/cloud-balancing/cloud-balancing.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/cloud-balancing/cloud-balancing.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[cloudBalancing]]
= Cloud balancing
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/conference-scheduling/conference-scheduling.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/conference-scheduling/conference-scheduling.adoc
index 14259fa0acf..fc22885e645 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/conference-scheduling/conference-scheduling.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/conference-scheduling/conference-scheduling.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[conferenceScheduling]]
= Conference scheduling
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/course-timetabling/course-timetabling.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/course-timetabling/course-timetabling.adoc
index d00ad17f04f..8767b39046b 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/course-timetabling/course-timetabling.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/course-timetabling/course-timetabling.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[curriculumCourse]]
= Course timetabling (ITC 2007 Track 3 - Curriculum Course Scheduling)
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/exam-timetabling/exam-timetabling.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/exam-timetabling/exam-timetabling.adoc
index 0a87dc242b9..63e6d9005d6 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/exam-timetabling/exam-timetabling.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/exam-timetabling/exam-timetabling.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[examination]]
= Exam timetabling (ITC 2007 track 1 - Examination)
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/examples-overview/examples-overview.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/examples-overview/examples-overview.adoc
index dfc0279504f..4fe2621ddde 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/examples-overview/examples-overview.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/examples-overview/examples-overview.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[examplesOverview]]
= Examples overview
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/flight-crew-scheduling/flight-crew-scheduling.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/flight-crew-scheduling/flight-crew-scheduling.adoc
index 41a3b11319b..fc1551ae527 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/flight-crew-scheduling/flight-crew-scheduling.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/flight-crew-scheduling/flight-crew-scheduling.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[flightCrewScheduling]]
= Flight crew scheduling
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/machine-reassignment/machine-reassignment.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/machine-reassignment/machine-reassignment.adoc
index cf6528f3c5f..c63b447f42c 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/machine-reassignment/machine-reassignment.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/machine-reassignment/machine-reassignment.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[machineReassignment]]
= Machine reassignment (Google ROADEF 2012)
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/meeting-scheduling/meeting-scheduling.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/meeting-scheduling/meeting-scheduling.adoc
index 56f381d93c9..8b2ccca7202 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/meeting-scheduling/meeting-scheduling.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/meeting-scheduling/meeting-scheduling.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[meetingScheduling]]
= Meeting scheduling
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/nqueens/nqueens.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/nqueens/nqueens.adoc
index b63ff36606d..16b4e216a55 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/nqueens/nqueens.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/nqueens/nqueens.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[nQueens]]
= N queens
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/nurse-rostering/nurse-rostering.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/nurse-rostering/nurse-rostering.adoc
index ebcb9568b1b..92ac98def9d 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/nurse-rostering/nurse-rostering.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/nurse-rostering/nurse-rostering.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[nurseRostering]]
= Nurse rostering (INRC 2010)
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/project-job-scheduling/project-job-scheduling.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/project-job-scheduling/project-job-scheduling.adoc
index 612c3360b79..ae81234d477 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/project-job-scheduling/project-job-scheduling.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/project-job-scheduling/project-job-scheduling.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[projectJobScheduling]]
= Project job scheduling
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/task-assigning/task-assigning.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/task-assigning/task-assigning.adoc
index da78875c14e..16283f49e7e 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/task-assigning/task-assigning.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/task-assigning/task-assigning.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[taskAssigning]]
= Task assigning
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/tennis-scheduling/tennis-scheduling.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/tennis-scheduling/tennis-scheduling.adoc
index 3276fc600c0..277b02cc03e 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/tennis-scheduling/tennis-scheduling.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/tennis-scheduling/tennis-scheduling.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[tennis]]
= Tennis club scheduling
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/travelling-salesman/travelling-salesman.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/travelling-salesman/travelling-salesman.adoc
index e9dbdd756df..de0f62c5ed5 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/travelling-salesman/travelling-salesman.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/travelling-salesman/travelling-salesman.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[tsp]]
= Traveling salesman (TSP - traveling salesman problem)
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/travelling-tournament/travelling-tournament.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/travelling-tournament/travelling-tournament.adoc
index baacb47e771..73bbabc57d3 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/travelling-tournament/travelling-tournament.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/travelling-tournament/travelling-tournament.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[travelingTournament]]
= Traveling tournament problem (TTP)
:imagesdir: ../..
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/use-cases-and-examples.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/use-cases-and-examples.adoc
index 3524ae4c7ab..06a2109e2b0 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/use-cases-and-examples.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/use-cases-and-examples.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[useCasesAndExamples]]
= Use cases and examples
:doctype: book
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/vaccination-scheduling/vaccination-scheduling.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/vaccination-scheduling/vaccination-scheduling.adoc
index 5f1aa47f27b..fe8c6ee383a 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/vaccination-scheduling/vaccination-scheduling.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/vaccination-scheduling/vaccination-scheduling.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[vaccinationScheduler]]
= OptaPlanner Vaccination Scheduler
diff --git a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/vehicle-routing/vehicle-routing.adoc b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/vehicle-routing/vehicle-routing.adoc
index 1eb0b15c124..446e3f52331 100644
--- a/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/vehicle-routing/vehicle-routing.adoc
+++ b/optaplanner-docs/src/modules/ROOT/pages/use-cases-and-examples/vehicle-routing/vehicle-routing.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
[[vehicleRouting]]
= Vehicle routing
:imagesdir: ../..
diff --git a/optaplanner-examples/.gitignore b/optaplanner-examples/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-examples/.gitignore
+++ b/optaplanner-examples/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-examples/data/cloudbalancing/solved/.gitignore b/optaplanner-examples/data/cloudbalancing/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/cloudbalancing/solved/.gitignore
+++ b/optaplanner-examples/data/cloudbalancing/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/conferencescheduling/solved/.gitignore b/optaplanner-examples/data/conferencescheduling/solved/.gitignore
index 637ddccbbaa..08dd1d7138e 100644
--- a/optaplanner-examples/data/conferencescheduling/solved/.gitignore
+++ b/optaplanner-examples/data/conferencescheduling/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xlsx
diff --git a/optaplanner-examples/data/curriculumcourse/solved/.gitignore b/optaplanner-examples/data/curriculumcourse/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/curriculumcourse/solved/.gitignore
+++ b/optaplanner-examples/data/curriculumcourse/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/examination/solved/.gitignore b/optaplanner-examples/data/examination/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/examination/solved/.gitignore
+++ b/optaplanner-examples/data/examination/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/flightcrewscheduling/solved/.gitignore b/optaplanner-examples/data/flightcrewscheduling/solved/.gitignore
index 637ddccbbaa..08dd1d7138e 100644
--- a/optaplanner-examples/data/flightcrewscheduling/solved/.gitignore
+++ b/optaplanner-examples/data/flightcrewscheduling/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xlsx
diff --git a/optaplanner-examples/data/machinereassignment/solved/.gitignore b/optaplanner-examples/data/machinereassignment/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/machinereassignment/solved/.gitignore
+++ b/optaplanner-examples/data/machinereassignment/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/meetingscheduling/solved/.gitignore b/optaplanner-examples/data/meetingscheduling/solved/.gitignore
index 637ddccbbaa..08dd1d7138e 100644
--- a/optaplanner-examples/data/meetingscheduling/solved/.gitignore
+++ b/optaplanner-examples/data/meetingscheduling/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xlsx
diff --git a/optaplanner-examples/data/nqueens/solved/.gitignore b/optaplanner-examples/data/nqueens/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/nqueens/solved/.gitignore
+++ b/optaplanner-examples/data/nqueens/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/nurserostering/solved/.gitignore b/optaplanner-examples/data/nurserostering/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/nurserostering/solved/.gitignore
+++ b/optaplanner-examples/data/nurserostering/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/pas/solved/.gitignore b/optaplanner-examples/data/pas/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/pas/solved/.gitignore
+++ b/optaplanner-examples/data/pas/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/projectjobscheduling/solved/.gitignore b/optaplanner-examples/data/projectjobscheduling/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/projectjobscheduling/solved/.gitignore
+++ b/optaplanner-examples/data/projectjobscheduling/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/taskassigning/solved/.gitignore b/optaplanner-examples/data/taskassigning/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/taskassigning/solved/.gitignore
+++ b/optaplanner-examples/data/taskassigning/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/tennis/solved/.gitignore b/optaplanner-examples/data/tennis/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/tennis/solved/.gitignore
+++ b/optaplanner-examples/data/tennis/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/travelingtournament/solved/.gitignore b/optaplanner-examples/data/travelingtournament/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/travelingtournament/solved/.gitignore
+++ b/optaplanner-examples/data/travelingtournament/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/tsp/export/.gitignore b/optaplanner-examples/data/tsp/export/.gitignore
index 66ebb3a896c..737fe48a387 100644
--- a/optaplanner-examples/data/tsp/export/.gitignore
+++ b/optaplanner-examples/data/tsp/export/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.*
diff --git a/optaplanner-examples/data/tsp/solved/.gitignore b/optaplanner-examples/data/tsp/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/tsp/solved/.gitignore
+++ b/optaplanner-examples/data/tsp/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/data/vehiclerouting/import/belgium/basic/road-km/.gitignore b/optaplanner-examples/data/vehiclerouting/import/belgium/basic/road-km/.gitignore
index 82cb0944ca7..7b8b2890558 100644
--- a/optaplanner-examples/data/vehiclerouting/import/belgium/basic/road-km/.gitignore
+++ b/optaplanner-examples/data/vehiclerouting/import/belgium/basic/road-km/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/belgium-road-km-n1000-k20.vrp
/belgium-road-km-n2750-k55.vrp
diff --git a/optaplanner-examples/data/vehiclerouting/import/belgium/basic/road-time/.gitignore b/optaplanner-examples/data/vehiclerouting/import/belgium/basic/road-time/.gitignore
index 91f41d6d712..147f4fb0a30 100644
--- a/optaplanner-examples/data/vehiclerouting/import/belgium/basic/road-time/.gitignore
+++ b/optaplanner-examples/data/vehiclerouting/import/belgium/basic/road-time/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/belgium-road-time-n1000-k20.vrp
/belgium-road-time-n2750-k55.vrp
diff --git a/optaplanner-examples/data/vehiclerouting/import/belgium/multidepot/road-km/.gitignore b/optaplanner-examples/data/vehiclerouting/import/belgium/multidepot/road-km/.gitignore
index 08fdf4e5b21..0db5f132c5c 100644
--- a/optaplanner-examples/data/vehiclerouting/import/belgium/multidepot/road-km/.gitignore
+++ b/optaplanner-examples/data/vehiclerouting/import/belgium/multidepot/road-km/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/belgium-road-km-d5-n500-k20.vrp
/belgium-road-km-d8-n1000-k20.vrp
/belgium-road-km-d10-n2750-k55.vrp
diff --git a/optaplanner-examples/data/vehiclerouting/import/belgium/multidepot/road-time/.gitignore b/optaplanner-examples/data/vehiclerouting/import/belgium/multidepot/road-time/.gitignore
index 95182f92f0a..e653144f780 100644
--- a/optaplanner-examples/data/vehiclerouting/import/belgium/multidepot/road-time/.gitignore
+++ b/optaplanner-examples/data/vehiclerouting/import/belgium/multidepot/road-time/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/belgium-road-time-d5-n500-k20.vrp
/belgium-road-time-d8-n1000-k20.vrp
/belgium-road-time-d10-n2750-k55.vrp
diff --git a/optaplanner-examples/data/vehiclerouting/solved/.gitignore b/optaplanner-examples/data/vehiclerouting/solved/.gitignore
index 5e8d88d9a3f..2c2ec4647e2 100644
--- a/optaplanner-examples/data/vehiclerouting/solved/.gitignore
+++ b/optaplanner-examples/data/vehiclerouting/solved/.gitignore
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Ignore temporary files
/tmp*.xml
diff --git a/optaplanner-examples/src/main/resources/org/optaplanner/examples/app/benchmark/generalOptaPlannerBenchmarkConfigTemplate.xml.ftl b/optaplanner-examples/src/main/resources/org/optaplanner/examples/app/benchmark/generalOptaPlannerBenchmarkConfigTemplate.xml.ftl
index 7e619751307..f21bb7efc25 100644
--- a/optaplanner-examples/src/main/resources/org/optaplanner/examples/app/benchmark/generalOptaPlannerBenchmarkConfigTemplate.xml.ftl
+++ b/optaplanner-examples/src/main/resources/org/optaplanner/examples/app/benchmark/generalOptaPlannerBenchmarkConfigTemplate.xml.ftl
@@ -1,4 +1,22 @@
+
local/data/general/template
diff --git a/optaplanner-examples/src/main/resources/org/optaplanner/examples/cloudbalancing/optional/benchmark/cloudBalancingBenchmarkConfigTemplate.xml.ftl b/optaplanner-examples/src/main/resources/org/optaplanner/examples/cloudbalancing/optional/benchmark/cloudBalancingBenchmarkConfigTemplate.xml.ftl
index e926f6eda27..f3fe34ee069 100644
--- a/optaplanner-examples/src/main/resources/org/optaplanner/examples/cloudbalancing/optional/benchmark/cloudBalancingBenchmarkConfigTemplate.xml.ftl
+++ b/optaplanner-examples/src/main/resources/org/optaplanner/examples/cloudbalancing/optional/benchmark/cloudBalancingBenchmarkConfigTemplate.xml.ftl
@@ -1,4 +1,22 @@
+
local/data/cloudbalancing/template
AUTO
diff --git a/optaplanner-examples/src/main/resources/org/optaplanner/examples/curriculumcourse/optional/benchmark/curriculumCourseBenchmarkConfigTemplate.xml.ftl b/optaplanner-examples/src/main/resources/org/optaplanner/examples/curriculumcourse/optional/benchmark/curriculumCourseBenchmarkConfigTemplate.xml.ftl
index 8a9ae741777..aea79f95c6d 100644
--- a/optaplanner-examples/src/main/resources/org/optaplanner/examples/curriculumcourse/optional/benchmark/curriculumCourseBenchmarkConfigTemplate.xml.ftl
+++ b/optaplanner-examples/src/main/resources/org/optaplanner/examples/curriculumcourse/optional/benchmark/curriculumCourseBenchmarkConfigTemplate.xml.ftl
@@ -1,4 +1,22 @@
+
local/data/curriculumcourse/template
AUTO
diff --git a/optaplanner-examples/src/main/resources/org/optaplanner/examples/machinereassignment/optional/benchmark/machineReassignmentBenchmarkConfigTemplate.xml.ftl b/optaplanner-examples/src/main/resources/org/optaplanner/examples/machinereassignment/optional/benchmark/machineReassignmentBenchmarkConfigTemplate.xml.ftl
index 4cb08db12f2..8d8eebdbd82 100644
--- a/optaplanner-examples/src/main/resources/org/optaplanner/examples/machinereassignment/optional/benchmark/machineReassignmentBenchmarkConfigTemplate.xml.ftl
+++ b/optaplanner-examples/src/main/resources/org/optaplanner/examples/machinereassignment/optional/benchmark/machineReassignmentBenchmarkConfigTemplate.xml.ftl
@@ -1,4 +1,22 @@
+
local/data/machinereassignment/template
diff --git a/optaplanner-examples/src/main/resources/org/optaplanner/examples/projectjobscheduling/optional/benchmark/projectJobSchedulingBenchmarkConfigTemplate.xml.ftl b/optaplanner-examples/src/main/resources/org/optaplanner/examples/projectjobscheduling/optional/benchmark/projectJobSchedulingBenchmarkConfigTemplate.xml.ftl
index 57a96033f94..edc0f5d4347 100644
--- a/optaplanner-examples/src/main/resources/org/optaplanner/examples/projectjobscheduling/optional/benchmark/projectJobSchedulingBenchmarkConfigTemplate.xml.ftl
+++ b/optaplanner-examples/src/main/resources/org/optaplanner/examples/projectjobscheduling/optional/benchmark/projectJobSchedulingBenchmarkConfigTemplate.xml.ftl
@@ -1,4 +1,22 @@
+
local/data/projectjobscheduling/template
AUTO
diff --git a/optaplanner-operator/.gitignore b/optaplanner-operator/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-operator/.gitignore
+++ b/optaplanner-operator/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-operator/README.adoc b/optaplanner-operator/README.adoc
index 3e73e1bc6a8..c70561523ef 100644
--- a/optaplanner-operator/README.adoc
+++ b/optaplanner-operator/README.adoc
@@ -1,3 +1,22 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+
= OptaPlanner Operator (experimental)
The OptaPlanner solver operator enables running OptaPlanner workloads on Kubernetes.
diff --git a/optaplanner-operator/src/k8s/crd-solver.yml b/optaplanner-operator/src/k8s/crd-solver.yml
index 602c68fe0f4..d2317401a84 100644
--- a/optaplanner-operator/src/k8s/crd-solver.yml
+++ b/optaplanner-operator/src/k8s/crd-solver.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
diff --git a/optaplanner-operator/src/k8s/openshift.yml b/optaplanner-operator/src/k8s/openshift.yml
index 69555b371ea..9f277c402d0 100644
--- a/optaplanner-operator/src/k8s/openshift.yml
+++ b/optaplanner-operator/src/k8s/openshift.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
---
apiVersion: v1
kind: ServiceAccount
@@ -71,7 +87,7 @@ metadata:
app.kubernetes.io/version: latest
app.openshift.io/runtime: quarkus
name: optaplanner-operator
-spec: { }
+spec: {}
---
apiVersion: build.openshift.io/v1
kind: BuildConfig
@@ -91,7 +107,7 @@ spec:
kind: ImageStreamTag
name: optaplanner-operator:latest
source:
- binary: { }
+ binary: {}
strategy:
sourceStrategy:
from:
diff --git a/optaplanner-operator/src/k8s/optaplanner-operator.yml b/optaplanner-operator/src/k8s/optaplanner-operator.yml
index b3ad391b616..6d1cd200bd8 100644
--- a/optaplanner-operator/src/k8s/optaplanner-operator.yml
+++ b/optaplanner-operator/src/k8s/optaplanner-operator.yml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
---
apiVersion: v1
kind: ServiceAccount
diff --git a/optaplanner-operator/src/k8s/school-timetabling-solver.yml b/optaplanner-operator/src/k8s/school-timetabling-solver.yml
index 64c98fd9f78..8d58dff59de 100644
--- a/optaplanner-operator/src/k8s/school-timetabling-solver.yml
+++ b/optaplanner-operator/src/k8s/school-timetabling-solver.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
# Example solver resource; override as you see fit.
apiVersion: org.optaplanner.solver/v1alpha1
kind: Solver
@@ -21,4 +38,4 @@ spec:
image: quay.io/example/school-timetabling:latest
scaling:
dynamic: true
- replicas: 3
\ No newline at end of file
+ replicas: 3
diff --git a/optaplanner-persistence/.gitignore b/optaplanner-persistence/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-persistence/.gitignore
+++ b/optaplanner-persistence/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-persistence/optaplanner-persistence-common/.gitignore b/optaplanner-persistence/optaplanner-persistence-common/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-persistence/optaplanner-persistence-common/.gitignore
+++ b/optaplanner-persistence/optaplanner-persistence-common/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-persistence/optaplanner-persistence-jackson/.gitignore b/optaplanner-persistence/optaplanner-persistence-jackson/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-persistence/optaplanner-persistence-jackson/.gitignore
+++ b/optaplanner-persistence/optaplanner-persistence-jackson/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-persistence/optaplanner-persistence-jaxb/.gitignore b/optaplanner-persistence/optaplanner-persistence-jaxb/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-persistence/optaplanner-persistence-jaxb/.gitignore
+++ b/optaplanner-persistence/optaplanner-persistence-jaxb/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-persistence/optaplanner-persistence-jpa/.gitignore b/optaplanner-persistence/optaplanner-persistence-jpa/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-persistence/optaplanner-persistence-jpa/.gitignore
+++ b/optaplanner-persistence/optaplanner-persistence-jpa/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-persistence/optaplanner-persistence-jsonb/.gitignore b/optaplanner-persistence/optaplanner-persistence-jsonb/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-persistence/optaplanner-persistence-jsonb/.gitignore
+++ b/optaplanner-persistence/optaplanner-persistence-jsonb/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-persistence/optaplanner-persistence-xstream/.gitignore b/optaplanner-persistence/optaplanner-persistence-xstream/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-persistence/optaplanner-persistence-xstream/.gitignore
+++ b/optaplanner-persistence/optaplanner-persistence-xstream/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/.gitignore b/optaplanner-quarkus-integration/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/.gitignore
+++ b/optaplanner-quarkus-integration/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/src/test/resources/org/optaplanner/quarkus/constraints/defaultConstraints.drl b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/src/test/resources/org/optaplanner/quarkus/constraints/defaultConstraints.drl
index 0dcbec8fe2f..67ba14dd131 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/src/test/resources/org/optaplanner/quarkus/constraints/defaultConstraints.drl
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/src/test/resources/org/optaplanner/quarkus/constraints/defaultConstraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.quarkus.constraints;
dialect "java"
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/integration-test/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/integration-test/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/integration-test/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/integration-test/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/src/main/resources/META-INF/quarkus-extension.yaml
index 30e51382e6a..1cc1616c9f2 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
---
name: "OptaPlanner benchmark"
metadata:
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/integration-test/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/integration-test/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/integration-test/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/integration-test/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/src/main/resources/META-INF/quarkus-extension.yaml
index b29a65a2ac9..95aa6483655 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
---
name: "OptaPlanner Jackson"
metadata:
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/integration-test/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/integration-test/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/integration-test/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/integration-test/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/src/main/resources/META-INF/quarkus-extension.yaml
index 7f705d2a8ab..e40e039e62c 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
---
name: "OptaPlanner JSON-B"
metadata:
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/config-component.js b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/config-component.js
index 2394eb9ca50..5f2083c2de0 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/config-component.js
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/config-component.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import {css, html, LitElement} from 'lit';
import {JsonRpc} from 'jsonrpc';
import '@vaadin/icon';
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/constraints-component.js b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/constraints-component.js
index c8d1e7a43e4..0ffe600d9b7 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/constraints-component.js
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/constraints-component.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import {css, html, LitElement} from 'lit';
import {JsonRpc} from 'jsonrpc';
import '@vaadin/icon';
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/model-component.js b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/model-component.js
index 30fb0b34d6f..d04ad2d73d9 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/model-component.js
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-ui/model-component.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
import {css, html, LitElement} from 'lit';
import {JsonRpc} from 'jsonrpc';
import '@vaadin/icon';
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/test/resources/org/optaplanner/quarkus/constraints/defaultConstraints.drl b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/test/resources/org/optaplanner/quarkus/constraints/defaultConstraints.drl
index 0dcbec8fe2f..67ba14dd131 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/test/resources/org/optaplanner/quarkus/constraints/defaultConstraints.drl
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/test/resources/org/optaplanner/quarkus/constraints/defaultConstraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.quarkus.constraints;
dialect "java"
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/devui-integration-test/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus/devui-integration-test/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/devui-integration-test/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/devui-integration-test/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/drl-integration-test/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus/drl-integration-test/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/drl-integration-test/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/drl-integration-test/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/drl-integration-test/src/main/resources/constraints.drl b/optaplanner-quarkus-integration/optaplanner-quarkus/drl-integration-test/src/main/resources/constraints.drl
index fd89192bed4..69032637d3a 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/drl-integration-test/src/main/resources/constraints.drl
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/drl-integration-test/src/main/resources/constraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.quarkus.constraints;
dialect "java"
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/integration-test/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus/integration-test/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/integration-test/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/integration-test/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/reflection-integration-test/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus/reflection-integration-test/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/reflection-integration-test/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/reflection-integration-test/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/.gitignore b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/.gitignore
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/OptaPlannerDevUIRecorder.java b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/OptaPlannerDevUIRecorder.java
index 6ba141f8b29..f40ed7d27e3 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/OptaPlannerDevUIRecorder.java
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/OptaPlannerDevUIRecorder.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.quarkus.devui;
import java.util.function.Supplier;
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/SolverConfigText.java b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/SolverConfigText.java
index e0ae76f32b3..1e94fa00065 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/SolverConfigText.java
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/java/org/optaplanner/quarkus/devui/SolverConfigText.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.optaplanner.quarkus.devui;
public class SolverConfigText {
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/resources/META-INF/quarkus-extension.yaml
index 8e702dd6aeb..c1bc36e313c 100644
--- a/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ b/optaplanner-quarkus-integration/optaplanner-quarkus/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
---
name: "OptaPlanner"
metadata:
diff --git a/optaplanner-spring-integration/.gitignore b/optaplanner-spring-integration/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-spring-integration/.gitignore
+++ b/optaplanner-spring-integration/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/.gitignore b/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/.gitignore
+++ b/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/test/resources/constraints.drl b/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/test/resources/constraints.drl
index 71b5c4aba78..331dcaed231 100644
--- a/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/test/resources/constraints.drl
+++ b/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/test/resources/constraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
dialect "java"
import org.optaplanner.core.api.score.buildin.simple.SimpleScoreHolder;
diff --git a/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/test/resources/org/optaplanner/spring/boot/autoconfigure/customConstraints.drl b/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/test/resources/org/optaplanner/spring/boot/autoconfigure/customConstraints.drl
index 71b5c4aba78..331dcaed231 100644
--- a/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/test/resources/org/optaplanner/spring/boot/autoconfigure/customConstraints.drl
+++ b/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/test/resources/org/optaplanner/spring/boot/autoconfigure/customConstraints.drl
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
dialect "java"
import org.optaplanner.core.api.score.buildin.simple.SimpleScoreHolder;
diff --git a/optaplanner-spring-integration/optaplanner-spring-boot-starter/.gitignore b/optaplanner-spring-integration/optaplanner-spring-boot-starter/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-spring-integration/optaplanner-spring-boot-starter/.gitignore
+++ b/optaplanner-spring-integration/optaplanner-spring-boot-starter/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local
diff --git a/optaplanner-test/.gitignore b/optaplanner-test/.gitignore
index 222af0cf114..701bc2cf636 100644
--- a/optaplanner-test/.gitignore
+++ b/optaplanner-test/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
/target
/local