Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade copyright to 2025 #17

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
os: [ ubuntu-latest, macos-13, windows-latest ]
runs-on: ${{ matrix.os }}
timeout-minutes: 90

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Commands:
publish, pub 向代理发布消息
subscribe, sub 从MQTT Broker(代理)订阅更新

Copyright (c) 2019-2023, 物联网技术指南
Copyright (c) 2019-2025, 物联网技术指南
Developed by mushuwei
```

Expand Down
2 changes: 1 addition & 1 deletion bin/add-zsh-completion-osx.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Copyright © 2019-2023 The Toolkit Authors
# Copyright © 2019-2025 The Toolkit Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--

Copyright © 2019-2023 The Toolkit Authors
Copyright © 2019-2025 The Toolkit Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion etc/license/license-header-template.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright © ${project.inceptionYear}-2023 ${owner}
Copyright © ${project.inceptionYear}-2025 ${owner}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--

Copyright © 2019-2023 The Toolkit Authors
Copyright © 2019-2025 The Toolkit Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -69,7 +69,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<picocli.version>4.7.5</picocli.version>
<picocli.version>4.7.6</picocli.version>
<netty.version>4.1.94.Final</netty.version>
<slf4j.version>1.7.36</slf4j.version>
<jackson.version>2.14.0-rc1</jackson.version>
Expand Down
2 changes: 1 addition & 1 deletion toolkit-app/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--

Copyright © 2019-2023 The Toolkit Authors
Copyright © 2019-2025 The Toolkit Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion toolkit-app/src/main/assembly/assembly-java.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright © 2019-2023 The Toolkit Authors
Copyright © 2019-2025 The Toolkit Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion toolkit-app/src/main/assembly/assembly-native-osx.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
Copyright © 2019-2023 The Toolkit Authors
Copyright © 2019-2025 The Toolkit Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion toolkit-app/src/main/assembly/assembly-native.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright © 2019-2023 The Toolkit Authors
Copyright © 2019-2025 The Toolkit Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -51,7 +51,7 @@
synopsisSubcommandLabel = "{ config | mqtt | coap | nb }",
descriptionHeading = "%n",
requiredOptionMarker = '*',
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei",
subcommands = {
AutoComplete.GenerateCompletion.class,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -38,7 +38,7 @@
synopsisHeading = "%n@|bold ${bundle:general.usage}|@%n",
commandListHeading = "%n@|bold ${bundle:general.commands}|@%n",
descriptionHeading = "%n",
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei",
versionProvider = iot.technology.client.toolkit.common.constants.VersionInfo.class
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -19,7 +19,6 @@
import iot.technology.client.toolkit.common.utils.ColorUtils;
import iot.technology.client.toolkit.common.utils.StringUtils;

import java.util.Locale;
import java.util.ResourceBundle;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion toolkit-coap/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--

Copyright © 2019-2023 The Toolkit Authors
Copyright © 2019-2025 The Toolkit Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -45,7 +45,7 @@
CoapPutCommand.class,
CoapDeleteCommand.class,
},
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei")
public class CoapCommand implements Callable<Integer> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright © 2019-2025 The Toolkit 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.
*/
package iot.technology.client.toolkit.coap.command.sub;

import iot.technology.client.toolkit.common.utils.Assert;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -35,7 +35,7 @@
commandListHeading = "%n@|bold ${bundle:general.commands}|@%n",
optionListHeading = "%n@|bold ${bundle:general.option}|@%n",
descriptionHeading = "%n",
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei"
)
public class CoapDeleteCommand extends AbstractCoapContext implements Callable<Integer> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -33,7 +33,7 @@
commandListHeading = "%n@|bold ${bundle:general.commands}|@%n",
optionListHeading = "%n@|bold ${bundle:general.option}|@%n",
descriptionHeading = "%n",
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei"
)
public class CoapDescribeCommand implements Callable<Integer> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -41,7 +41,7 @@
commandListHeading = "%n@|bold ${bundle:general.commands}|@%n",
optionListHeading = "%n@|bold ${bundle:general.option}|@%n",
descriptionHeading = "%n",
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei"
)
public class CoapDiscoverCommand extends AbstractCoapContext implements Callable<Integer> {
Expand All @@ -58,7 +58,6 @@ public class CoapDiscoverCommand extends AbstractCoapContext implements Callable
description = "${bundle:coap.uri.description}")
private URI uri;

/* ********************************** Identity Section ******************************** */
/* ********************************** Identity Section ******************************** */
@CommandLine.ArgGroup(exclusive = false,
heading = "%n@|bold,underline PSK Options|@ %n%n"//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -36,7 +36,7 @@
commandListHeading = "%n@|bold ${bundle:general.commands}|@%n",
optionListHeading = "%n@|bold ${bundle:general.option}|@%n",
descriptionHeading = "%n",
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei"
)
public class CoapGetCommand extends AbstractCoapContext implements Callable<Integer> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright © 2019-2025 The Toolkit 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.
*/
package iot.technology.client.toolkit.coap.command.sub;

import picocli.CommandLine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,7 +37,7 @@
commandListHeading = "%n@|bold ${bundle:general.commands}|@%n",
optionListHeading = "%n@|bold ${bundle:general.option}|@%n",
descriptionHeading = "%n",
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei"
)
public class CoapMediaTypesCommand implements Callable<Integer> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,7 +37,7 @@
commandListHeading = "%n@|bold ${bundle:general.commands}|@%n",
optionListHeading = "%n@|bold ${bundle:general.option}|@%n",
descriptionHeading = "%n",
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei"
)
public class CoapPostCommand extends AbstractCoapContext implements Callable<Integer> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,7 +37,7 @@
commandListHeading = "%n@|bold ${bundle:general.commands}|@%n",
optionListHeading = "%n@|bold ${bundle:general.option}|@%n",
descriptionHeading = "%n",
footerHeading = "%nCopyright (c) 2019-2023, ${bundle:general.copyright}",
footerHeading = "%nCopyright (c) 2019-2025, ${bundle:general.copyright}",
footer = "%nDeveloped by mushuwei"
)
public class CoapPutCommand extends AbstractCoapContext implements Callable<Integer> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright © 2019-2025 The Toolkit 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.
*/
package iot.technology.client.toolkit.coap.service;

import iot.technology.client.toolkit.common.utils.security.CredentialsUtil;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion toolkit-common/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--

Copyright © 2019-2023 The Toolkit Authors
Copyright © 2019-2025 The Toolkit Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2019-2023 The Toolkit Authors
* Copyright © 2019-2025 The Toolkit Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading
Loading