Fixed copyright to OpenSearch (#1175)
This commit is contained in:
parent
91d9922f3b
commit
a43e6cf424
|
@ -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).
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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")) {
|
||||
|
|
|
@ -105,7 +105,7 @@ public class InternalDistributionArchiveCheckPlugin implements Plugin<Project> {
|
|||
public void execute(Task task) {
|
||||
final List<String> noticeLines = Arrays.asList(
|
||||
"OpenSearch (https://opensearch.org/)",
|
||||
"Copyright 2021 OpenSearch Contributors"
|
||||
"Copyright OpenSearch Contributors"
|
||||
);
|
||||
final Path noticePath = checkExtraction.get()
|
||||
.getDestinationDir()
|
||||
|
|
|
@ -500,7 +500,7 @@ subprojects {
|
|||
(project.name.contains('deb') && dpkgExists.call(it)) || (project.name.contains('rpm') && rpmExists.call(it))
|
||||
}
|
||||
doLast {
|
||||
final List<String> noticeLines = Arrays.asList("OpenSearch (https://opensearch.org/)", "Copyright 2021 OpenSearch Contributors")
|
||||
final List<String> noticeLines = Arrays.asList("OpenSearch (https://opensearch.org/)", "Copyright OpenSearch Contributors")
|
||||
final Path noticePath = packageExtractionDir.toPath().resolve("usr/share/opensearch/NOTICE.txt")
|
||||
assertLinesInFile(noticePath, noticeLines)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue