您好,麻烦帮忙看下,执行mvn clean install时报错。谢谢。
pom文件如下
提供信息太少,放出所有日志。
盲猜你自己写的服务,在pom内的配置出了错
我这边install成功
报错信息如下: D:\project\bladex\BladeX>mvn clean complie [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'version' contains an expression but should be a constant. @ line 16, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-desk:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in htt ps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updat es are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-system:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in h ttps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or upd ates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 15, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-user:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in htt ps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updat es are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-course:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in h ttps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or upd ates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-school:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in h ttps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or upd ates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-client:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in h ttps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or upd ates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-market:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in h ttps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or upd ates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-setting:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or up dates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-order:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in ht tps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or upda tes are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [FATAL] Non-resolvable parent POM for org.springblade:blade-wechat:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in h ttps://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or upd ates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-auth:${bladex.project.version}, D:\project\bladex\BladeX\blade-auth\p om.xml, line 16, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-gateway:${bladex.project.version}, D:\project\bladex\BladeX\blade-gat eway\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-admin:${bladex.project.version}, D:\project\bladex\BladeX\blade-ops\b lade-admin\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-develop:${bladex.project.version}, D:\project\bladex\BladeX\blade-ops \blade-develop\pom.xml, line 16, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-flow:${bladex.project.version}, D:\project\bladex\BladeX\blade-ops\bl ade-flow\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-flow-design:${bladex.project.version}, D:\project\bladex\BladeX\blade -ops\blade-flow-design\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-log:${bladex.project.version}, D:\project\bladex\BladeX\blade-ops\bla de-log\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-resource:${bladex.project.version}, D:\project\bladex\BladeX\blade-op s\blade-resource\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-turbine:${bladex.project.version}, D:\project\bladex\BladeX\blade-ops \blade-turbine\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-zipkin:${bladex.project.version}, D:\project\bladex\BladeX\blade-ops\ blade-zipkin\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-xxljob:${bladex.project.version}, D:\project\bladex\BladeX\blade-ops\ blade-xxljob\pom.xml, line 13, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-xxljob-admin:${bladex.project.version}, D:\project\bladex\BladeX\blad e-ops\blade-xxljob-admin\pom.xml, line 13, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-service:${bladex.project.version}, D:\project\bladex\BladeX\blade-ser vice\pom.xml, line 16, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-desk-api:${bladex.project.version}, D:\project\bladex\BladeX\blade-se rvice-api\blade-desk-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-dict-api:${bladex.project.version}, D:\project\bladex\BladeX\blade-se rvice-api\blade-dict-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-scope-api:${bladex.project.version}, D:\project\bladex\BladeX\blade-s ervice-api\blade-scope-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-system-api:${bladex.project.version}, D:\project\bladex\BladeX\blade- service-api\blade-system-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-user-api:${bladex.project.version}, D:\project\bladex\BladeX\blade-se rvice-api\blade-user-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-course-api:${bladex.project.version}, D:\project\bladex\BladeX\blade- service-api\blade-course-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-school-api:${bladex.project.version}, D:\project\bladex\BladeX\blade- service-api\blade-school-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-client-api:${bladex.project.version}, D:\project\bladex\BladeX\blade- service-api\blade-client-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-market-api:${bladex.project.version}, D:\project\bladex\BladeX\blade- service-api\blade-market-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-setting-api:${bladex.project.version}, D:\project\bladex\BladeX\blade -service-api\blade-setting-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-order-api:${bladex.project.version}, D:\project\bladex\BladeX\blade-s ervice-api\blade-order-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-wechat-api:${bladex.project.version}, D:\project\bladex\BladeX\blade- service-api\blade-wechat-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-common:${bladex.project.version}, D:\project\bladex\BladeX\blade-comm on\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-flow-api:${bladex.project.version}, D:\project\bladex\BladeX\blade-op s-api\blade-flow-api\pom.xml, line 14, column 14 [WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-resource-api:${bladex.project.version}, D:\project\bladex\BladeX\blad e-ops-api\blade-resource-api\pom.xml, line 14, column 14 @ [ERROR] The build could not read 10 projects -> [Help 1] [ERROR] [ERROR] The project org.springblade:blade-desk:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-desk\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-desk:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or u pdates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-system:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-system\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-system:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-user:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-user\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-user:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or u pdates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-course:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-course\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-course:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-school:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-school\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-school:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-client:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-client\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-client:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-market:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-market\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-market:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-setting:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-setting\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-setting:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed o r updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-order:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-order\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-order:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE i n https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [ERROR] [ERROR] The project org.springblade:blade-wechat:${bladex.project.version} (D:\project\bladex\BladeX\blade-service\blade-wechat\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.springblade:blade-wechat:${bladex.project.version}: Failure to find org.springblade:blade-service:pom:2.5.0.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
pom文件如下:
<?xml version="1.0"?>org.springblade BladeX 2.5.0.RELEASE 4.0.0 blade-service ${project.artifactId} ${bladex.project.version} pom BladeX 微服务集合 blade-desk blade-system blade-user blade-course blade-school blade-client blade-market blade-setting blade-order blade-wechat org.springblade blade-common org.springblade blade-starter-tenant org.springblade blade-dict-api ${bladex.project.version} org.springblade blade-scope-api ${bladex.project.version} com.spotify docker-maven-plugin ${docker.plugin.version} ${docker.registry.url}/blade/${project.artifactId}:${project.version} ${project.basedir} ${docker.registry.host} / ${project.build.directory} ${project.build.finalName}.jar ${docker.registry.url} ${docker.registry.url} true
扫一扫访问 Blade技术社区 移动端