From 7ddb64e6e37c370221a87b9a1ebcf45cca9a288e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 16 Oct 2026 15:51:01 +0000 Subject: [PATCH 1/4] chore(deps): update actions/setup-java action to v6.1.0 (#37) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f77d20..b7f5723 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: with: persist-credentials: false - name: Set up Java - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 + uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: distribution: temurin java-version: "25" From 5bc7492a1c9fe6bbde616373e3cd5834ddc5ffb1 Mon Sep 17 00:00:00 2001 From: allurx Date: Sun, 18 Oct 2026 18:22:51 +0800 Subject: [PATCH 2/4] chore: standardize Apache license notices --- .github/workflows/ci.yml | 3 +++ .github/workflows/release.yml | 3 +++ LICENSE.txt | 8 ++++---- kit-base/pom.xml | 5 +++++ .../main/java/io/allurx/kit/base/Conditional.java | 13 +------------ .../io/allurx/kit/base/concurrency/BasePoller.java | 13 +------------ .../kit/base/concurrency/CountBasedPoller.java | 13 +------------ .../kit/base/concurrency/IntervalBasedPoller.java | 13 +------------ .../java/io/allurx/kit/base/concurrency/Poller.java | 13 +------------ .../io/allurx/kit/base/concurrency/Sleeper.java | 13 +------------ .../allurx/kit/base/concurrency/package-info.java | 13 +------------ .../kit/base/constant/DateTimeFormatConstants.java | 13 +------------ .../allurx/kit/base/constant/FunctionConstants.java | 13 +------------ .../io/allurx/kit/base/constant/package-info.java | 13 +------------ .../kit/base/function/MultiOutputSupplier.java | 13 +------------ .../allurx/kit/base/function/ThrowableSupplier.java | 13 +------------ .../io/allurx/kit/base/function/package-info.java | 13 +------------ .../main/java/io/allurx/kit/base/package-info.java | 13 +------------ .../kit/base/reflection/AnnotatedTypeToken.java | 13 +------------ .../allurx/kit/base/reflection/TypeConverter.java | 13 +------------ .../io/allurx/kit/base/reflection/TypeToken.java | 13 +------------ .../io/allurx/kit/base/reflection/package-info.java | 13 +------------ kit-base/src/main/java/module-info.java | 13 +------------ .../kit/base/benchmark/ConditionalBenchmark.java | 13 +------------ .../kit/base/test/AnnotatedTypeTokenTest.java | 13 +------------ .../io/allurx/kit/base/test/ConditionalTest.java | 13 +------------ .../java/io/allurx/kit/base/test/TypeTokenTest.java | 13 +------------ .../kit/base/test/poller/CountBasedPollerTest.java | 13 +------------ .../base/test/poller/IntervalBasedPollerTest.java | 13 +------------ kit-base/src/test/java/module-info.java | 13 +------------ kit-json/pom.xml | 5 +++++ .../io/allurx/kit/json/AbstractJsonOperator.java | 13 +------------ .../main/java/io/allurx/kit/json/GsonOperator.java | 13 +------------ .../java/io/allurx/kit/json/JacksonOperator.java | 13 +------------ .../main/java/io/allurx/kit/json/JsonException.java | 13 +------------ .../main/java/io/allurx/kit/json/JsonOperation.java | 13 +------------ .../main/java/io/allurx/kit/json/JsonOperator.java | 13 +------------ .../main/java/io/allurx/kit/json/package-info.java | 13 +------------ kit-json/src/main/java/module-info.java | 13 +------------ .../test/java/io/allurx/kit/json/test/JsonTest.java | 13 +------------ kit-json/src/test/java/module-info.java | 13 +------------ kit-mybatis/pom.xml | 5 +++++ .../mybatis/handler/AbstractJsonTypeHandler.java | 13 +------------ .../kit/mybatis/handler/GenericJsonTypeHandler.java | 13 +------------ .../kit/mybatis/handler/SimpleJsonTypeHandler.java | 13 +------------ .../io/allurx/kit/mybatis/handler/package-info.java | 13 +------------ kit-mybatis/src/main/java/module-info.java | 13 +------------ .../test/JsonTypeHandlerRegistrationTest.java | 13 +------------ kit-mybatis/src/test/java/module-info.java | 13 +------------ kit-selenium/pom.xml | 5 +++++ .../scripts/windows/kill-chrome-and-driver.bat | 3 +++ .../scripts/windows/start-chrome-with-data-dir.bat | 3 +++ .../scripts/windows/start-chrome-with-profile.bat | 3 +++ .../io/allurx/kit/selenium/BrowserException.java | 13 +------------ .../selenium/BrowserStartupFailureException.java | 13 +------------ .../main/java/io/allurx/kit/selenium/Chrome.java | 13 +------------ .../java/io/allurx/kit/selenium/ChromeStartup.java | 13 +------------ .../src/main/java/io/allurx/kit/selenium/Mode.java | 13 +------------ .../java/io/allurx/kit/selenium/package-info.java | 13 +------------ kit-selenium/src/main/java/module-info.java | 13 +------------ .../allurx/kit/selenium/test/ChromeStartupTest.java | 13 +------------ kit-selenium/src/test/java/module-info.java | 13 +------------ pom.xml | 5 +++++ 63 files changed, 96 insertions(+), 628 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7f5723..7f55b28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,6 @@ +# Copyright 2026 allurx +# SPDX-License-Identifier: Apache-2.0 + name: CI on: pull_request: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0cdb7a0..fe350e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,6 @@ +# Copyright 2026 allurx +# SPDX-License-Identifier: Apache-2.0 + name: Release on: push: diff --git a/LICENSE.txt b/LICENSE.txt index 9c8f3ea..cda8001 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -178,7 +178,7 @@ APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -186,13 +186,13 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright [yyyy] [name of copyright owner] 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 + 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, diff --git a/kit-base/pom.xml b/kit-base/pom.xml index edf5e81..69d9ba5 100644 --- a/kit-base/pom.xml +++ b/kit-base/pom.xml @@ -1,3 +1,8 @@ + + 4.0.0 diff --git a/kit-base/src/main/java/io/allurx/kit/base/Conditional.java b/kit-base/src/main/java/io/allurx/kit/base/Conditional.java index 9fdf4f0..a0095f9 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/Conditional.java +++ b/kit-base/src/main/java/io/allurx/kit/base/Conditional.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base; diff --git a/kit-base/src/main/java/io/allurx/kit/base/concurrency/BasePoller.java b/kit-base/src/main/java/io/allurx/kit/base/concurrency/BasePoller.java index dc403d7..70a61b2 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/concurrency/BasePoller.java +++ b/kit-base/src/main/java/io/allurx/kit/base/concurrency/BasePoller.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.concurrency; diff --git a/kit-base/src/main/java/io/allurx/kit/base/concurrency/CountBasedPoller.java b/kit-base/src/main/java/io/allurx/kit/base/concurrency/CountBasedPoller.java index 5868e04..e000c8f 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/concurrency/CountBasedPoller.java +++ b/kit-base/src/main/java/io/allurx/kit/base/concurrency/CountBasedPoller.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.concurrency; diff --git a/kit-base/src/main/java/io/allurx/kit/base/concurrency/IntervalBasedPoller.java b/kit-base/src/main/java/io/allurx/kit/base/concurrency/IntervalBasedPoller.java index e996342..05e134a 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/concurrency/IntervalBasedPoller.java +++ b/kit-base/src/main/java/io/allurx/kit/base/concurrency/IntervalBasedPoller.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.concurrency; diff --git a/kit-base/src/main/java/io/allurx/kit/base/concurrency/Poller.java b/kit-base/src/main/java/io/allurx/kit/base/concurrency/Poller.java index db2bbcb..79628bc 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/concurrency/Poller.java +++ b/kit-base/src/main/java/io/allurx/kit/base/concurrency/Poller.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.concurrency; diff --git a/kit-base/src/main/java/io/allurx/kit/base/concurrency/Sleeper.java b/kit-base/src/main/java/io/allurx/kit/base/concurrency/Sleeper.java index 3277bed..68cf32c 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/concurrency/Sleeper.java +++ b/kit-base/src/main/java/io/allurx/kit/base/concurrency/Sleeper.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.concurrency; diff --git a/kit-base/src/main/java/io/allurx/kit/base/concurrency/package-info.java b/kit-base/src/main/java/io/allurx/kit/base/concurrency/package-info.java index d29b13c..bab2485 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/concurrency/package-info.java +++ b/kit-base/src/main/java/io/allurx/kit/base/concurrency/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Synchronous polling with attempt or duration limits and replaceable sleeping. diff --git a/kit-base/src/main/java/io/allurx/kit/base/constant/DateTimeFormatConstants.java b/kit-base/src/main/java/io/allurx/kit/base/constant/DateTimeFormatConstants.java index 1d94064..8334ae5 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/constant/DateTimeFormatConstants.java +++ b/kit-base/src/main/java/io/allurx/kit/base/constant/DateTimeFormatConstants.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.constant; diff --git a/kit-base/src/main/java/io/allurx/kit/base/constant/FunctionConstants.java b/kit-base/src/main/java/io/allurx/kit/base/constant/FunctionConstants.java index b6fd97e..0822944 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/constant/FunctionConstants.java +++ b/kit-base/src/main/java/io/allurx/kit/base/constant/FunctionConstants.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.constant; diff --git a/kit-base/src/main/java/io/allurx/kit/base/constant/package-info.java b/kit-base/src/main/java/io/allurx/kit/base/constant/package-info.java index cc941ea..784a8af 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/constant/package-info.java +++ b/kit-base/src/main/java/io/allurx/kit/base/constant/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Shared stateless functions and date/time pattern strings. diff --git a/kit-base/src/main/java/io/allurx/kit/base/function/MultiOutputSupplier.java b/kit-base/src/main/java/io/allurx/kit/base/function/MultiOutputSupplier.java index ae3e851..d1433ab 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/function/MultiOutputSupplier.java +++ b/kit-base/src/main/java/io/allurx/kit/base/function/MultiOutputSupplier.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.function; diff --git a/kit-base/src/main/java/io/allurx/kit/base/function/ThrowableSupplier.java b/kit-base/src/main/java/io/allurx/kit/base/function/ThrowableSupplier.java index ed0f417..bd3329f 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/function/ThrowableSupplier.java +++ b/kit-base/src/main/java/io/allurx/kit/base/function/ThrowableSupplier.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.function; diff --git a/kit-base/src/main/java/io/allurx/kit/base/function/package-info.java b/kit-base/src/main/java/io/allurx/kit/base/function/package-info.java index 86554a2..c255528 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/function/package-info.java +++ b/kit-base/src/main/java/io/allurx/kit/base/function/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Supplier adapters for optional, stream and conditional results, plus lazy exception creation. diff --git a/kit-base/src/main/java/io/allurx/kit/base/package-info.java b/kit-base/src/main/java/io/allurx/kit/base/package-info.java index 69a0b76..5713eac 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/package-info.java +++ b/kit-base/src/main/java/io/allurx/kit/base/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Immediate conditional flows with short-circuit branches. diff --git a/kit-base/src/main/java/io/allurx/kit/base/reflection/AnnotatedTypeToken.java b/kit-base/src/main/java/io/allurx/kit/base/reflection/AnnotatedTypeToken.java index 75cc42e..265534f 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/reflection/AnnotatedTypeToken.java +++ b/kit-base/src/main/java/io/allurx/kit/base/reflection/AnnotatedTypeToken.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.reflection; diff --git a/kit-base/src/main/java/io/allurx/kit/base/reflection/TypeConverter.java b/kit-base/src/main/java/io/allurx/kit/base/reflection/TypeConverter.java index 7969563..481b960 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/reflection/TypeConverter.java +++ b/kit-base/src/main/java/io/allurx/kit/base/reflection/TypeConverter.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.reflection; diff --git a/kit-base/src/main/java/io/allurx/kit/base/reflection/TypeToken.java b/kit-base/src/main/java/io/allurx/kit/base/reflection/TypeToken.java index d43e5bc..12f58c8 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/reflection/TypeToken.java +++ b/kit-base/src/main/java/io/allurx/kit/base/reflection/TypeToken.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.reflection; diff --git a/kit-base/src/main/java/io/allurx/kit/base/reflection/package-info.java b/kit-base/src/main/java/io/allurx/kit/base/reflection/package-info.java index 5269246..97b90da 100644 --- a/kit-base/src/main/java/io/allurx/kit/base/reflection/package-info.java +++ b/kit-base/src/main/java/io/allurx/kit/base/reflection/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Captures declared generic types and runtime type-use annotations without resolving call-site variables. diff --git a/kit-base/src/main/java/module-info.java b/kit-base/src/main/java/module-info.java index 82dbd4f..9d8f71f 100644 --- a/kit-base/src/main/java/module-info.java +++ b/kit-base/src/main/java/module-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Utilities for conditional flows, synchronous polling, functional adapters and reflection types, diff --git a/kit-base/src/test/java/io/allurx/kit/base/benchmark/ConditionalBenchmark.java b/kit-base/src/test/java/io/allurx/kit/base/benchmark/ConditionalBenchmark.java index 4ad2280..f22e5a4 100644 --- a/kit-base/src/test/java/io/allurx/kit/base/benchmark/ConditionalBenchmark.java +++ b/kit-base/src/test/java/io/allurx/kit/base/benchmark/ConditionalBenchmark.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.benchmark; diff --git a/kit-base/src/test/java/io/allurx/kit/base/test/AnnotatedTypeTokenTest.java b/kit-base/src/test/java/io/allurx/kit/base/test/AnnotatedTypeTokenTest.java index b3973c1..1699db9 100644 --- a/kit-base/src/test/java/io/allurx/kit/base/test/AnnotatedTypeTokenTest.java +++ b/kit-base/src/test/java/io/allurx/kit/base/test/AnnotatedTypeTokenTest.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.test; diff --git a/kit-base/src/test/java/io/allurx/kit/base/test/ConditionalTest.java b/kit-base/src/test/java/io/allurx/kit/base/test/ConditionalTest.java index b18653a..159edcd 100644 --- a/kit-base/src/test/java/io/allurx/kit/base/test/ConditionalTest.java +++ b/kit-base/src/test/java/io/allurx/kit/base/test/ConditionalTest.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.test; diff --git a/kit-base/src/test/java/io/allurx/kit/base/test/TypeTokenTest.java b/kit-base/src/test/java/io/allurx/kit/base/test/TypeTokenTest.java index 1395ed4..fd63257 100644 --- a/kit-base/src/test/java/io/allurx/kit/base/test/TypeTokenTest.java +++ b/kit-base/src/test/java/io/allurx/kit/base/test/TypeTokenTest.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.test; diff --git a/kit-base/src/test/java/io/allurx/kit/base/test/poller/CountBasedPollerTest.java b/kit-base/src/test/java/io/allurx/kit/base/test/poller/CountBasedPollerTest.java index 2ea8e4d..b743e2d 100644 --- a/kit-base/src/test/java/io/allurx/kit/base/test/poller/CountBasedPollerTest.java +++ b/kit-base/src/test/java/io/allurx/kit/base/test/poller/CountBasedPollerTest.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.test.poller; diff --git a/kit-base/src/test/java/io/allurx/kit/base/test/poller/IntervalBasedPollerTest.java b/kit-base/src/test/java/io/allurx/kit/base/test/poller/IntervalBasedPollerTest.java index 5bd7558..a30471c 100644 --- a/kit-base/src/test/java/io/allurx/kit/base/test/poller/IntervalBasedPollerTest.java +++ b/kit-base/src/test/java/io/allurx/kit/base/test/poller/IntervalBasedPollerTest.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.base.test.poller; diff --git a/kit-base/src/test/java/module-info.java b/kit-base/src/test/java/module-info.java index 973d11d..e68f9a6 100644 --- a/kit-base/src/test/java/module-info.java +++ b/kit-base/src/test/java/module-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Tests for base utilities and separate JMH benchmarks for conditional flows. diff --git a/kit-json/pom.xml b/kit-json/pom.xml index 5790423..d2e4bf3 100644 --- a/kit-json/pom.xml +++ b/kit-json/pom.xml @@ -1,3 +1,8 @@ + + 4.0.0 diff --git a/kit-json/src/main/java/io/allurx/kit/json/AbstractJsonOperator.java b/kit-json/src/main/java/io/allurx/kit/json/AbstractJsonOperator.java index e943415..56338bc 100644 --- a/kit-json/src/main/java/io/allurx/kit/json/AbstractJsonOperator.java +++ b/kit-json/src/main/java/io/allurx/kit/json/AbstractJsonOperator.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.json; diff --git a/kit-json/src/main/java/io/allurx/kit/json/GsonOperator.java b/kit-json/src/main/java/io/allurx/kit/json/GsonOperator.java index 3518504..036893a 100644 --- a/kit-json/src/main/java/io/allurx/kit/json/GsonOperator.java +++ b/kit-json/src/main/java/io/allurx/kit/json/GsonOperator.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.json; diff --git a/kit-json/src/main/java/io/allurx/kit/json/JacksonOperator.java b/kit-json/src/main/java/io/allurx/kit/json/JacksonOperator.java index fcefe79..75457b4 100644 --- a/kit-json/src/main/java/io/allurx/kit/json/JacksonOperator.java +++ b/kit-json/src/main/java/io/allurx/kit/json/JacksonOperator.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.json; diff --git a/kit-json/src/main/java/io/allurx/kit/json/JsonException.java b/kit-json/src/main/java/io/allurx/kit/json/JsonException.java index 4bac1f9..a62917c 100644 --- a/kit-json/src/main/java/io/allurx/kit/json/JsonException.java +++ b/kit-json/src/main/java/io/allurx/kit/json/JsonException.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.json; diff --git a/kit-json/src/main/java/io/allurx/kit/json/JsonOperation.java b/kit-json/src/main/java/io/allurx/kit/json/JsonOperation.java index beba0eb..916c9f8 100644 --- a/kit-json/src/main/java/io/allurx/kit/json/JsonOperation.java +++ b/kit-json/src/main/java/io/allurx/kit/json/JsonOperation.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.json; diff --git a/kit-json/src/main/java/io/allurx/kit/json/JsonOperator.java b/kit-json/src/main/java/io/allurx/kit/json/JsonOperator.java index ac916a0..fa7e107 100644 --- a/kit-json/src/main/java/io/allurx/kit/json/JsonOperator.java +++ b/kit-json/src/main/java/io/allurx/kit/json/JsonOperator.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.json; diff --git a/kit-json/src/main/java/io/allurx/kit/json/package-info.java b/kit-json/src/main/java/io/allurx/kit/json/package-info.java index 4da93cf..88e1e99 100644 --- a/kit-json/src/main/java/io/allurx/kit/json/package-info.java +++ b/kit-json/src/main/java/io/allurx/kit/json/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/kit-json/src/main/java/module-info.java b/kit-json/src/main/java/module-info.java index 0ad6e1f..efd7975 100644 --- a/kit-json/src/main/java/module-info.java +++ b/kit-json/src/main/java/module-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * JSON conversion and structural comparison backed by Jackson and Gson. diff --git a/kit-json/src/test/java/io/allurx/kit/json/test/JsonTest.java b/kit-json/src/test/java/io/allurx/kit/json/test/JsonTest.java index fbe2e85..054f640 100644 --- a/kit-json/src/test/java/io/allurx/kit/json/test/JsonTest.java +++ b/kit-json/src/test/java/io/allurx/kit/json/test/JsonTest.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.json.test; diff --git a/kit-json/src/test/java/module-info.java b/kit-json/src/test/java/module-info.java index 58f1210..5cd961a 100644 --- a/kit-json/src/test/java/module-info.java +++ b/kit-json/src/test/java/module-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * JSON operator tests with reflective access to model fixtures for JUnit and the JSON backends. diff --git a/kit-mybatis/pom.xml b/kit-mybatis/pom.xml index 718df8c..416e042 100644 --- a/kit-mybatis/pom.xml +++ b/kit-mybatis/pom.xml @@ -1,3 +1,8 @@ + + 4.0.0 diff --git a/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/AbstractJsonTypeHandler.java b/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/AbstractJsonTypeHandler.java index 045f87d..d8a9129 100644 --- a/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/AbstractJsonTypeHandler.java +++ b/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/AbstractJsonTypeHandler.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.mybatis.handler; diff --git a/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/GenericJsonTypeHandler.java b/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/GenericJsonTypeHandler.java index 7a252d6..05e415c 100644 --- a/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/GenericJsonTypeHandler.java +++ b/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/GenericJsonTypeHandler.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.mybatis.handler; diff --git a/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/SimpleJsonTypeHandler.java b/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/SimpleJsonTypeHandler.java index 194b5ba..4c1e9db 100644 --- a/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/SimpleJsonTypeHandler.java +++ b/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/SimpleJsonTypeHandler.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.mybatis.handler; diff --git a/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/package-info.java b/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/package-info.java index 20920f9..54c1fdd 100644 --- a/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/package-info.java +++ b/kit-mybatis/src/main/java/io/allurx/kit/mybatis/handler/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/kit-mybatis/src/main/java/module-info.java b/kit-mybatis/src/main/java/module-info.java index 15d2ae1..d00bc15 100644 --- a/kit-mybatis/src/main/java/module-info.java +++ b/kit-mybatis/src/main/java/module-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * MyBatis handlers that bind declared Java types as JSON text through JDBC. diff --git a/kit-mybatis/src/test/java/io/allurx/kit/mybatis/test/JsonTypeHandlerRegistrationTest.java b/kit-mybatis/src/test/java/io/allurx/kit/mybatis/test/JsonTypeHandlerRegistrationTest.java index ff86dc7..9a32621 100644 --- a/kit-mybatis/src/test/java/io/allurx/kit/mybatis/test/JsonTypeHandlerRegistrationTest.java +++ b/kit-mybatis/src/test/java/io/allurx/kit/mybatis/test/JsonTypeHandlerRegistrationTest.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.mybatis.test; diff --git a/kit-mybatis/src/test/java/module-info.java b/kit-mybatis/src/test/java/module-info.java index 26e999f..742a450 100644 --- a/kit-mybatis/src/test/java/module-info.java +++ b/kit-mybatis/src/test/java/module-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Handler registration tests; the production module supplies the public API's transitive dependencies. diff --git a/kit-selenium/pom.xml b/kit-selenium/pom.xml index 7e4d706..aa2b8ab 100644 --- a/kit-selenium/pom.xml +++ b/kit-selenium/pom.xml @@ -1,3 +1,8 @@ + + 4.0.0 diff --git a/kit-selenium/scripts/windows/kill-chrome-and-driver.bat b/kit-selenium/scripts/windows/kill-chrome-and-driver.bat index 97bbdcc..28db276 100644 --- a/kit-selenium/scripts/windows/kill-chrome-and-driver.bat +++ b/kit-selenium/scripts/windows/kill-chrome-and-driver.bat @@ -1,3 +1,6 @@ +@rem Copyright 2024 allurx +@rem SPDX-License-Identifier: Apache-2.0 + rem Requests forced termination of all Chrome and ChromeDriver processes and their child processes. rem Unrelated browser sessions are included; this is not per-test cleanup, and permission failures may leave processes alive. taskkill /f /t /im chrome.exe & taskkill /f /t /im chromedriver.exe \ No newline at end of file diff --git a/kit-selenium/scripts/windows/start-chrome-with-data-dir.bat b/kit-selenium/scripts/windows/start-chrome-with-data-dir.bat index a683f3e..0234023 100644 --- a/kit-selenium/scripts/windows/start-chrome-with-data-dir.bat +++ b/kit-selenium/scripts/windows/start-chrome-with-data-dir.bat @@ -1,4 +1,7 @@ @echo off +rem Copyright 2024 allurx +rem SPDX-License-Identifier: Apache-2.0 + rem Manual example: opens Telegram and retains browser data in the user data directory below. rem Adjust the machine-specific path before use; this script is not an isolated test fixture. chcp 65001 diff --git a/kit-selenium/scripts/windows/start-chrome-with-profile.bat b/kit-selenium/scripts/windows/start-chrome-with-profile.bat index 46f2321..bcbaef6 100644 --- a/kit-selenium/scripts/windows/start-chrome-with-profile.bat +++ b/kit-selenium/scripts/windows/start-chrome-with-profile.bat @@ -1,4 +1,7 @@ @echo off +rem Copyright 2024 allurx +rem SPDX-License-Identifier: Apache-2.0 + rem Manual example: opens Telegram using a profile within the persistent user data directory below. rem Adjust the machine-specific directory and profile before use; browser data remains after exit. rem --profile-directory selects a profile within that directory, not a separate browser data directory. diff --git a/kit-selenium/src/main/java/io/allurx/kit/selenium/BrowserException.java b/kit-selenium/src/main/java/io/allurx/kit/selenium/BrowserException.java index 010ba23..b0d9438 100644 --- a/kit-selenium/src/main/java/io/allurx/kit/selenium/BrowserException.java +++ b/kit-selenium/src/main/java/io/allurx/kit/selenium/BrowserException.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.selenium; diff --git a/kit-selenium/src/main/java/io/allurx/kit/selenium/BrowserStartupFailureException.java b/kit-selenium/src/main/java/io/allurx/kit/selenium/BrowserStartupFailureException.java index 1934f46..11bea02 100644 --- a/kit-selenium/src/main/java/io/allurx/kit/selenium/BrowserStartupFailureException.java +++ b/kit-selenium/src/main/java/io/allurx/kit/selenium/BrowserStartupFailureException.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.selenium; diff --git a/kit-selenium/src/main/java/io/allurx/kit/selenium/Chrome.java b/kit-selenium/src/main/java/io/allurx/kit/selenium/Chrome.java index a88ff5d..91c5410 100644 --- a/kit-selenium/src/main/java/io/allurx/kit/selenium/Chrome.java +++ b/kit-selenium/src/main/java/io/allurx/kit/selenium/Chrome.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.selenium; diff --git a/kit-selenium/src/main/java/io/allurx/kit/selenium/ChromeStartup.java b/kit-selenium/src/main/java/io/allurx/kit/selenium/ChromeStartup.java index c5df3db..3f7f2d0 100644 --- a/kit-selenium/src/main/java/io/allurx/kit/selenium/ChromeStartup.java +++ b/kit-selenium/src/main/java/io/allurx/kit/selenium/ChromeStartup.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.selenium; diff --git a/kit-selenium/src/main/java/io/allurx/kit/selenium/Mode.java b/kit-selenium/src/main/java/io/allurx/kit/selenium/Mode.java index ca9e12f..4a56200 100644 --- a/kit-selenium/src/main/java/io/allurx/kit/selenium/Mode.java +++ b/kit-selenium/src/main/java/io/allurx/kit/selenium/Mode.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.selenium; diff --git a/kit-selenium/src/main/java/io/allurx/kit/selenium/package-info.java b/kit-selenium/src/main/java/io/allurx/kit/selenium/package-info.java index 1105800..6c9c343 100644 --- a/kit-selenium/src/main/java/io/allurx/kit/selenium/package-info.java +++ b/kit-selenium/src/main/java/io/allurx/kit/selenium/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Chrome launch configuration and WebDriver session lifecycle management. diff --git a/kit-selenium/src/main/java/module-info.java b/kit-selenium/src/main/java/module-info.java index 6171d6b..16d0cee 100644 --- a/kit-selenium/src/main/java/module-info.java +++ b/kit-selenium/src/main/java/module-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Chrome launch and session lifecycle utilities built on Selenium. diff --git a/kit-selenium/src/test/java/io/allurx/kit/selenium/test/ChromeStartupTest.java b/kit-selenium/src/test/java/io/allurx/kit/selenium/test/ChromeStartupTest.java index 20237b2..e2c6329 100644 --- a/kit-selenium/src/test/java/io/allurx/kit/selenium/test/ChromeStartupTest.java +++ b/kit-selenium/src/test/java/io/allurx/kit/selenium/test/ChromeStartupTest.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ package io.allurx.kit.selenium.test; diff --git a/kit-selenium/src/test/java/module-info.java b/kit-selenium/src/test/java/module-info.java index b181184..264e40a 100644 --- a/kit-selenium/src/test/java/module-info.java +++ b/kit-selenium/src/test/java/module-info.java @@ -1,17 +1,6 @@ /* * Copyright 2024 allurx - * - * 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. + * SPDX-License-Identifier: Apache-2.0 */ /** * Opt-in Chrome startup test using the public API. diff --git a/pom.xml b/pom.xml index 2f655fc..a34425e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,3 +1,8 @@ + + 4.0.0 From b880e0223800ed40bce5f04639bcfd4b48a33795 Mon Sep 17 00:00:00 2001 From: allurx Date: Sun, 18 Oct 2026 19:22:54 +0800 Subject: [PATCH 3/4] build: adopt Maven parent 1.2.0 license delivery --- .mvn/maven.config | 0 pom.xml | 18 +----------------- 2 files changed, 1 insertion(+), 17 deletions(-) create mode 100644 .mvn/maven.config diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 0000000..e69de29 diff --git a/pom.xml b/pom.xml index a34425e..06db490 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ SPDX-License-Identifier: Apache-2.0 io.allurx maven-parent - 1.1.0 + 1.2.0 @@ -43,14 +43,6 @@ SPDX-License-Identifier: Apache-2.0 2.0.20 - - - The Apache Software License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - https://github.com/allurx/kit scm:git:https://github.com/allurx/kit.git @@ -62,14 +54,6 @@ SPDX-License-Identifier: Apache-2.0 https://github.com/allurx/kit/issues - - - allurx - allurx.zyc@gmail.com - https://www.allurx.io - - - From 2a3f0922f59c568ab4418dc85a8dc3b990ef1ddf Mon Sep 17 00:00:00 2001 From: allurx Date: Sun, 18 Oct 2026 20:12:31 +0800 Subject: [PATCH 4/4] chore(release): prepare Kit 3.0.3 --- kit-base/pom.xml | 2 +- kit-json/pom.xml | 2 +- kit-mybatis/pom.xml | 2 +- kit-selenium/pom.xml | 2 +- pom.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kit-base/pom.xml b/kit-base/pom.xml index 69d9ba5..2fcf524 100644 --- a/kit-base/pom.xml +++ b/kit-base/pom.xml @@ -9,7 +9,7 @@ SPDX-License-Identifier: Apache-2.0 io.allurx.kit kit - 3.0.2 + 3.0.3 kit-base diff --git a/kit-json/pom.xml b/kit-json/pom.xml index d2e4bf3..ec83fbb 100644 --- a/kit-json/pom.xml +++ b/kit-json/pom.xml @@ -9,7 +9,7 @@ SPDX-License-Identifier: Apache-2.0 io.allurx.kit kit - 3.0.2 + 3.0.3 kit-json diff --git a/kit-mybatis/pom.xml b/kit-mybatis/pom.xml index 416e042..e845351 100644 --- a/kit-mybatis/pom.xml +++ b/kit-mybatis/pom.xml @@ -9,7 +9,7 @@ SPDX-License-Identifier: Apache-2.0 io.allurx.kit kit - 3.0.2 + 3.0.3 kit-mybatis diff --git a/kit-selenium/pom.xml b/kit-selenium/pom.xml index aa2b8ab..f30245c 100644 --- a/kit-selenium/pom.xml +++ b/kit-selenium/pom.xml @@ -9,7 +9,7 @@ SPDX-License-Identifier: Apache-2.0 io.allurx.kit kit - 3.0.2 + 3.0.3 kit-selenium diff --git a/pom.xml b/pom.xml index 06db490..5b4e36d 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ SPDX-License-Identifier: Apache-2.0 io.allurx.kit kit - 3.0.2 + 3.0.3 pom kit