错误:
Failed to execute goal on project service_base: Could not resolve dependencies for project
com.atguigu:service_base:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at
com.atguigu:common_utils:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for
com.atguigu:common_utils:jar:0.0.1-SNAPSHOT: Could not find artifact
com.atguigu:common:pom:0.0.1-SNAPSHOT -> [Help 1]
解决方法:
package: com.li
或者你不嫌麻烦的话 直接在Jenkins流水线里添加 sh "mvn clean install -DskipTests"
这样也能确保maven仓库中有父工程pom文件
成功截图: