diff --git a/NOTICE.txt b/NOTICE.txt index 82463e622f2..6c7dc983f8c 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ OpenSearch (https://opensearch.org/) -Copyright 2021 OpenSearch Contributors +Copyright OpenSearch Contributors This product includes software developed by Elasticsearch (http://www.elastic.co). diff --git a/README.md b/README.md index c4c60360b91..6274d25c0f7 100644 --- a/README.md +++ b/README.md @@ -34,4 +34,4 @@ This project is licensed under the [Apache v2.0 License](LICENSE.txt). ## Copyright -Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright OpenSearch Contributors. See [NOTICE](NOTICE.txt) for details. diff --git a/buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy b/buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy index f21e34087b1..2230b367e6c 100644 --- a/buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy +++ b/buildSrc/src/integTest/groovy/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy @@ -108,7 +108,7 @@ Copyright 2009-2018 Acme Coorp""" result.task(":darwin-tar:checkNotice").outcome == TaskOutcome.FAILED normalizedOutput(result.output).contains("> expected line [2] in " + "[./darwin-tar/build/tar-extracted/opensearch-${VersionProperties.getOpenSearch()}/NOTICE.txt] " + - "to be [Copyright 2021 OpenSearch Contributors] but was [Copyright 2009-2018 Acme Coorp]") + "to be [Copyright OpenSearch Contributors] but was [Copyright 2009-2018 Acme Coorp]") } void license(File file = file("licenses/APACHE-LICENSE-2.0.txt")) { diff --git a/buildSrc/src/main/java/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java b/buildSrc/src/main/java/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java index 7e3087a30dd..2a162e5f12d 100644 --- a/buildSrc/src/main/java/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java +++ b/buildSrc/src/main/java/org/opensearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java @@ -105,7 +105,7 @@ public class InternalDistributionArchiveCheckPlugin implements Plugin { public void execute(Task task) { final List noticeLines = Arrays.asList( "OpenSearch (https://opensearch.org/)", - "Copyright 2021 OpenSearch Contributors" + "Copyright OpenSearch Contributors" ); final Path noticePath = checkExtraction.get() .getDestinationDir() diff --git a/distribution/packages/build.gradle b/distribution/packages/build.gradle index 2891cd634d0..5b6b41db3ce 100644 --- a/distribution/packages/build.gradle +++ b/distribution/packages/build.gradle @@ -500,7 +500,7 @@ subprojects { (project.name.contains('deb') && dpkgExists.call(it)) || (project.name.contains('rpm') && rpmExists.call(it)) } doLast { - final List noticeLines = Arrays.asList("OpenSearch (https://opensearch.org/)", "Copyright 2021 OpenSearch Contributors") + final List noticeLines = Arrays.asList("OpenSearch (https://opensearch.org/)", "Copyright OpenSearch Contributors") final Path noticePath = packageExtractionDir.toPath().resolve("usr/share/opensearch/NOTICE.txt") assertLinesInFile(noticePath, noticeLines) }