This is an automated email from the ASF dual-hosted git repository.
zrlw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-integration-cases.git
The following commit(s) were added to refs/heads/main by this push:
new f7cc3db1 Show target directories for dependency issue checking (#83)
f7cc3db1 is described below
commit f7cc3db10d0b1d90cdf59d4dd4d77b8db06b0e24
Author: zrlw <[email protected]>
AuthorDate: Wed Nov 12 16:27:10 2025 +0800
Show target directories for dependency issue checking (#83)
---
.../java/org/apache/dubbo/scenario/builder/ConfigurationImpl.java | 1 +
test/run-tests.sh | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git
a/test/dubbo-scenario-builder/src/main/java/org/apache/dubbo/scenario/builder/ConfigurationImpl.java
b/test/dubbo-scenario-builder/src/main/java/org/apache/dubbo/scenario/builder/ConfigurationImpl.java
index 02de8792..f10861fb 100644
---
a/test/dubbo-scenario-builder/src/main/java/org/apache/dubbo/scenario/builder/ConfigurationImpl.java
+++
b/test/dubbo-scenario-builder/src/main/java/org/apache/dubbo/scenario/builder/ConfigurationImpl.java
@@ -265,6 +265,7 @@ public class ConfigurationImpl implements IConfiguration {
//mount ${project.basedir}/target : DUBBO_APP_DIR
String targetPath = new File(service.getBasedir(),
"target").getCanonicalPath();
service.getVolumes().add(targetPath + ":" + DUBBO_APP_DIR);
+ logger.info("mount " + targetPath + " to " + DUBBO_APP_DIR);
//mount ${scenario_home}/logs : DUBBO_LOG_DIR
service.getVolumes().add(scenarioLogDir + ":" + DUBBO_LOG_DIR);
diff --git a/test/run-tests.sh b/test/run-tests.sh
index 1bccd262..b0f3473c 100755
--- a/test/run-tests.sh
+++ b/test/run-tests.sh
@@ -191,8 +191,7 @@ function process_case() {
find . -name target -d | xargs -I {} sudo rm -rf {}
fi
- # output all dependencies to the same directory (each module of multiple
module project has its own dependency output directory by default)
- mvn $BUILD_OPTS $version_profile
-DoutputDirectory=$project_home/target/dependency &> $project_home/mvn.log
+ mvn $BUILD_OPTS $version_profile &> $project_home/mvn.log
result=$?
if [ $result -ne 0 ]; then
echo "$log_prefix $TEST_FAILURE: Build failure with version:
$version_profile, please check log: $project_home/mvn.log" | tee -a
$testResultFile
@@ -202,6 +201,9 @@ function process_case() {
return 1
fi
+ # echo target directories
+ find `pwd` -name target -print
+
# generate case configuration
mkdir -p $scenario_home/logs
scenario_builder_log=$scenario_home/logs/scenario-builder.log