diff --git a/.azure-devops/build/build.yml b/.azure-devops/build/build.yml index 355af7677b..517f4c9add 100644 --- a/.azure-devops/build/build.yml +++ b/.azure-devops/build/build.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # Build Stages Template # # supported platform & versions: diff --git a/.azure-devops/build/steps/macOS/before.yml b/.azure-devops/build/steps/macOS/before.yml index 87aca91ef1..44c840efe2 100644 --- a/.azure-devops/build/steps/macOS/before.yml +++ b/.azure-devops/build/steps/macOS/before.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # before.yml # install macOS platform dependencies & set environment variables diff --git a/.azure-devops/build/steps/macOS/build_hotspot.yml b/.azure-devops/build/steps/macOS/build_hotspot.yml index 1cb8121d12..6e2d5f0f1a 100644 --- a/.azure-devops/build/steps/macOS/build_hotspot.yml +++ b/.azure-devops/build/steps/macOS/build_hotspot.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # build_hotspot.yml # run the ./makejdk-any-platform.sh and upload generated files to artifacts diff --git a/.azure-devops/build/steps/shared/after.yml b/.azure-devops/build/steps/shared/after.yml index 90e4e384ae..2958fae54c 100644 --- a/.azure-devops/build/steps/shared/after.yml +++ b/.azure-devops/build/steps/shared/after.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + steps: # display all environment variables when system.debug is set to true - bash: | diff --git a/.azure-devops/build/steps/shared/before.yml b/.azure-devops/build/steps/shared/before.yml index 2de0e83815..59cdb7b2de 100644 --- a/.azure-devops/build/steps/shared/before.yml +++ b/.azure-devops/build/steps/shared/before.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # before.yml # 1. check required environment variables # 2. checkout openjdk-build repo diff --git a/.azure-devops/build/steps/shared/set_boot_jdk_version.yml b/.azure-devops/build/steps/shared/set_boot_jdk_version.yml index f4723e489e..bc02c04aae 100644 --- a/.azure-devops/build/steps/shared/set_boot_jdk_version.yml +++ b/.azure-devops/build/steps/shared/set_boot_jdk_version.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + steps: - bash: | BOOTJDK_VERSION= diff --git a/.azure-devops/build/steps/windows/before.yml b/.azure-devops/build/steps/windows/before.yml index fcbf444d33..fbb264087a 100644 --- a/.azure-devops/build/steps/windows/before.yml +++ b/.azure-devops/build/steps/windows/before.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # before.yml # install Windows platform dependencies & set environment variables diff --git a/.azure-devops/build/steps/windows/build_hotspot.yml b/.azure-devops/build/steps/windows/build_hotspot.yml index 3883bd02b7..f8aafe64da 100644 --- a/.azure-devops/build/steps/windows/build_hotspot.yml +++ b/.azure-devops/build/steps/windows/build_hotspot.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # build_hotspot.yml # run the ./makejdk-any-platform.sh and upload generated files to artifacts diff --git a/.azure-devops/openjdk-pipelines.yml b/.azure-devops/openjdk-pipelines.yml index 14150e93d7..03e74bc702 100644 --- a/.azure-devops/openjdk-pipelines.yml +++ b/.azure-devops/openjdk-pipelines.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + name: "Adoptium-$(JAVA_TO_BUILD)-$(Date:yyyy-MM-dd)" trigger: none diff --git a/.azure-devops/test/jobs/steps/parallel.yml b/.azure-devops/test/jobs/steps/parallel.yml index b87e9f68fd..e6fb02788d 100644 --- a/.azure-devops/test/jobs/steps/parallel.yml +++ b/.azure-devops/test/jobs/steps/parallel.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + steps: - script: | brew update diff --git a/.azure-devops/test/jobs/steps/test.yml b/.azure-devops/test/jobs/steps/test.yml index b05e15bd87..414578a5e4 100644 --- a/.azure-devops/test/jobs/steps/test.yml +++ b/.azure-devops/test/jobs/steps/test.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + steps: - script: | brew update diff --git a/.azure-devops/test/jobs/template.yml b/.azure-devops/test/jobs/template.yml index 868afbb6be..b959ef5f18 100644 --- a/.azure-devops/test/jobs/template.yml +++ b/.azure-devops/test/jobs/template.yml @@ -1,3 +1,15 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** jobs: - job: generate_parallelList_${{ parameters.buildList }} diff --git a/.azure-devops/test/sanity.yml b/.azure-devops/test/sanity.yml index e2fdaf821b..9fd3509e2b 100644 --- a/.azure-devops/test/sanity.yml +++ b/.azure-devops/test/sanity.yml @@ -1,3 +1,15 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** stages: - stage: Test_openjdk_hs_sanity_functional_x86_64_mac diff --git a/.github/dependabot.yml b/.github/dependabot.yml index afb98ae0c7..e228b4a843 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + version: 2 updates: - package-ecosystem: github-actions diff --git a/.github/labeler.yml b/.github/labeler.yml index a6f5d13667..b83778bc51 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # Config file used by .github/workflows/labeler.yml # This file matches file/folder changes to labels. See https://github.com/actions/labeler for more information. diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml index 5ffc9263c0..1648decbf5 100644 --- a/.github/linters/.markdown-lint.yml +++ b/.github/linters/.markdown-lint.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + ########################### ########################### ## Markdown Linter rules ## diff --git a/.github/linters/sun_checks.xml b/.github/linters/sun_checks.xml index 574cb4909d..41db8ed311 100644 --- a/.github/linters/sun_checks.xml +++ b/.github/linters/sun_checks.xml @@ -1,4 +1,19 @@ + + diff --git a/.github/linters/suppressed-java.xml b/.github/linters/suppressed-java.xml index 2a82c313e1..9c7ae407a5 100644 --- a/.github/linters/suppressed-java.xml +++ b/.github/linters/suppressed-java.xml @@ -1,4 +1,19 @@ + + &1 | grep -q '"17.'; then diff --git a/configureBuild.sh b/configureBuild.sh index 745ffd2ad2..71906a3e73 100755 --- a/configureBuild.sh +++ b/configureBuild.sh @@ -1,20 +1,17 @@ #!/bin/bash # shellcheck disable=SC1091 - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. # -################################################################################ +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** ################################################################################ # diff --git a/cyclonedx-lib/build.xml b/cyclonedx-lib/build.xml index 96ff9ec5c9..c10c8b05c6 100644 --- a/cyclonedx-lib/build.xml +++ b/cyclonedx-lib/build.xml @@ -1,17 +1,17 @@ - diff --git a/cyclonedx-lib/sign_src/TemurinSignSBOM.java b/cyclonedx-lib/sign_src/TemurinSignSBOM.java index 848f25d009..dd10494e8c 100644 --- a/cyclonedx-lib/sign_src/TemurinSignSBOM.java +++ b/cyclonedx-lib/sign_src/TemurinSignSBOM.java @@ -1,17 +1,18 @@ -/** - * # Licensed under the Apache License, Version 2.0 (the "License"); - * # you may not use this file except in compliance with the License. - * # You may obtain a copy of the License at - * # - * # https://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. - * ################################################################################ +/* + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ + package temurin.sbom; import org.cyclonedx.BomGeneratorFactory; diff --git a/cyclonedx-lib/sign_src/package-info.java b/cyclonedx-lib/sign_src/package-info.java index 1ceedc3abe..22c96bb07d 100644 --- a/cyclonedx-lib/sign_src/package-info.java +++ b/cyclonedx-lib/sign_src/package-info.java @@ -1,18 +1,18 @@ /* -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://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. -################################################################################ -*/ + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** + */ + /** * Temurin SBOM package. */ diff --git a/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java b/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java index 749c091494..89ca428735 100644 --- a/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java +++ b/cyclonedx-lib/src/temurin/sbom/TemurinGenSBOM.java @@ -1,17 +1,18 @@ -/** -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://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. -################################################################################ -*/ +/* + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** + */ + package temurin.sbom; import org.cyclonedx.BomGeneratorFactory; diff --git a/cyclonedx-lib/src/temurin/sbom/package-info.java b/cyclonedx-lib/src/temurin/sbom/package-info.java index 1ceedc3abe..22c96bb07d 100644 --- a/cyclonedx-lib/src/temurin/sbom/package-info.java +++ b/cyclonedx-lib/src/temurin/sbom/package-info.java @@ -1,18 +1,18 @@ /* -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://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. -################################################################################ -*/ + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** + */ + /** * Temurin SBOM package. */ diff --git a/docker-build.sh b/docker-build.sh index df89757324..2e89d182a5 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -1,18 +1,16 @@ #!/bin/bash - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** ################################################################################ # diff --git a/docker/.gitignore b/docker/.gitignore index b25c15b81f..e5bd4bc274 100644 --- a/docker/.gitignore +++ b/docker/.gitignore @@ -1 +1,14 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + *~ diff --git a/docker/buildDocker.sh b/docker/buildDocker.sh index 61ce2bba32..28b4f78d51 100755 --- a/docker/buildDocker.sh +++ b/docker/buildDocker.sh @@ -1,4 +1,17 @@ #!/bin/bash +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + set -u BOOTDIR="" diff --git a/docker/dockerfile-generator.sh b/docker/dockerfile-generator.sh index baf907c834..38f1799cc9 100755 --- a/docker/dockerfile-generator.sh +++ b/docker/dockerfile-generator.sh @@ -1,4 +1,17 @@ #!/bin/bash +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # shellcheck disable=SC2129 set -eu @@ -141,17 +154,18 @@ checkJDK() { printPreamble() { echo " # -# Licensed under the Apache License, Version 2.0 (the \"License\"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# https://www.apache.org/licenses/LICENSE-2.0 +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://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. +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** FROM ubuntu:18.04 diff --git a/entitlements.plist b/entitlements.plist index d84f4d9a14..e2cedc1706 100644 --- a/entitlements.plist +++ b/entitlements.plist @@ -1,4 +1,19 @@ + + diff --git a/makejdk-any-platform.sh b/makejdk-any-platform.sh index fc7e49cb26..c9e42db675 100755 --- a/makejdk-any-platform.sh +++ b/makejdk-any-platform.sh @@ -1,4 +1,17 @@ #!/bin/bash +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # shellcheck disable=SC1091 ################################################################################ diff --git a/native-build.sh b/native-build.sh index 30c46bf4c4..07a8dbfd99 100755 --- a/native-build.sh +++ b/native-build.sh @@ -1,18 +1,16 @@ #!/bin/bash - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** ################################################################################ # diff --git a/sbin/build.sh b/sbin/build.sh index a9143017f9..b29c557874 100755 --- a/sbin/build.sh +++ b/sbin/build.sh @@ -1,20 +1,18 @@ #!/bin/bash -# shellcheck disable=SC2155,SC2153,SC2038,SC1091,SC2116,SC2086 - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** +# shellcheck disable=SC2155,SC2153,SC2038,SC1091,SC2116,SC2086 ################################################################################ # # Build OpenJDK - can be called directly but is typically called by diff --git a/sbin/build.template b/sbin/build.template index 053787af31..463fa624ab 100644 --- a/sbin/build.template +++ b/sbin/build.template @@ -1,20 +1,5 @@ #!/bin/bash # shellcheck disable=SC1009,SC1056,SC1072,SC1073,SC1054,SC1083,SC2181 - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://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. -################################################################################ - ################################################################################ # # build.template diff --git a/sbin/common/common.sh b/sbin/common/common.sh index 261e4d08b4..03fc8d6791 100755 --- a/sbin/common/common.sh +++ b/sbin/common/common.sh @@ -1,20 +1,18 @@ #!/bin/bash -# shellcheck disable=SC2155 - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** +# shellcheck disable=SC2155 # shellcheck disable=SC2153 function setOpenJdkVersion() { local forest_name=$1 diff --git a/sbin/common/config_init.sh b/sbin/common/config_init.sh index 3ee88244fe..b5d31c34b4 100755 --- a/sbin/common/config_init.sh +++ b/sbin/common/config_init.sh @@ -1,21 +1,18 @@ #!/bin/bash -# shellcheck disable=SC2153,SC2155 - -################################################################################ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. # -################################################################################ +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + +# shellcheck disable=SC2153,SC2155 ################################################################################ # diff --git a/sbin/common/constants.sh b/sbin/common/constants.sh index c02cfb4317..5b962aefb2 100755 --- a/sbin/common/constants.sh +++ b/sbin/common/constants.sh @@ -1,18 +1,16 @@ #!/bin/bash - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# https://www.apache.org/licenses/LICENSE-2.0 +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://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. -################################################################################ +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** # Version Strings export JDK8_VERSION="jdk8u"; diff --git a/sbin/common/sbom.sh b/sbin/common/sbom.sh index 24fa0b0602..2d66db93fe 100755 --- a/sbin/common/sbom.sh +++ b/sbin/common/sbom.sh @@ -1,4 +1,17 @@ #!/bin/bash +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # Create a default SBOM json file: sbomJson createSBOMFile() { local javaHome="${1}" diff --git a/sbin/prepareWorkspace.sh b/sbin/prepareWorkspace.sh index 022a0b297b..f235f7eb7a 100644 --- a/sbin/prepareWorkspace.sh +++ b/sbin/prepareWorkspace.sh @@ -1,20 +1,18 @@ #!/bin/bash -# shellcheck disable=SC2155,SC1091,SC2196,SC2235 - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** +# shellcheck disable=SC2155,SC1091,SC2196,SC2235 ################################################################################ # # This script prepares the workspace to build (Adoptium) OpenJDK. diff --git a/sbin/sig_check/freemarker.asc b/sbin/sig_check/freemarker.asc index c15976b69f..6ec51ac1a4 100644 --- a/sbin/sig_check/freemarker.asc +++ b/sbin/sig_check/freemarker.asc @@ -1,3 +1,16 @@ +// ******************************************************************************** +// Copyright (c) 2024 Contributors to the Eclipse Foundation +// +// See the NOTICE file(s) where distributed with this work for additional +// information regarding copyright ownership. +// +// This program and the accompanying materials are made +// available under the terms of the Apache Software License 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: Apache-2.0 +// ******************************************************************************** + -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2.0.20 (MingW32) diff --git a/sbin/sig_check/freetype.asc b/sbin/sig_check/freetype.asc index fd32efcab3..5b155cba8a 100644 --- a/sbin/sig_check/freetype.asc +++ b/sbin/sig_check/freetype.asc @@ -1,3 +1,16 @@ +// ******************************************************************************** +// Copyright (c) 2024 Contributors to the Eclipse Foundation +// +// See the NOTICE file(s) where distributed with this work for additional +// information regarding copyright ownership. +// +// This program and the accompanying materials are made +// available under the terms of the Apache Software License 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: Apache-2.0 +// ******************************************************************************** + -----BEGIN PGP PUBLIC KEY BLOCK----- mQGiBD+Z+pwRBACnK1FszJzA033xBE6MVbjhP1DLFNBLwhw+2hcTLOWvcsdbQh74 diff --git a/security/.gitignore b/security/.gitignore index b9944eb2fa..2d94a19e0d 100644 --- a/security/.gitignore +++ b/security/.gitignore @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + ca-bundle.crt cacerts certs/ diff --git a/security/mk-ca-bundle.pl b/security/mk-ca-bundle.pl index 06f8b54c40..990c7e4023 100755 --- a/security/mk-ca-bundle.pl +++ b/security/mk-ca-bundle.pl @@ -1,4 +1,17 @@ #!/usr/bin/env perl +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # *************************************************************************** # * _ _ ____ _ # * Project ___| | | | _ \| | diff --git a/security/mk-cacerts.sh b/security/mk-cacerts.sh index 5613da2e25..a16eedf5cc 100755 --- a/security/mk-cacerts.sh +++ b/security/mk-cacerts.sh @@ -1,17 +1,17 @@ #!/usr/bin/env bash +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# https://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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. # +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + set -euo pipefail PROGRAM_NAME="${0##*/}" diff --git a/serverTimestamp.properties b/serverTimestamp.properties index 98a69dfb68..f43dee66da 100644 --- a/serverTimestamp.properties +++ b/serverTimestamp.properties @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + comodaca=http://timestamp.comodoca.com/authenticode globalsign=http://timestamp.globalsign.com/scripts/timstamp.dll isectigo=http://timestamp.sectigo.com diff --git a/sign.sh b/sign.sh index bd381c2c59..fa86d321a0 100755 --- a/sign.sh +++ b/sign.sh @@ -1,19 +1,17 @@ #!/bin/bash # shellcheck disable=SC1091 - -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# https://www.apache.org/licenses/LICENSE-2.0 +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://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. -################################################################################ +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** set -eu diff --git a/signalhandler.sh b/signalhandler.sh index bcb04f2e06..bbbcb316bf 100755 --- a/signalhandler.sh +++ b/signalhandler.sh @@ -1,20 +1,16 @@ #!/bin/bash - -################################################################################ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. # -################################################################################ +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** exit_script() { if [[ -z ${KEEP_CONTAINER} ]] ; then diff --git a/test/functional/buildAndPackage/build.xml b/test/functional/buildAndPackage/build.xml index f7d058096c..0deb81be9f 100644 --- a/test/functional/buildAndPackage/build.xml +++ b/test/functional/buildAndPackage/build.xml @@ -1,17 +1,17 @@ - diff --git a/test/functional/buildAndPackage/playlist.xml b/test/functional/buildAndPackage/playlist.xml index e5cf5522b9..39aab54535 100644 --- a/test/functional/buildAndPackage/playlist.xml +++ b/test/functional/buildAndPackage/playlist.xml @@ -1,16 +1,17 @@ diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/BundledFreetypeTest.java b/test/functional/buildAndPackage/src/net/adoptium/test/BundledFreetypeTest.java index a6e1032012..3ecb4fbf7c 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/BundledFreetypeTest.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/BundledFreetypeTest.java @@ -1,15 +1,16 @@ /* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. * - * 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 program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ package net.adoptium.test; diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/CudaEnabledTest.java b/test/functional/buildAndPackage/src/net/adoptium/test/CudaEnabledTest.java index 9f63cf7fed..49bee58639 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/CudaEnabledTest.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/CudaEnabledTest.java @@ -1,3 +1,18 @@ +/* + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** + */ + package net.adoptium.test; import java.io.BufferedReader; diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/FeatureTests.java b/test/functional/buildAndPackage/src/net/adoptium/test/FeatureTests.java index ff8aae312c..baeca9b79b 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/FeatureTests.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/FeatureTests.java @@ -1,15 +1,16 @@ /* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. * - * 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 program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ package net.adoptium.test; diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/JdkPlatform.java b/test/functional/buildAndPackage/src/net/adoptium/test/JdkPlatform.java index de6dbcb2bc..a9c8b5aa25 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/JdkPlatform.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/JdkPlatform.java @@ -1,15 +1,16 @@ /* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. * - * 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 program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ package net.adoptium.test; diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/JdkVersion.java b/test/functional/buildAndPackage/src/net/adoptium/test/JdkVersion.java index 302c72e1e1..deda37fa32 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/JdkVersion.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/JdkVersion.java @@ -1,15 +1,16 @@ /* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. * - * 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 program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ package net.adoptium.test; diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/StreamUtils.java b/test/functional/buildAndPackage/src/net/adoptium/test/StreamUtils.java index 1e05e4eab1..5e3c793523 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/StreamUtils.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/StreamUtils.java @@ -1,15 +1,16 @@ /* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. * - * 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 program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ package net.adoptium.test; diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/VendorPropertiesTest.java b/test/functional/buildAndPackage/src/net/adoptium/test/VendorPropertiesTest.java index 2522215a2c..c7fa9d3432 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/VendorPropertiesTest.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/VendorPropertiesTest.java @@ -1,15 +1,16 @@ /* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. * - * 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 program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ package net.adoptium.test; diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/VerifyCACertsTest.java b/test/functional/buildAndPackage/src/net/adoptium/test/VerifyCACertsTest.java index f64fd14dfb..13edfc1bd3 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/VerifyCACertsTest.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/VerifyCACertsTest.java @@ -1,15 +1,16 @@ /* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. * - * 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 program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ package net.adoptium.test; diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/package-info.java b/test/functional/buildAndPackage/src/net/adoptium/test/package-info.java index 1a0867fd32..4d6d87b735 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/package-info.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/package-info.java @@ -1,15 +1,16 @@ /* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. * - * 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 program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ /** diff --git a/test/functional/buildAndPackage/testng.xml b/test/functional/buildAndPackage/testng.xml index bf53e6c2be..c7e5703349 100644 --- a/test/functional/buildAndPackage/testng.xml +++ b/test/functional/buildAndPackage/testng.xml @@ -1,15 +1,16 @@ diff --git a/test/system/reproducibleCompare/build.xml b/test/system/reproducibleCompare/build.xml index 723c048db0..1e6199d4e3 100644 --- a/test/system/reproducibleCompare/build.xml +++ b/test/system/reproducibleCompare/build.xml @@ -1,17 +1,17 @@ - diff --git a/test/system/reproducibleCompare/linux_repro_build_compare.sh b/test/system/reproducibleCompare/linux_repro_build_compare.sh index f6dca6e9b7..1e310ef6a5 100755 --- a/test/system/reproducibleCompare/linux_repro_build_compare.sh +++ b/test/system/reproducibleCompare/linux_repro_build_compare.sh @@ -1,16 +1,16 @@ #!/bin/sh -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** # This script examines the given SBOM metadata file, and then builds the exact same binary # and then compares with the Temurin JDK for the same build version, or the optionally supplied TARBALL_URL. diff --git a/test/system/reproducibleCompare/playlist.xml b/test/system/reproducibleCompare/playlist.xml index ba97ae52e3..159c25398a 100644 --- a/test/system/reproducibleCompare/playlist.xml +++ b/test/system/reproducibleCompare/playlist.xml @@ -1,16 +1,17 @@ diff --git a/tooling/build_autotriage/autotriage_regexes.sh b/tooling/build_autotriage/autotriage_regexes.sh index 2cdd8cf89c..aed190700c 100644 --- a/tooling/build_autotriage/autotriage_regexes.sh +++ b/tooling/build_autotriage/autotriage_regexes.sh @@ -1,18 +1,16 @@ #!/bin/bash -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** ################################################################################ # # This script produces arrays of regular expressions that match a type of failure diff --git a/tooling/build_autotriage/build_autotriage.sh b/tooling/build_autotriage/build_autotriage.sh index 93edf08b42..28be1d9b0a 100644 --- a/tooling/build_autotriage/build_autotriage.sh +++ b/tooling/build_autotriage/build_autotriage.sh @@ -1,18 +1,17 @@ #!/bin/bash # shellcheck disable=SC1091 -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** ################################################################################ # diff --git a/tooling/common_logging.sh b/tooling/common_logging.sh index 493505e4f6..ecd3907748 100755 --- a/tooling/common_logging.sh +++ b/tooling/common_logging.sh @@ -1,4 +1,17 @@ #!/bin/sh +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # # Utility functions for logging. # diff --git a/tooling/release_download_test.sh b/tooling/release_download_test.sh index 16f17fc007..d6380288c0 100755 --- a/tooling/release_download_test.sh +++ b/tooling/release_download_test.sh @@ -1,4 +1,17 @@ #!/bin/bash +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + # # Adoptium download and SBOM validation utility # Takes a tagged build as a parameter and downloads it from the diff --git a/tooling/reproducible/comparable_patch.sh b/tooling/reproducible/comparable_patch.sh index b6b8b8312a..8e1ca2786b 100755 --- a/tooling/reproducible/comparable_patch.sh +++ b/tooling/reproducible/comparable_patch.sh @@ -1,17 +1,17 @@ #!/bin/bash # shellcheck disable=SC1091 -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** source repro_common.sh diff --git a/tooling/reproducible/linux_repro_build_compare.sh b/tooling/reproducible/linux_repro_build_compare.sh index 17c1b9bcb4..516935e69d 100755 --- a/tooling/reproducible/linux_repro_build_compare.sh +++ b/tooling/reproducible/linux_repro_build_compare.sh @@ -1,16 +1,16 @@ #!/bin/sh -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** # This script examines the given SBOM metadata file, and then builds the exact same binary # and then compares with the Temurin JDK for the same build version, or the optionally supplied TARBALL_URL. diff --git a/tooling/reproducible/repro_common.sh b/tooling/reproducible/repro_common.sh index 7a792b1b3b..4549226035 100755 --- a/tooling/reproducible/repro_common.sh +++ b/tooling/reproducible/repro_common.sh @@ -1,17 +1,17 @@ #!/bin/bash # shellcheck disable=SC2086 -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** # Expand JDK jmods & zips to process binaries within function expandJDK() { diff --git a/tooling/reproducible/repro_compare.sh b/tooling/reproducible/repro_compare.sh index 42484ca05e..320618c247 100755 --- a/tooling/reproducible/repro_compare.sh +++ b/tooling/reproducible/repro_compare.sh @@ -1,18 +1,18 @@ #!/bin/bash -# shellcheck disable=SC1091 -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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. -################################################################################ -source repro_common.sh +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + +# shellcheck disable=SC1091source repro_common.sh BLD_TYPE1="$1" JDK_DIR1="$2" diff --git a/tooling/reproducible/repro_process.sh b/tooling/reproducible/repro_process.sh index 7638da631e..7658b25a82 100755 --- a/tooling/reproducible/repro_process.sh +++ b/tooling/reproducible/repro_process.sh @@ -1,18 +1,18 @@ #!/bin/bash -# shellcheck disable=SC1091 -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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. -################################################################################ -source repro_common.sh +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + +# shellcheck disable=SC1091source repro_common.sh JDK_DIR="$1" OS="$2" diff --git a/tooling/reproducible/windows_build_as_temurin.sh b/tooling/reproducible/windows_build_as_temurin.sh index 20cb0539e9..fd8f0036c1 100755 --- a/tooling/reproducible/windows_build_as_temurin.sh +++ b/tooling/reproducible/windows_build_as_temurin.sh @@ -1,16 +1,16 @@ #!/bin/bash -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** set -e diff --git a/tooling/reproducible/windows_repro_build_compare.sh b/tooling/reproducible/windows_repro_build_compare.sh index c24bbe992a..eada1575f4 100644 --- a/tooling/reproducible/windows_repro_build_compare.sh +++ b/tooling/reproducible/windows_repro_build_compare.sh @@ -1,16 +1,16 @@ #!/bin/bash -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** # This script examines the given SBOM metadata file, and then builds the exact same binary # and then compares with the Temurin JDK for the same build version, or the optionally supplied TARBALL_URL. diff --git a/tooling/src/c/WindowsUpdateVsVersionInfo.c b/tooling/src/c/WindowsUpdateVsVersionInfo.c index e3f6aec2ce..b854726bf0 100644 --- a/tooling/src/c/WindowsUpdateVsVersionInfo.c +++ b/tooling/src/c/WindowsUpdateVsVersionInfo.c @@ -1,17 +1,18 @@ -/** -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://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. -################################################################################ -*/ +/* + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** + */ + // clang-format off /* jscpd:ignore-start */ diff --git a/tooling/src/java/temurin/tools/BinRepl.java b/tooling/src/java/temurin/tools/BinRepl.java index a593c4e8fb..b42605d8c8 100644 --- a/tooling/src/java/temurin/tools/BinRepl.java +++ b/tooling/src/java/temurin/tools/BinRepl.java @@ -1,15 +1,18 @@ -/** - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * https://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. +/* + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** */ + package temurin.tools; import java.io.FileOutputStream; diff --git a/tooling/src/java/temurin/tools/package-info.java b/tooling/src/java/temurin/tools/package-info.java index 3e22d3f4a0..9ddad4cc99 100644 --- a/tooling/src/java/temurin/tools/package-info.java +++ b/tooling/src/java/temurin/tools/package-info.java @@ -1,18 +1,18 @@ /* -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://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. -################################################################################ -*/ + * ******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) where distributed with this work for additional + * information regarding copyright ownership. + * + * This program and the accompanying materials are made + * available under the terms of the Apache Software License 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: Apache-2.0 + * ******************************************************************************** + */ + /** * temurin.tools package. */ diff --git a/tooling/strace_analysis.sh b/tooling/strace_analysis.sh index c0fc16cdda..39440d8a12 100755 --- a/tooling/strace_analysis.sh +++ b/tooling/strace_analysis.sh @@ -1,18 +1,17 @@ #!/bin/bash # shellcheck disable=SC1091 -################################################################################ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. # -# 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 program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** ################################################################################ # diff --git a/tooling/validateSBOMcontent.sh b/tooling/validateSBOMcontent.sh index a48b4fa6a5..b9621e5c3c 100755 --- a/tooling/validateSBOMcontent.sh +++ b/tooling/validateSBOMcontent.sh @@ -1,4 +1,17 @@ #!/bin/sh +# ******************************************************************************** +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) where distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made +# available under the terms of the Apache Software License 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************** + [ "$VERBOSE" = "true" ] && set -x if [ $# -lt 3 ]; then echo "Usage: $0 file.json majorversion fullversion"