diff --git a/flink-cdc-cli/pom.xml b/flink-cdc-cli/pom.xml index 0cd2d0de2..c4ec22bbc 100644 --- a/flink-cdc-cli/pom.xml +++ b/flink-cdc-cli/pom.xml @@ -19,7 +19,7 @@ limitations under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc + flink-cdc-parent org.apache.flink ${revision} diff --git a/flink-cdc-common/pom.xml b/flink-cdc-common/pom.xml index 10bd9df6f..95f7d5fe0 100644 --- a/flink-cdc-common/pom.xml +++ b/flink-cdc-common/pom.xml @@ -19,7 +19,7 @@ limitations under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc + flink-cdc-parent org.apache.flink ${revision} diff --git a/flink-cdc-composer/pom.xml b/flink-cdc-composer/pom.xml index 646f1c867..97c2e0864 100644 --- a/flink-cdc-composer/pom.xml +++ b/flink-cdc-composer/pom.xml @@ -19,7 +19,7 @@ limitations under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc + flink-cdc-parent org.apache.flink ${revision} diff --git a/flink-cdc-connect/pom.xml b/flink-cdc-connect/pom.xml index 311038ffa..543d8b46c 100644 --- a/flink-cdc-connect/pom.xml +++ b/flink-cdc-connect/pom.xml @@ -19,7 +19,7 @@ limitations under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc + flink-cdc-parent org.apache.flink ${revision} diff --git a/flink-cdc-dist/pom.xml b/flink-cdc-dist/pom.xml index b27233ec0..572302c36 100644 --- a/flink-cdc-dist/pom.xml +++ b/flink-cdc-dist/pom.xml @@ -19,7 +19,7 @@ limitations under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc + flink-cdc-parent org.apache.flink ${revision} diff --git a/flink-cdc-dist/src/main/assembly/assembly.xml b/flink-cdc-dist/src/main/assembly/assembly.xml index 24013f065..600dfcd43 100644 --- a/flink-cdc-dist/src/main/assembly/assembly.xml +++ b/flink-cdc-dist/src/main/assembly/assembly.xml @@ -32,6 +32,13 @@ limitations under the License. flink-cdc-dist-${revision}.jar 0644 + + + + ../LICENSE + + 0644 + diff --git a/flink-cdc-e2e-tests/pom.xml b/flink-cdc-e2e-tests/pom.xml index 3ac5fe598..28d16beee 100644 --- a/flink-cdc-e2e-tests/pom.xml +++ b/flink-cdc-e2e-tests/pom.xml @@ -19,7 +19,7 @@ limitations under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc + flink-cdc-parent org.apache.flink ${revision} diff --git a/flink-cdc-migration-tests/pom.xml b/flink-cdc-migration-tests/pom.xml index 269c5c0db..3033ef712 100644 --- a/flink-cdc-migration-tests/pom.xml +++ b/flink-cdc-migration-tests/pom.xml @@ -21,7 +21,7 @@ limitations under the License. 4.0.0 org.apache.flink - flink-cdc + flink-cdc-parent ${revision} diff --git a/flink-cdc-pipeline-udf-examples/pom.xml b/flink-cdc-pipeline-udf-examples/pom.xml index 2466482bb..bb38885e4 100644 --- a/flink-cdc-pipeline-udf-examples/pom.xml +++ b/flink-cdc-pipeline-udf-examples/pom.xml @@ -21,7 +21,7 @@ limitations under the License. 4.0.0 org.apache.flink - flink-cdc + flink-cdc-parent ${revision} diff --git a/flink-cdc-runtime/pom.xml b/flink-cdc-runtime/pom.xml index deb297509..c5dbc123f 100644 --- a/flink-cdc-runtime/pom.xml +++ b/flink-cdc-runtime/pom.xml @@ -19,7 +19,7 @@ limitations under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc + flink-cdc-parent org.apache.flink ${revision} diff --git a/pom.xml b/pom.xml index 1fbe4947c..72109d92a 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ limitations under the License. 4.0.0 org.apache.flink - flink-cdc + flink-cdc-parent ${revision} pom @@ -51,16 +51,11 @@ limitations under the License. - - - oss - https://oss.sonatype.org/content/repositories/snapshots/ - - - oss - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - + + https://github.com/apache/flink-cdc + git@github.com:apache/flink-cdc.git + scm:git:https://gitbox.apache.org/repos/asf/flink-cdc.git + 3.3-SNAPSHOT @@ -727,107 +722,35 @@ limitations under the License. - release + + apache-release org.apache.maven.plugins - maven-gpg-plugin - 1.6 + maven-assembly-plugin + + + org.apache.apache.resources + apache-source-release-assembly-descriptor + 1.0.6 + + - sign-artifacts - verify - - sign - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-java - - enforce - - - - - [1.8,) - - - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar - - - - - - net.ju-n.maven.plugins - checksum-maven-plugin - - - - artifacts - - - - - - SHA-256 - - false - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.9.1 - - true - false - - -Xdoclint:none - - - - - attach-javadocs - - jar - + source-release-assembly + + none - - - - org.apache.maven.plugins - maven-release-plugin - 2.1 - - forked-path - false - ${arguments} -Psonatype-oss-release - - - - diff --git a/tools/releasing/create_source_release.sh b/tools/releasing/create_source_release.sh index 9e9fb3a8d..4fc033191 100755 --- a/tools/releasing/create_source_release.sh +++ b/tools/releasing/create_source_release.sh @@ -77,10 +77,10 @@ rsync -a \ --exclude ".travis.yml" \ . flink-cdc-${RELEASE_VERSION} -tar czf ${RELEASE_DIR}/apache-flink-cdc-${RELEASE_VERSION}-src.tgz flink-cdc-${RELEASE_VERSION} -gpg --armor --detach-sig ${RELEASE_DIR}/apache-flink-cdc-${RELEASE_VERSION}-src.tgz +tar czf ${RELEASE_DIR}/flink-cdc-${RELEASE_VERSION}-src.tgz flink-cdc-${RELEASE_VERSION} +gpg --armor --detach-sig ${RELEASE_DIR}/flink-cdc-${RELEASE_VERSION}-src.tgz cd ${RELEASE_DIR} -${SHASUM} apache-flink-cdc-${RELEASE_VERSION}-src.tgz > apache-flink-cdc-${RELEASE_VERSION}-src.tgz.sha512 +${SHASUM} flink-cdc-${RELEASE_VERSION}-src.tgz > flink-cdc-${RELEASE_VERSION}-src.tgz.sha512 rm -rf ${CLONE_DIR}