From a46953c90b6ae9e8556d633a464de15ef6475304 Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Mon, 9 Dec 2024 17:27:30 -0500 Subject: [PATCH] Update to Brave 6 / Zipkin 3 (#64) Signed-off-by: Andriy Redko --- .github/CONTRIBUTING.md | 15 ++------ .settings.xml | 13 +------ build-bin/git/login_git | 13 +------ build-bin/git/version_from_trigger_tag | 13 +------ build-bin/gpg/configure_gpg | 13 +------ build-bin/maven/maven_deploy | 13 +------ build-bin/maven/maven_go_offline | 13 +------ build-bin/maven/maven_opts | 13 +------ build-bin/maven/maven_release | 13 +------ exporter-sender-kafka/pom.xml | 15 ++------ .../sender/kafka/KafkaSenderExporter.java | 21 +++-------- .../sender/kafka/KafkaSenderExporterTest.java | 15 ++------ exporter-sender-okhttp/pom.xml | 15 ++------ .../sender/okhttp/SenderOkHttpExporter.java | 19 +++------- exporter/pom.xml | 15 ++------ .../AsyncZipkinSpanHandlerExporter.java | 19 +++------- .../brave/exporter/HttpTracingExporter.java | 13 +------ .../exporter/MessagingTracingExporter.java | 13 +------ .../brave/exporter/RpcTracingExporter.java | 13 +------ .../brave/exporter/TracingExporter.java | 13 +------ .../URLConnectionSenderExporter.java | 20 +++------- features/pom.xml | 15 ++------ features/src/main/resources/features.xml | 13 +------ itests/pom.xml | 17 ++------- .../java/io/zipkin/brave/itests/ITBrave.java | 28 +++++--------- itests/src/test/resources/exam.properties | 13 +------ itests/src/test/resources/logback.xml | 13 +------ pom.xml | 37 +++++++++++-------- src/etc/header.txt | 13 +------ 29 files changed, 107 insertions(+), 352 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index db00d03..e535842 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -17,17 +17,8 @@ If you are adding a new file it should have a header like below. This can be automatically added by running `./mvnw com.mycila:license-maven-plugin:format`. ``` -/** - * Copyright 2019 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. +/* + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ ``` diff --git a/.settings.xml b/.settings.xml index 93f3548..ab04d7f 100644 --- a/.settings.xml +++ b/.settings.xml @@ -1,17 +1,8 @@ io.zipkin.brave.karaf brave-karaf-parent - 0.2.7-SNAPSHOT + 0.3.0-SNAPSHOT 4.0.0 diff --git a/exporter-sender-kafka/src/main/java/io/zipkin/brave/exporter/sender/kafka/KafkaSenderExporter.java b/exporter-sender-kafka/src/main/java/io/zipkin/brave/exporter/sender/kafka/KafkaSenderExporter.java index 7b4e300..dff129c 100644 --- a/exporter-sender-kafka/src/main/java/io/zipkin/brave/exporter/sender/kafka/KafkaSenderExporter.java +++ b/exporter-sender-kafka/src/main/java/io/zipkin/brave/exporter/sender/kafka/KafkaSenderExporter.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter.sender.kafka; @@ -24,8 +15,8 @@ import org.osgi.service.component.annotations.Deactivate; import org.osgi.service.metatype.annotations.Designate; import org.osgi.service.metatype.annotations.ObjectClassDefinition; -import zipkin2.codec.Encoding; -import zipkin2.reporter.Sender; +import zipkin2.reporter.Encoding; +import zipkin2.reporter.BytesMessageSender; import zipkin2.reporter.kafka.KafkaSender; @Component( @@ -37,7 +28,7 @@ public class KafkaSenderExporter { private static final String OVERRIDE_PREFIX = "kafka."; - private ServiceRegistration reg; + private ServiceRegistration reg; private KafkaSender sender; @Activate @@ -49,7 +40,7 @@ public void activate(Config config, BundleContext context, Map p .overrides(getOverrides(properties)) .topic(config.topic()) .build(); - reg = context.registerService(Sender.class, sender, new Hashtable(properties)); + reg = context.registerService(BytesMessageSender.class, sender, new Hashtable(properties)); } private HashMap getOverrides(Map properties) { diff --git a/exporter-sender-kafka/src/test/java/io/zipkin/brave/exporter/sender/kafka/KafkaSenderExporterTest.java b/exporter-sender-kafka/src/test/java/io/zipkin/brave/exporter/sender/kafka/KafkaSenderExporterTest.java index 92b495d..e6f74b0 100644 --- a/exporter-sender-kafka/src/test/java/io/zipkin/brave/exporter/sender/kafka/KafkaSenderExporterTest.java +++ b/exporter-sender-kafka/src/test/java/io/zipkin/brave/exporter/sender/kafka/KafkaSenderExporterTest.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter.sender.kafka; @@ -18,7 +9,7 @@ import java.util.Map; import org.junit.Test; import org.osgi.framework.BundleContext; -import zipkin2.codec.Encoding; +import zipkin2.reporter.Encoding; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; diff --git a/exporter-sender-okhttp/pom.xml b/exporter-sender-okhttp/pom.xml index 43514d9..cff9612 100644 --- a/exporter-sender-okhttp/pom.xml +++ b/exporter-sender-okhttp/pom.xml @@ -1,24 +1,15 @@ io.zipkin.brave.karaf brave-karaf-parent - 0.2.7-SNAPSHOT + 0.3.0-SNAPSHOT 4.0.0 diff --git a/exporter-sender-okhttp/src/main/java/io/zipkin/brave/exporter/sender/okhttp/SenderOkHttpExporter.java b/exporter-sender-okhttp/src/main/java/io/zipkin/brave/exporter/sender/okhttp/SenderOkHttpExporter.java index b906cf4..ed41c31 100644 --- a/exporter-sender-okhttp/src/main/java/io/zipkin/brave/exporter/sender/okhttp/SenderOkHttpExporter.java +++ b/exporter-sender-okhttp/src/main/java/io/zipkin/brave/exporter/sender/okhttp/SenderOkHttpExporter.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter.sender.okhttp; @@ -23,7 +14,7 @@ import org.osgi.service.component.annotations.Deactivate; import org.osgi.service.metatype.annotations.Designate; import org.osgi.service.metatype.annotations.ObjectClassDefinition; -import zipkin2.reporter.Sender; +import zipkin2.reporter.BytesMessageSender; import zipkin2.reporter.okhttp3.OkHttpSender; @Component( @@ -34,7 +25,7 @@ @Designate(ocd = SenderOkHttpExporter.Config.class) public class SenderOkHttpExporter { - private ServiceRegistration reg; + private ServiceRegistration reg; private OkHttpSender sender; @ObjectClassDefinition(name = "Zipkin Sender OkHttp") @interface Config { @@ -52,7 +43,7 @@ public void activate(Config config, BundleContext context, Map p .compressionEnabled(config.compressionEnabled()) .messageMaxBytes(config.messageMaxBytes()) .build(); - reg = context.registerService(Sender.class, sender, new Hashtable<>(properties)); + reg = context.registerService(BytesMessageSender.class, sender, new Hashtable<>(properties)); } @Deactivate diff --git a/exporter/pom.xml b/exporter/pom.xml index fcd34ee..6fc4c14 100644 --- a/exporter/pom.xml +++ b/exporter/pom.xml @@ -1,24 +1,15 @@ io.zipkin.brave.karaf brave-karaf-parent - 0.2.7-SNAPSHOT + 0.3.0-SNAPSHOT 4.0.0 diff --git a/exporter/src/main/java/io/zipkin/brave/exporter/AsyncZipkinSpanHandlerExporter.java b/exporter/src/main/java/io/zipkin/brave/exporter/AsyncZipkinSpanHandlerExporter.java index 931b2e8..607a979 100644 --- a/exporter/src/main/java/io/zipkin/brave/exporter/AsyncZipkinSpanHandlerExporter.java +++ b/exporter/src/main/java/io/zipkin/brave/exporter/AsyncZipkinSpanHandlerExporter.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter; @@ -22,7 +13,8 @@ import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.Deactivate; import org.osgi.service.component.annotations.Reference; -import zipkin2.reporter.Sender; + +import zipkin2.reporter.BytesMessageSender; import zipkin2.reporter.brave.AsyncZipkinSpanHandler; @Component( @@ -30,10 +22,9 @@ name = "io.zipkin.brave.asynczipkinspanhandler" ) public class AsyncZipkinSpanHandlerExporter { - @Reference Sender sender; + @Reference BytesMessageSender sender; private AsyncZipkinSpanHandler zipkinSpanHandler; - @SuppressWarnings("rawtypes") private ServiceRegistration reg; @Activate public void activate(BundleContext context, Map properties) { diff --git a/exporter/src/main/java/io/zipkin/brave/exporter/HttpTracingExporter.java b/exporter/src/main/java/io/zipkin/brave/exporter/HttpTracingExporter.java index c4db443..372ec5d 100644 --- a/exporter/src/main/java/io/zipkin/brave/exporter/HttpTracingExporter.java +++ b/exporter/src/main/java/io/zipkin/brave/exporter/HttpTracingExporter.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter; diff --git a/exporter/src/main/java/io/zipkin/brave/exporter/MessagingTracingExporter.java b/exporter/src/main/java/io/zipkin/brave/exporter/MessagingTracingExporter.java index 58082c3..a925a1e 100644 --- a/exporter/src/main/java/io/zipkin/brave/exporter/MessagingTracingExporter.java +++ b/exporter/src/main/java/io/zipkin/brave/exporter/MessagingTracingExporter.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter; diff --git a/exporter/src/main/java/io/zipkin/brave/exporter/RpcTracingExporter.java b/exporter/src/main/java/io/zipkin/brave/exporter/RpcTracingExporter.java index 1ba7122..f3a4673 100644 --- a/exporter/src/main/java/io/zipkin/brave/exporter/RpcTracingExporter.java +++ b/exporter/src/main/java/io/zipkin/brave/exporter/RpcTracingExporter.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter; diff --git a/exporter/src/main/java/io/zipkin/brave/exporter/TracingExporter.java b/exporter/src/main/java/io/zipkin/brave/exporter/TracingExporter.java index 8ec74ce..5b21502 100644 --- a/exporter/src/main/java/io/zipkin/brave/exporter/TracingExporter.java +++ b/exporter/src/main/java/io/zipkin/brave/exporter/TracingExporter.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter; diff --git a/exporter/src/main/java/io/zipkin/brave/exporter/sender/urlconnection/URLConnectionSenderExporter.java b/exporter/src/main/java/io/zipkin/brave/exporter/sender/urlconnection/URLConnectionSenderExporter.java index 4ed5370..4c9cff9 100644 --- a/exporter/src/main/java/io/zipkin/brave/exporter/sender/urlconnection/URLConnectionSenderExporter.java +++ b/exporter/src/main/java/io/zipkin/brave/exporter/sender/urlconnection/URLConnectionSenderExporter.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.exporter.sender.urlconnection; @@ -23,7 +14,8 @@ import org.osgi.service.component.annotations.Deactivate; import org.osgi.service.metatype.annotations.Designate; import org.osgi.service.metatype.annotations.ObjectClassDefinition; -import zipkin2.reporter.Sender; + +import zipkin2.reporter.BytesMessageSender; import zipkin2.reporter.urlconnection.URLConnectionSender; @Component( @@ -34,7 +26,7 @@ @Designate(ocd = URLConnectionSenderExporter.Config.class) public class URLConnectionSenderExporter { - private ServiceRegistration reg; + private ServiceRegistration reg; private URLConnectionSender sender; @Activate @@ -45,7 +37,7 @@ public void activate(Config config, BundleContext context, Map p .connectTimeout(config.connectTimeout()) .messageMaxBytes(config.messageMaxBytes()) .build(); - reg = context.registerService(Sender.class, sender, new Hashtable(properties)); + reg = context.registerService(BytesMessageSender.class, sender, new Hashtable(properties)); } @Deactivate public void deactive() { diff --git a/features/pom.xml b/features/pom.xml index 93260dc..74c7672 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -1,17 +1,8 @@ @@ -19,7 +10,7 @@ io.zipkin.brave.karaf brave-karaf-parent - 0.2.7-SNAPSHOT + 0.3.0-SNAPSHOT brave-features pom diff --git a/features/src/main/resources/features.xml b/features/src/main/resources/features.xml index d317fd9..751be90 100644 --- a/features/src/main/resources/features.xml +++ b/features/src/main/resources/features.xml @@ -1,17 +1,8 @@ @@ -19,13 +10,13 @@ io.zipkin.brave.karaf brave-karaf-parent - 0.2.7-SNAPSHOT + 0.3.0-SNAPSHOT brave-itests 4.13.5 - 4.3.10 + 4.4.6 ${project.basedir}/.. diff --git a/itests/src/test/java/io/zipkin/brave/itests/ITBrave.java b/itests/src/test/java/io/zipkin/brave/itests/ITBrave.java index 9392974..70f87bb 100644 --- a/itests/src/test/java/io/zipkin/brave/itests/ITBrave.java +++ b/itests/src/test/java/io/zipkin/brave/itests/ITBrave.java @@ -1,15 +1,6 @@ /* - * Copyright 2016-2020 The OpenZipkin Authors - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Copyright The OpenZipkin Authors + * SPDX-License-Identifier: Apache-2.0 */ package io.zipkin.brave.itests; @@ -38,7 +29,8 @@ import org.ops4j.pax.exam.spi.reactors.PerClass; import org.osgi.framework.BundleContext; import org.osgi.framework.ServiceReference; -import zipkin2.reporter.Sender; + +import zipkin2.reporter.BytesMessageSender; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; @@ -89,23 +81,23 @@ public class ITBrave { } @Test public void checkSenderUrlConnection() { - ServiceReference ref = - getSingle(Sender.class, "(component.name=io.zipkin.sender.urlconnection)"); + ServiceReference ref = + getSingle(BytesMessageSender.class, "(component.name=io.zipkin.sender.urlconnection)"); assertPropertyEquals(ref, "endpoint", "http://localhost:9411/api/v2/spans"); assertPropertyEquals(ref, "connectTimeout", 10000); } @Test public void checkSenderKafka() { - ServiceReference ref = - getSingle(Sender.class, "(component.name=io.zipkin.sender.kafka)"); + ServiceReference ref = + getSingle(BytesMessageSender.class, "(component.name=io.zipkin.sender.kafka)"); assertPropertyEquals(ref, "topic", "zipkin"); } @Test public void checkSenderOkHttp() { - ServiceReference ref = - getSingle(Sender.class, "(component.name=io.zipkin.sender.okhttp)"); + ServiceReference ref = + getSingle(BytesMessageSender.class, "(component.name=io.zipkin.sender.okhttp)"); assertPropertyEquals(ref, "endpoint", "http://localhost:9411/api/v2/spans"); } diff --git a/itests/src/test/resources/exam.properties b/itests/src/test/resources/exam.properties index 10b85f9..2f5ac0b 100644 --- a/itests/src/test/resources/exam.properties +++ b/itests/src/test/resources/exam.properties @@ -1,15 +1,6 @@ # -# Copyright 2016-2019 The OpenZipkin Authors -# -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software distributed under the License -# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express -# or implied. See the License for the specific language governing permissions and limitations under -# the License. +# Copyright The OpenZipkin Authors +# SPDX-License-Identifier: Apache-2.0 # pax.exam.logging = none diff --git a/itests/src/test/resources/logback.xml b/itests/src/test/resources/logback.xml index 445e61e..ab51567 100644 --- a/itests/src/test/resources/logback.xml +++ b/itests/src/test/resources/logback.xml @@ -1,17 +1,8 @@ diff --git a/pom.xml b/pom.xml index 8f495d1..2659131 100644 --- a/pom.xml +++ b/pom.xml @@ -1,17 +1,8 @@ @@ -19,7 +10,7 @@ io.zipkin.brave.karaf brave-karaf-parent - 0.2.7-SNAPSHOT + 0.3.0-SNAPSHOT pom @@ -56,8 +47,8 @@ java18 2.27.1 - 2.17.2 - 5.18.1 + 3.4.3 + 6.0.3 3.26.3 4.13.2 @@ -362,7 +353,7 @@ - [11,16) + [11,12),[17,18),[21,22) @@ -380,19 +371,33 @@ SLASHSTAR_STYLE + + SCRIPT_STYLE + SCRIPT_STYLE + SCRIPT_STYLE + SCRIPT_STYLE + SCRIPT_STYLE + SCRIPT_STYLE + SCRIPT_STYLE + SCRIPT_STYLE SCRIPT_STYLE SCRIPT_STYLE SCRIPT_STYLE + SCRIPT_STYLE + SCRIPT_STYLE SCRIPT_STYLE SCRIPT_STYLE SCRIPT_STYLE SCRIPT_STYLE + SCRIPT_STYLE .gitignore + .dockerignore + .editorconfig .mvn/** mvnw* etc/header.txt @@ -518,7 +523,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.6 + 3.2.4 sign-artifacts diff --git a/src/etc/header.txt b/src/etc/header.txt index 308c88f..fe602a3 100644 --- a/src/etc/header.txt +++ b/src/etc/header.txt @@ -1,11 +1,2 @@ -Copyright ${license.git.copyrightYears} The OpenZipkin Authors - -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 - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under the License -is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express -or implied. See the License for the specific language governing permissions and limitations under -the License. \ No newline at end of file +Copyright The OpenZipkin Authors +SPDX-License-Identifier: Apache-2.0