diff --git a/.gitignore b/.gitignore index f697da5b34a..e007bf24f52 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ build-targetatlassian-ide-plugin.xml *.ipr *.iws docs/_build +**/.flattened-pom.xml diff --git a/flink-cdc-cli/pom.xml b/flink-cdc-cli/pom.xml index 46ebc2df49d..b1af4e2cbda 100644 --- a/flink-cdc-cli/pom.xml +++ b/flink-cdc-cli/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-common/pom.xml b/flink-cdc-common/pom.xml index 38530c25423..2b5646ff81c 100644 --- a/flink-cdc-common/pom.xml +++ b/flink-cdc-common/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-composer/pom.xml b/flink-cdc-composer/pom.xml index 8c1c3d00edf..2c35956c3bc 100644 --- a/flink-cdc-composer/pom.xml +++ b/flink-cdc-composer/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml b/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml index 61d8bb4e4cd..9ffa9d257d5 100644 --- a/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml +++ b/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connect</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/pom.xml index cae5e3c61d8..290e61bad96 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/pom.xml index 1eab7b63c02..149a409c02a 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/pom.xml index 12519034e32..701a876f9ab 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/pom.xml index 7bb54347c72..3dbf0720ce7 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/pom.xml index 0eb2b6de329..39f0270de9d 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/pom.xml index b615c65f0b1..ac73d6bd3f2 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <properties> <!-- Because of oceanbase docker image can not expose port quickly, so we need to specify testcontainers version to 1.15.3 --> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/pom.xml index a9629979ff2..ce032c02f0e 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <properties> <xdb.version>19.3.0.0</xdb.version> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/pom.xml index bf6e5b8e2d9..2cb91c997ba 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/pom.xml index bf6cb1cf060..2ee88b5b557 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/pom.xml index 4f2626a45f6..8d32688631a 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/pom.xml index 5fd657fd4fd..445c81fe63d 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/pom.xml index 305df539c9b..a1e58be4eba 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/pom.xml index 4d1ad262c36..ecab375bf29 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/pom.xml index fef2c4e67c0..1538ffefd8a 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/pom.xml index 304cf1cff41..950ca56f8f3 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/pom.xml index cd1ad890bc6..e325f6e1c23 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/pom.xml index 8fb98a89951..5a05c0e94eb 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/pom.xml index 4c30cae8d57..7aa21ee5024 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/pom.xml index bdce45cb1b6..90049fd4f1c 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/pom.xml index 3302cf5ccbd..e9e20b07b2d 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/pom.xml index 5321ae7100c..48f1d73e8f8 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-source-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/flink-cdc-source-connectors/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/pom.xml index 7c3386ce90d..e92340bb4f6 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connect</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-connect/pom.xml b/flink-cdc-connect/pom.xml index 6b39006fe80..6296d165ae1 100644 --- a/flink-cdc-connect/pom.xml +++ b/flink-cdc-connect/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-dist/pom.xml b/flink-cdc-dist/pom.xml index 7b837c65f1e..2ebcd529b03 100644 --- a/flink-cdc-dist/pom.xml +++ b/flink-cdc-dist/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml b/flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml index be2f7c6da65..de787f16a2e 100644 --- a/flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml +++ b/flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-e2e-tests</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml index cf6d08eb52e..24f576d2516 100644 --- a/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml +++ b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-e2e-tests</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-e2e-tests/pom.xml b/flink-cdc-e2e-tests/pom.xml index a0b9418ff49..86e0de93776 100644 --- a/flink-cdc-e2e-tests/pom.xml +++ b/flink-cdc-e2e-tests/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/flink-cdc-runtime/pom.xml b/flink-cdc-runtime/pom.xml index b461440c092..a0e5ac2cf2a 100644 --- a/flink-cdc-runtime/pom.xml +++ b/flink-cdc-runtime/pom.xml @@ -19,7 +19,7 @@ under the License. <parent> <artifactId>flink-cdc-connectors</artifactId> <groupId>com.ververica</groupId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/pom.xml b/pom.xml index 242c50d95ce..c124df8bc14 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ under the License. <groupId>com.ververica</groupId> <artifactId>flink-cdc-connectors</artifactId> - <version>3.0-SNAPSHOT</version> + <version>${revision}</version> <packaging>pom</packaging> <modules> @@ -60,6 +60,7 @@ under the License. </distributionManagement> <properties> + <revision>3.0-SNAPSHOT</revision> <java.version>1.8</java.version> <scala.binary.version>2.12</scala.binary.version> <maven.compiler.source>${java.version}</maven.compiler.source> @@ -84,6 +85,7 @@ under the License. <commons-lang3.version>3.12.0</commons-lang3.version> <json-path.version>2.7.0</json-path.version> <markBundledAsOptional>true</markBundledAsOptional> + <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> </properties> <dependencies> @@ -465,6 +467,33 @@ under the License. <doclint>none</doclint> </configuration> </plugin> + + <!-- This plugin takes effect for Maven version upper more than 3.5.0 --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>${flatten-maven-plugin.version}</version> + <configuration> + <updatePomFile>true</updatePomFile> + <flattenMode>resolveCiFriendliesOnly</flattenMode> + </configuration> + <executions> + <execution> + <id>flatten</id> + <goals> + <goal>flatten</goal> + </goals> + <phase>process-resources</phase> + </execution> + <execution> + <id>flatten.clean</id> + <goals> + <goal>clean</goal> + </goals> + <phase>clean</phase> + </execution> + </executions> + </plugin> </plugins> </build>