diff --git a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Experimental.java b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Experimental.java index bbbbb0caf..248643dd3 100644 --- a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Experimental.java +++ b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Experimental.java @@ -1,13 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 + * Copyright 2023 Ververica Inc. * - * http://www.apache.org/licenses/LICENSE-2.0 + * 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, diff --git a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Internal.java b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Internal.java index e310567c2..ae7ff9157 100644 --- a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Internal.java +++ b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Internal.java @@ -1,11 +1,9 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 + * Copyright 2023 Ververica Inc. + * + * 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 * @@ -14,7 +12,6 @@ * 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 com.ververica.cdc.common.annotation; diff --git a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Public.java b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Public.java index 062cb2661..605736261 100644 --- a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Public.java +++ b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/Public.java @@ -1,13 +1,11 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 + * Copyright 2023 Ververica Inc. * - * http://www.apache.org/licenses/LICENSE-2.0 + * 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, diff --git a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/PublicEvolving.java b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/PublicEvolving.java index 6d5a1d708..ae00d8524 100644 --- a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/PublicEvolving.java +++ b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/PublicEvolving.java @@ -1,11 +1,9 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 + * Copyright 2023 Ververica Inc. + * + * 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 * @@ -14,7 +12,6 @@ * 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 com.ververica.cdc.common.annotation; diff --git a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/VisibleForTesting.java b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/VisibleForTesting.java index ab9e2f96b..ba0acf7a7 100644 --- a/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/VisibleForTesting.java +++ b/flink-cdc-common/src/main/java/com/ververica/cdc/common/annotation/VisibleForTesting.java @@ -1,11 +1,9 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 + * Copyright 2023 Ververica Inc. + * + * 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 * @@ -14,7 +12,6 @@ * 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 com.ververica.cdc.common.annotation; diff --git a/flink-cdc-common/src/main/java/com/ververica/cdc/common/types/VarBinaryType.java b/flink-cdc-common/src/main/java/com/ververica/cdc/common/types/VarBinaryType.java index 884070fed..812b3146e 100644 --- a/flink-cdc-common/src/main/java/com/ververica/cdc/common/types/VarBinaryType.java +++ b/flink-cdc-common/src/main/java/com/ververica/cdc/common/types/VarBinaryType.java @@ -1,11 +1,9 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 + * Copyright 2023 Ververica Inc. + * + * 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 * diff --git a/flink-cdc-common/src/main/java/com/ververica/cdc/common/types/VarCharType.java b/flink-cdc-common/src/main/java/com/ververica/cdc/common/types/VarCharType.java index 6b1276521..82105f463 100644 --- a/flink-cdc-common/src/main/java/com/ververica/cdc/common/types/VarCharType.java +++ b/flink-cdc-common/src/main/java/com/ververica/cdc/common/types/VarCharType.java @@ -1,11 +1,9 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 + * Copyright 2023 Ververica Inc. + * + * 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 * diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java index 8f4c51c61..58b484a8a 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java @@ -1,5 +1,3 @@ -package com.ververica.cdc.connectors.mysql.source.reader; - /* * Copyright 2023 Ververica Inc. * @@ -16,6 +14,8 @@ package com.ververica.cdc.connectors.mysql.source.reader; * limitations under the License. */ +package com.ververica.cdc.connectors.mysql.source.reader; + import org.apache.flink.api.common.typeinfo.TypeInformation; import org.apache.flink.connector.testutils.source.reader.TestingReaderOutput; import org.apache.flink.runtime.metrics.groups.UnregisteredMetricGroups; diff --git a/pom.xml b/pom.xml index 58e3ff379..9f632b312 100644 --- a/pom.xml +++ b/pom.xml @@ -266,7 +266,6 @@ under the License. implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense"> AL2 Apache License 2.0 - Copyright 2023 Ververica Inc. diff --git a/tools/maven/checkstyle.xml b/tools/maven/checkstyle.xml index 367a7b050..aedb80841 100644 --- a/tools/maven/checkstyle.xml +++ b/tools/maven/checkstyle.xml @@ -556,5 +556,13 @@ This file is based on the checkstyle file of Apache Beam. + + + + + + + + diff --git a/tools/maven/suppressions.xml b/tools/maven/suppressions.xml index 9f05117d8..1f9fe9a1c 100644 --- a/tools/maven/suppressions.xml +++ b/tools/maven/suppressions.xml @@ -82,8 +82,8 @@ under the License. files="io[\\/]debezium[\\/]connector[\\/]postgresql[\\/]" checks=".*"/> + files="io[\\/]debezium[\\/]" + checks=".*"/>