From 646a79f2668378151985bc9517392ad955555ea6 Mon Sep 17 00:00:00 2001 From: George Adams Date: Tue, 2 Apr 2024 15:31:02 +0100 Subject: [PATCH] add license checker GH action (#3721) * add license checker GH action * test * update dates to be correct * review fixes --------- Co-authored-by: Martijn Verburg --- .azure-devops/build/build.yml | 13 +++++ .azure-devops/build/steps/macOS/before.yml | 13 +++++ .../build/steps/macOS/build_hotspot.yml | 13 +++++ .azure-devops/build/steps/shared/after.yml | 13 +++++ .azure-devops/build/steps/shared/before.yml | 13 +++++ .../steps/shared/set_boot_jdk_version.yml | 13 +++++ .azure-devops/build/steps/windows/before.yml | 13 +++++ .../build/steps/windows/build_hotspot.yml | 13 +++++ .azure-devops/openjdk-pipelines.yml | 13 +++++ .azure-devops/test/jobs/steps/parallel.yml | 13 +++++ .azure-devops/test/jobs/steps/test.yml | 13 +++++ .azure-devops/test/jobs/template.yml | 12 +++++ .azure-devops/test/sanity.yml | 12 +++++ .github/dependabot.yml | 13 +++++ .github/labeler.yml | 13 +++++ .github/linters/suppressed-java.xml | 15 ++++++ .github/regex_labeler.yml | 13 +++++ .github/workflows/build-autotriage.yml | 13 +++++ .github/workflows/build.yml | 13 +++++ .github/workflows/ca-cert-updater.yml | 13 +++++ .github/workflows/code-freeze.yml | 13 +++++ .github/workflows/comment-bot.yml | 13 +++++ .github/workflows/dependabot-auto-merge.yml | 13 +++++ .github/workflows/labeler.yml | 13 +++++ .github/workflows/license-checker.yml | 33 +++++++++++++ .github/workflows/linter.yml | 13 +++++ .github/workflows/ossf-scorecard.yml | 13 +++++ .github/workflows/signsbom.yml | 13 +++++ .github/workflows/testsbom.yml | 13 +++++ .licenserc.yaml | 49 +++++++++++++++++++ build-farm/make-adopt-build-farm.sh | 22 ++++----- .../platform-specific-configurations/aix.sh | 22 ++++----- .../alpine-linux.sh | 22 ++++----- .../freebsd.sh | 22 ++++----- .../platform-specific-configurations/linux.sh | 22 ++++----- .../platform-specific-configurations/mac.sh | 22 ++++----- .../solaris.sh | 22 ++++----- .../windows.sh | 22 ++++----- .../set-platform-specific-configurations.sh | 22 ++++----- build-farm/sign-releases.sh | 22 ++++----- build-farm/signSBOM.sh | 22 ++++----- configureBuild.sh | 21 ++++---- cyclonedx-lib/build.xml | 24 ++++----- cyclonedx-lib/sign_src/TemurinSignSBOM.java | 27 +++++----- cyclonedx-lib/sign_src/package-info.java | 28 +++++------ .../src/temurin/sbom/TemurinGenSBOM.java | 29 +++++------ .../src/temurin/sbom/package-info.java | 28 +++++------ docker-build.sh | 22 ++++----- docker/buildDocker.sh | 13 +++++ docker/dockerfile-generator.sh | 31 ++++++++---- entitlements.plist | 15 ++++++ makejdk-any-platform.sh | 22 ++++----- native-build.sh | 22 ++++----- sbin/build.sh | 22 ++++----- sbin/build.template | 22 ++++----- sbin/common/common.sh | 24 +++++---- sbin/common/config_init.sh | 25 +++++----- sbin/common/constants.sh | 22 ++++----- sbin/common/sbom.sh | 13 +++++ sbin/prepareWorkspace.sh | 22 ++++----- security/mk-cacerts.sh | 20 ++++---- serverTimestamp.properties | 13 +++++ sign.sh | 22 ++++----- signalhandler.sh | 22 ++++----- test/functional/buildAndPackage/build.xml | 24 ++++----- test/functional/buildAndPackage/playlist.xml | 23 ++++----- .../adoptium/test/BundledFreetypeTest.java | 19 +++---- .../net/adoptium/test/CudaEnabledTest.java | 15 ++++++ .../src/net/adoptium/test/FeatureTests.java | 19 +++---- .../src/net/adoptium/test/JdkPlatform.java | 19 +++---- .../src/net/adoptium/test/JdkVersion.java | 19 +++---- .../src/net/adoptium/test/StreamUtils.java | 19 +++---- .../adoptium/test/VendorPropertiesTest.java | 19 +++---- .../net/adoptium/test/VerifyCACertsTest.java | 19 +++---- .../src/net/adoptium/test/package-info.java | 19 +++---- test/functional/buildAndPackage/testng.xml | 23 ++++----- test/system/reproducibleCompare/build.xml | 24 ++++----- .../linux_repro_build_compare.sh | 20 ++++---- test/system/reproducibleCompare/playlist.xml | 23 ++++----- .../build_autotriage/autotriage_regexes.sh | 21 ++++---- tooling/build_autotriage/build_autotriage.sh | 21 ++++---- tooling/common_logging.sh | 13 +++++ tooling/release_download_test.sh | 13 +++++ tooling/reproducible/comparable_patch.sh | 20 ++++---- .../reproducible/linux_repro_build_compare.sh | 20 ++++---- tooling/reproducible/repro_common.sh | 20 ++++---- tooling/reproducible/repro_compare.sh | 23 ++++----- tooling/reproducible/repro_process.sh | 23 ++++----- .../reproducible/windows_build_as_temurin.sh | 20 ++++---- .../windows_repro_build_compare.sh | 20 ++++---- tooling/src/c/WindowsUpdateVsVersionInfo.c | 29 +++++------ tooling/src/java/temurin/tools/BinRepl.java | 25 +++++----- .../src/java/temurin/tools/package-info.java | 28 +++++------ tooling/strace_analysis.sh | 21 ++++---- tooling/validateSBOMcontent.sh | 13 +++++ 95 files changed, 1181 insertions(+), 650 deletions(-) create mode 100644 .github/workflows/license-checker.yml create mode 100644 .licenserc.yaml diff --git a/.azure-devops/build/build.yml b/.azure-devops/build/build.yml index 355af7677..5374ceb4d 100644 --- a/.azure-devops/build/build.yml +++ b/.azure-devops/build/build.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 87aca91ef..cc0de7f64 100644 --- a/.azure-devops/build/steps/macOS/before.yml +++ b/.azure-devops/build/steps/macOS/before.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 1cb8121d1..c1735863c 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) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 90e4e384a..b0aa46c5f 100644 --- a/.azure-devops/build/steps/shared/after.yml +++ b/.azure-devops/build/steps/shared/after.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 2de0e8381..73241bcff 100644 --- a/.azure-devops/build/steps/shared/before.yml +++ b/.azure-devops/build/steps/shared/before.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 f4723e489..612bb95cf 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) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 fcbf444d3..ce3f16219 100644 --- a/.azure-devops/build/steps/windows/before.yml +++ b/.azure-devops/build/steps/windows/before.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 3883bd02b..fd0f7d7eb 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) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 14150e93d..206fe6e2f 100644 --- a/.azure-devops/openjdk-pipelines.yml +++ b/.azure-devops/openjdk-pipelines.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 b87e9f68f..334ab0c8d 100644 --- a/.azure-devops/test/jobs/steps/parallel.yml +++ b/.azure-devops/test/jobs/steps/parallel.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 b05e15bd8..bf88d1a49 100644 --- a/.azure-devops/test/jobs/steps/test.yml +++ b/.azure-devops/test/jobs/steps/test.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 868afbb6b..39af0fe42 100644 --- a/.azure-devops/test/jobs/template.yml +++ b/.azure-devops/test/jobs/template.yml @@ -1,3 +1,15 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 e2fdaf821..482070888 100644 --- a/.azure-devops/test/sanity.yml +++ b/.azure-devops/test/sanity.yml @@ -1,3 +1,15 @@ +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 afb98ae0c..5a484359b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2022 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 a6f5d1366..96b584d63 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2021 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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/suppressed-java.xml b/.github/linters/suppressed-java.xml index 2a82c313e..b9c1a256e 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 d1047f66c..95c5a7a84 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) 2018 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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 96ff9ec5c..09c505960 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 848f25d00..afe584d10 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) 2023 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) 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 1ceedc3ab..accdbdfee 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) 2023 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) 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 749c09149..36a60cc0a 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) 2021 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) 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 1ceedc3ab..fcf46c6f5 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) 2021 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) 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 df8975732..a6bbb80e0 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) 2018 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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/buildDocker.sh b/docker/buildDocker.sh index 61ce2bba3..5740d931c 100755 --- a/docker/buildDocker.sh +++ b/docker/buildDocker.sh @@ -1,4 +1,17 @@ #!/bin/bash +# ******************************************************************************** +# Copyright (c) 2019 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 baf907c83..4865df20a 100755 --- a/docker/dockerfile-generator.sh +++ b/docker/dockerfile-generator.sh @@ -1,5 +1,17 @@ #!/bin/bash # shellcheck disable=SC2129 +# ******************************************************************************** +# Copyright (c) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 -eu @@ -141,17 +153,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) 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 d84f4d9a1..cb06ea80d 100644 --- a/entitlements.plist +++ b/entitlements.plist @@ -1,4 +1,19 @@ + + diff --git a/makejdk-any-platform.sh b/makejdk-any-platform.sh index fc7e49cb2..07b4180fb 100755 --- a/makejdk-any-platform.sh +++ b/makejdk-any-platform.sh @@ -1,21 +1,17 @@ #!/bin/bash # shellcheck disable=SC1091 - -################################################################################ +# ******************************************************************************** +# Copyright (c) 2017 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) 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 +# ******************************************************************************** ################################################################################ # diff --git a/native-build.sh b/native-build.sh index 30c46bf4c..da9b8ce09 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) 2018 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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 928e6d30e..9b9fec12e 100755 --- a/sbin/build.sh +++ b/sbin/build.sh @@ -1,19 +1,17 @@ #!/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) 2017 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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.template b/sbin/build.template index 053787af3..6e327f863 100644 --- a/sbin/build.template +++ b/sbin/build.template @@ -1,19 +1,17 @@ #!/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 +# ******************************************************************************** +# Copyright (c) 2017 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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/common/common.sh b/sbin/common/common.sh index 261e4d08b..a2eac67a9 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) 2018 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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 64cdd23d5..26dba69e0 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) 2018 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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 c02cfb431..7e3c5467b 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) 2018 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 24fa0b060..945389b68 100755 --- a/sbin/common/sbom.sh +++ b/sbin/common/sbom.sh @@ -1,4 +1,17 @@ #!/bin/bash +# ******************************************************************************** +# Copyright (c) 2022 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 7eb462e53..edc3a4e5f 100644 --- a/sbin/prepareWorkspace.sh +++ b/sbin/prepareWorkspace.sh @@ -1,19 +1,17 @@ #!/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) 2018 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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/security/mk-cacerts.sh b/security/mk-cacerts.sh index 5613da2e2..102b1934a 100755 --- a/security/mk-cacerts.sh +++ b/security/mk-cacerts.sh @@ -1,17 +1,17 @@ #!/usr/bin/env bash +# ******************************************************************************** +# Copyright (c) 2020 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) 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 98a69dfb6..7f96aadb1 100644 --- a/serverTimestamp.properties +++ b/serverTimestamp.properties @@ -1,3 +1,16 @@ +# ******************************************************************************** +# Copyright (c) 2021 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 bd381c2c5..f8d4fb5d4 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) 2018 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 bcb04f2e0..ba5beaff0 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) 2018 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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 f4f6b6839..ae9148a1c 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 e5cf5522b..faf93bfbf 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 a6e103201..7f751a597 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) 2021 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) 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 9f63cf7fe..09fd88e9f 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) 2021 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) 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 ff8aae312..6c22f83e6 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) 2021 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) 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 de6dbcb2b..affe99aaf 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) 2021 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) 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 302c72e1e..8121c8b0e 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) 2021 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) 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 1e05e4eab..dde411e71 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) 2021 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) 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 2522215a2..47e24d832 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) 2021 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) 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 f64fd14df..10ec670f4 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) 2021 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) 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 1a0867fd3..73d67afd3 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) 2021 Contributors to the Eclipse Foundation * - * https://www.apache.org/licenses/LICENSE-2.0 + * See the NOTICE file(s) 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 bf53e6c2b..8ee6cda4b 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 723c048db..e7fed903a 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 f6dca6e9b..d584677af 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) 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 ba97ae52e..0f39dbf7d 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 2cdd8cf89..34554853b 100644 --- a/tooling/build_autotriage/autotriage_regexes.sh +++ b/tooling/build_autotriage/autotriage_regexes.sh @@ -1,17 +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) 2023 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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/build_autotriage/build_autotriage.sh b/tooling/build_autotriage/build_autotriage.sh index 93edf08b4..67d88aa55 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) 2023 Contributors to the Eclipse Foundation # -# https://www.apache.org/licenses/LICENSE-2.0 +# See the NOTICE file(s) 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 493505e4f..81f18a508 100755 --- a/tooling/common_logging.sh +++ b/tooling/common_logging.sh @@ -1,4 +1,17 @@ #!/bin/sh +# ******************************************************************************** +# Copyright (c) 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 16f17fc00..12186a882 100755 --- a/tooling/release_download_test.sh +++ b/tooling/release_download_test.sh @@ -1,4 +1,17 @@ #!/bin/bash +# ******************************************************************************** +# Copyright (c) 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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 46bf430a7..f8ee55a9b 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) 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 17c1b9bcb..22990dce3 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) 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 7a792b1b3..c83f03617 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) 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 42484ca05..2b82f3d2b 100755 --- a/tooling/reproducible/repro_compare.sh +++ b/tooling/reproducible/repro_compare.sh @@ -1,17 +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 +# +# See the NOTICE file(s) 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 +# ******************************************************************************** + +# shellcheck disable=SC1091 source repro_common.sh BLD_TYPE1="$1" diff --git a/tooling/reproducible/repro_process.sh b/tooling/reproducible/repro_process.sh index 7638da631..c83219641 100755 --- a/tooling/reproducible/repro_process.sh +++ b/tooling/reproducible/repro_process.sh @@ -1,17 +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 +# +# See the NOTICE file(s) 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 +# ******************************************************************************** + +# shellcheck disable=SC1091 source repro_common.sh JDK_DIR="$1" diff --git a/tooling/reproducible/windows_build_as_temurin.sh b/tooling/reproducible/windows_build_as_temurin.sh index 20cb0539e..a86434c5a 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) 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 e2ac47157..41ecc2c92 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) 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 e3f6aec2c..f9ae2e106 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) 2023 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) 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 a593c4e8f..e87acc8e2 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) 2023 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) 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 3e22d3f4a..ce853a14e 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) 2023 Contributors to the Eclipse Foundation + * + * See the NOTICE file(s) 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 c0fc16cdd..6388c8efa 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) 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 a48b4fa6a..9c3b6a874 100755 --- a/tooling/validateSBOMcontent.sh +++ b/tooling/validateSBOMcontent.sh @@ -1,4 +1,17 @@ #!/bin/sh +# ******************************************************************************** +# Copyright (c) 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) 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"