diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index cb3f87799dd..7c99750d09e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,9 +31,11 @@ jobs: with: languages: ${{ matrix.language }} - - run: ./mvnw -T 4C clean install -DskipTests - # step 3 + - name: "Build" + run: ./mvnw -T 4C clean compile -e -B -Dmaven.frontend.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + + # step 4 - name: "Perform CodeQL Analysis" uses: github/codeql-action/analyze@v3 with: diff --git a/build/pom.xml b/build/pom.xml index c9038af9894..3093c01af09 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -137,6 +137,7 @@ true false true + false @@ -246,6 +247,9 @@ com.github.eirslett frontend-maven-plugin ${frontend-maven-plugin.version} + + ${maven.frontend.skip} + diff --git a/common/src/main/java/org/apache/seata/common/util/SizeUtil.java b/common/src/main/java/org/apache/seata/common/util/SizeUtil.java old mode 100755 new mode 100644 diff --git a/common/src/test/java/org/apache/seata/common/util/SizeUtilTest.java b/common/src/test/java/org/apache/seata/common/util/SizeUtilTest.java old mode 100755 new mode 100644 diff --git a/compressor/seata-compressor-zstd/src/main/resources/META-INF/services/org.apache.seata.core.compressor.Compressor b/compressor/seata-compressor-zstd/src/main/resources/META-INF/services/org.apache.seata.core.compressor.Compressor old mode 100755 new mode 100644 diff --git a/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/Field.java b/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/Field.java old mode 100755 new mode 100644 diff --git a/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/Row.java b/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/Row.java old mode 100755 new mode 100644 diff --git a/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/TableRecords.java b/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/TableRecords.java old mode 100755 new mode 100644 diff --git a/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java b/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/AbstractTableMetaCache.java old mode 100755 new mode 100644 diff --git a/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java b/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java old mode 100755 new mode 100644 diff --git a/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java b/rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/MysqlTableMetaCache.java old mode 100755 new mode 100644 diff --git a/test/src/test/resources/saga/spring/statemachine_engine_db_mockserver_test.xml b/test/src/test/resources/saga/spring/statemachine_engine_db_mockserver_test.xml index b0124b77517..7a0e7304484 100644 --- a/test/src/test/resources/saga/spring/statemachine_engine_db_mockserver_test.xml +++ b/test/src/test/resources/saga/spring/statemachine_engine_db_mockserver_test.xml @@ -1,70 +1,70 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/src/test/resources/saga/spring/statemachine_engine_db_test.xml b/test/src/test/resources/saga/spring/statemachine_engine_db_test.xml index c4017264648..4263fa31b96 100644 --- a/test/src/test/resources/saga/spring/statemachine_engine_db_test.xml +++ b/test/src/test/resources/saga/spring/statemachine_engine_db_test.xml @@ -1,72 +1,72 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/src/test/resources/saga/spring/statemachine_engine_test.xml b/test/src/test/resources/saga/spring/statemachine_engine_test.xml index 908b4b38a4b..a16f91c6f22 100644 --- a/test/src/test/resources/saga/spring/statemachine_engine_test.xml +++ b/test/src/test/resources/saga/spring/statemachine_engine_test.xml @@ -1,47 +1,47 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file