-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
快速部署maven报错 #981
Comments
已解决,pom maven地址 修改pom.xml 配置文件。 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 修改为 https://maven.apache.org/xsd/maven-4.0.0.xsd"> ,重新mvn 即可 |
后面 maven错误。[INFO] --- frontend-maven-plugin:1.6:npm (npm save core-js@3) @ cmdb-ui --- |
请参看重构的2.x版本(go语言)。 |
描述您遇到的bug
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.1.3.RELEASE/spring-boot-starter-parent-2.1.3.RELEASE.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'version' contains an expression but should be a constant. @ line 21, column 11
[FATAL] Non-resolvable parent POM for com.webank.cmdb:cmdb:${cmdb.version}: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.3.RELEASE from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.1.3.RELEASE/spring-boot-starter-parent-2.1.3.RELEASE.pom and 'parent.relativePath' points at no local POM @ line 6, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.webank.cmdb:cmdb:${cmdb.version} (/app/we-cmdb/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.webank.cmdb:cmdb:${cmdb.version}: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.3.RELEASE from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.1.3.RELEASE/spring-boot-starter-parent-2.1.3.RELEASE.pom and 'parent.relativePath' points at no local POM @ line 6, column 10: Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.40.215] failed: Connection timed out (Connection timed out) -> [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
如何重现
拉取代码 mvn clean package -Dmaven.test.skip=true
预期行为
截图
附加
The text was updated successfully, but these errors were encountered: