This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new 541794add fix(java): fix java ci maven module error (#3265)
541794add is described below
commit 541794adda2c8a77caf19624db6495deda509ca0
Author: Shawn Yang <[email protected]>
AuthorDate: Thu Feb 5 18:56:15 2026 +0800
fix(java): fix java ci maven module error (#3265)
## Why?
## What does this PR do?
## Related issues
## Does this PR introduce any user-facing change?
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
---
ci/run_ci.sh | 4 ++--
ci/tasks/java.py | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/ci/run_ci.sh b/ci/run_ci.sh
index 9a70b49ce..026d19772 100755
--- a/ci/run_ci.sh
+++ b/ci/run_ci.sh
@@ -166,7 +166,7 @@ install_jdks() {
graalvm_test() {
cd "$ROOT"/java
- mvn -T10 -B --no-transfer-progress clean install -DskipTests -pl
'!:fory-format,!:fory-testsuite'
+ mvn -T10 -B --no-transfer-progress clean install -DskipTests -pl
'!:fory-testsuite'
echo "Start to build graalvm native image"
cd "$ROOT"/integration_tests/graalvm_tests
mvn -DskipTests=true --no-transfer-progress -Pnative package
@@ -233,7 +233,7 @@ windows_java21_test() {
echo "Executing fory java tests"
cd "$ROOT/java"
set +e
- mvn -T10 --batch-mode --no-transfer-progress test install -pl
'!fory-format,!fory-testsuite'
+ mvn -T10 --batch-mode --no-transfer-progress test install -pl
'!fory-testsuite'
testcode=$?
if [[ $testcode -ne 0 ]]; then
exit $testcode
diff --git a/ci/tasks/java.py b/ci/tasks/java.py
index 4a740fd22..2ac0eb9f4 100644
--- a/ci/tasks/java.py
+++ b/ci/tasks/java.py
@@ -186,11 +186,11 @@ def run_windows_java21():
# Use double quotes for Windows compatibility
if common.is_windows():
common.exec_cmd(
- 'mvn -T10 --batch-mode --no-transfer-progress test install -pl
"!fory-format,!fory-testsuite"'
+ 'mvn -T10 --batch-mode --no-transfer-progress test install -pl
"!fory-testsuite"'
)
else:
common.exec_cmd(
- "mvn -T10 --batch-mode --no-transfer-progress test install -pl
'!fory-format,!fory-testsuite'"
+ "mvn -T10 --batch-mode --no-transfer-progress test install -pl
'!fory-testsuite'"
)
logging.info("Executing fory java tests succeeds")
@@ -205,7 +205,7 @@ def run_integration_tests():
common.cd_project_subdir("java")
common.exec_cmd(
- "mvn -T10 -B --no-transfer-progress clean install -DskipTests -pl
'!:fory-format,!:fory-testsuite'"
+ "mvn -T10 -B --no-transfer-progress clean install -DskipTests -pl
'!:fory-testsuite'"
)
logging.info("benchmark tests")
@@ -258,7 +258,7 @@ def run_graalvm_test():
common.cd_project_subdir("java")
common.exec_cmd(
- "mvn -T10 -B --no-transfer-progress clean install -DskipTests -pl
'!:fory-format,!:fory-testsuite'"
+ "mvn -T10 -B --no-transfer-progress clean install -DskipTests -pl
'!:fory-testsuite'"
)
logging.info("Start to build graalvm native image")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]