一、该问题的重现步骤是什么?
1.
2.
FO] ---------------------< org.springblade:blade-auth >---------------------
[INFO] Building blade-auth 4.3.0.RELEASE [8/28]
[INFO] from blade-auth\pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ blade-auth ---
[INFO] Deleting D:\backEndSpace\BladeX\blade-auth\target
[INFO]
[INFO] --- flatten:1.3.0:clean (flatten.clean) @ blade-auth ---
[INFO] Deleting D:\backEndSpace\BladeX\blade-auth\.flattened-pom.xml
[INFO]
[INFO] --- directory:1.0:highest-basedir (directories) @ blade-auth ---
[INFO] Highest basedir set to: D:\backEndSpace\BladeX
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ blade-auth ---
[INFO] Copying 4 resources from src\main\resources to target\classes
[INFO] Copying 0 resource from src\main\java to target\classes
[INFO]
[INFO] --- flatten:1.3.0:flatten (flatten) @ blade-auth ---
[INFO] Generating flattened POM of project org.springblade:blade-auth:jar:4.3.0.RELEASE...
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ blade-auth ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 14 source files with javac [debug target 17] to target\classes
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ blade-auth ---
[INFO] skip non existing resourceDirectory D:\backEndSpace\BladeX\blade-auth\src\test\resources
[INFO]
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ blade-auth ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 3 source files with javac [debug target 17] to target\test-classes
[INFO]
[INFO] --- surefire:3.2.2:test (default-test) @ blade-auth ---
[INFO]
[INFO] --- jar:3.3.0:jar (default-jar) @ blade-auth ---
[INFO] Building jar: D:\backEndSpace\BladeX\blade-auth\target\blade-auth.jar
[INFO]
[INFO] --- spring-boot:3.2.10:repackage (default) @ blade-auth ---
[WARNING] Parameter 'finalName' is read-only, must not be used in configuration
[INFO] Replacing main artifact D:\backEndSpace\BladeX\blade-auth\target\blade-auth.jar with repackaged archive, adding nested dependencies in BOOT-INF/.
[INFO] The original artifact has been renamed to D:\backEndSpace\BladeX\blade-auth\target\blade-auth.jar.original
[INFO]
[INFO] --- antrun:3.1.0:run (default) @ blade-auth ---
[INFO] Executing tasks
[INFO] [copy] Copying 1 file to D:\backEndSpace\BladeX\target
[INFO] Executed tasks
[INFO]
[INFO] --- docker:0.42.0:build (default-cli) @ blade-auth ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for BladeX 4.3.0.RELEASE:
[INFO]
[INFO] BladeX ............................................. SUCCESS [ 1.965 s]
[INFO] blade-common ....................................... SUCCESS [ 3.521 s]
[INFO] blade-service-api .................................. SUCCESS [ 0.426 s]
[INFO] blade-user-api ..................................... SUCCESS [ 2.801 s]
[INFO] blade-system-api ................................... SUCCESS [ 3.079 s]
[INFO] blade-ops-api ...................................... SUCCESS [ 0.189 s]
[INFO] blade-resource-api ................................. SUCCESS [ 2.541 s]
[INFO] blade-auth ......................................... FAILURE [ 6.989 s]
[INFO] blade-gateway ...................................... SKIPPED
[INFO] blade-ops .......................................... SKIPPED
[INFO] blade-admin ........................................ SKIPPED
[INFO] blade-dict-api ..................................... SKIPPED
[INFO] blade-develop ...................................... SKIPPED
[INFO] blade-scope-api .................................... SKIPPED
[INFO] blade-flow-api ..................................... SKIPPED
[INFO] blade-flow ......................................... SKIPPED
[INFO] blade-job .......................................... SKIPPED
[INFO] blade-log .......................................... SKIPPED
[INFO] blade-report ....................................... SKIPPED
[INFO] blade-resource ..................................... SKIPPED
[INFO] blade-plugin ....................................... SKIPPED
[INFO] blade-plugin-api ................................... SKIPPED
[INFO] blade-desk-api ..................................... SKIPPED
[INFO] blade-service ...................................... SKIPPED
[INFO] blade-desk ......................................... SKIPPED
[INFO] blade-system ....................................... SKIPPED
[INFO] blade-visual-api ................................... SKIPPED
[INFO] blade-visual ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.966 s
[INFO] Finished at: 2024-12-16T16:17:53+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.42.0:build (default-cli) on project blade-auth: Execution default-cli
of goal io.fabric8:docker-maven-plugin:0.42.0:build failed: No <dockerHost> given,
no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '//./pipe/docker_engine'
and no external provider like Docker machine configured -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :blade-auth
3.
二、你期待的结果是什么?实际看到的又是什么?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
四、请提供详细的错误堆栈信息,这很重要。
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端