DBZ-3647 Change property as conflicts with javadoc plugin
This commit is contained in:
parent
5af8e58c68
commit
c933c03f26
@ -79,7 +79,7 @@ jobs:
|
||||
- name: Build core
|
||||
run: mvn clean install -f core/pom.xml -DskipTests -DskipITs -Dformat.formatter.goal=validate -Dformat.imports.goal=check
|
||||
- name: Build sink
|
||||
run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtags=it-db2,e2e-db2 -Dsource.connectors=mysql,postgres,sqlserver
|
||||
run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtest.tags=it-db2,e2e-db2 -Dsource.connectors=mysql,postgres,sqlserver
|
||||
|
||||
# Build step that checks out the source, builds, and includes the integration and the
|
||||
# end to end tests for MySQL as part of the build step.
|
||||
@ -111,7 +111,7 @@ jobs:
|
||||
- name: Build core
|
||||
run: mvn clean install -f core/pom.xml -DskipTests -DskipITs -Dformat.formatter.goal=validate -Dformat.imports.goal=check
|
||||
- name: Build sink
|
||||
run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtags=it-mysql,e2e-mysql -Dsource.connectors=mysql,postgres,sqlserver
|
||||
run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtest.tags=it-mysql,e2e-mysql -Dsource.connectors=mysql,postgres,sqlserver
|
||||
|
||||
# Build step that checks out the source, builds, and includes the integration and the
|
||||
# end to end tests for Oracle as part of the build step.
|
||||
@ -143,7 +143,7 @@ jobs:
|
||||
# - name: Build core
|
||||
# run: mvn clean install -f core/pom.xml -DskipTests -DskipITs -Dformat.formatter.goal=validate -Dformat.imports.goal=check
|
||||
# - name: Build sink
|
||||
# run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtags=it-oracle,e2e-oracle -Dsource.connectors=mysql,postgres,sqlserver
|
||||
# run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtest.tags=it-oracle,e2e-oracle -Dsource.connectors=mysql,postgres,sqlserver
|
||||
|
||||
# Build step that checks out the source, builds, and includes the integration and the
|
||||
# end to end tests for PostgreSQL as part of the build step.
|
||||
@ -175,7 +175,7 @@ jobs:
|
||||
- name: Build core
|
||||
run: mvn clean install -f core/pom.xml -DskipTests -DskipITs -Dformat.formatter.goal=validate -Dformat.imports.goal=check
|
||||
- name: Build sink
|
||||
run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtags=it-postgresql,e2e-postgresql -Dsource.connectors=mysql,postgres,sqlserver
|
||||
run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtest.tags=it-postgresql,e2e-postgresql -Dsource.connectors=mysql,postgres,sqlserver
|
||||
|
||||
# Build step that checks out the source, builds, and includes the integration and the
|
||||
# end to end tests for SQL Server as part of the build step.
|
||||
@ -207,4 +207,4 @@ jobs:
|
||||
- name: Build core
|
||||
run: mvn clean install -f core/pom.xml -DskipTests -DskipITs -Dformat.formatter.goal=validate -Dformat.imports.goal=check
|
||||
- name: Build sink
|
||||
run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtags=it-sqlserver,e2e-sqlserver -Dsource.connectors=mysql,postgres,sqlserver
|
||||
run: mvn clean install -f jdbc/pom.xml -B -Passembly -Dtest.tags=it-sqlserver,e2e-sqlserver -Dsource.connectors=mysql,postgres,sqlserver
|
||||
|
@ -115,26 +115,26 @@ There are three types of types in the test suite:
|
||||
By default all unit tests are executed as a part of the build.
|
||||
The sink-based integration tests are only executed for MySQL, PostgreSQL, and SQL Server by default, while none of the end-to-end matrix-based tests are executed.
|
||||
|
||||
In order to execute the sink-based integration tests for Oracle and DB2, the `-Dtags` argument must be provided to include these in the build.
|
||||
In order to execute the sink-based integration tests for Oracle and DB2, the `-Dtest.tags` argument must be provided to include these in the build.
|
||||
In order to do this, add all the integration tests to be executed, as shown below for all databases:
|
||||
|
||||
$ ./mvnw clean install -Dtags=it-mysql,it-postgresql,it-sqlserver,it-oracle,it-db2
|
||||
$ ./mvnw clean install -Dtest.tags=it-mysql,it-postgresql,it-sqlserver,it-oracle,it-db2
|
||||
|
||||
In order to run all sink-based integration tests for all databases, a short-cut tag is provided:
|
||||
|
||||
$ ./mvnw clean install -Dtags=it
|
||||
$ ./mvnw clean install -Dtest.tags=it
|
||||
|
||||
Similarly, in order to enable specific end to end tests, the `-Dtags` argument can also be supplied with the necessary tags for each sink database type:
|
||||
Similarly, in order to enable specific end to end tests, the `-Dtest.tags` argument can also be supplied with the necessary tags for each sink database type:
|
||||
|
||||
$ ./mvnw clean install -Dtags=e2e-mysql,e2e-postgresql,e2e-sqlserver,e2e-oracle,e2e-db2
|
||||
$ ./mvnw clean install -Dtest.tags=e2e-mysql,e2e-postgresql,e2e-sqlserver,e2e-oracle,e2e-db2
|
||||
|
||||
In order to run all end to end integration tests, a short-cut tag is provided as well:
|
||||
|
||||
$ ./mvnw clean install -Dtags=e2e
|
||||
$ ./mvnw clean install -Dtest.tags=e2e
|
||||
|
||||
In order to run all tests for all source/sink combinations:
|
||||
|
||||
$ ./mvnw clean install -Dtags=all
|
||||
$ ./mvnw clean install -Dtest.tags=all
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
e2e - runs all end to end tests
|
||||
all - runs all integration and end to end tests
|
||||
-->
|
||||
<tags>it-mysql,it-postgresql,it-sqlserver</tags>
|
||||
<test.tags>it-mysql,it-postgresql,it-sqlserver</test.tags>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
@ -294,7 +294,7 @@
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<groups>${tags}</groups>
|
||||
<groups>${test.tags}</groups>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Override maven-checkstyle-plugin configuration to ignore target/generated-sources -->
|
||||
|
Loading…
Reference in New Issue
Block a user