-
Notifications
You must be signed in to change notification settings - Fork 17
Description
将所有maven包下载到本地仓库后执行安装报错
app@exchange:/data/projects/FATE-Cloud/cloud-manager/deploy/scripts$ sh deploy.sh all install
[INFO] Installing cloud-manager start-------
/data/projects/FATE-Cloud/cloud-manager/deploy/scripts/cloud-manager
/data/projects/FATE-Cloud/cloud-manager/deploy/scripts/packages
/data/projects/FATE-Cloud
start packaging
start execute mvn build
[INFO] Scanning for projects...
[INFO] Artifact org.apache.maven:maven-artifact:jar:3.5.3 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases), sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, default, snapshots), apache.snapshots (https://repository.apache.org/snapshots, default, snapshots)]
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/3.5.3/maven-artifact-3.5.3.jar
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin kr.motd.maven:os-maven-plugin:1.6.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-artifact:jar:3.5.3 (present, but unavailable): Could not transfer artifact org.apache.maven:maven-artifact:jar:3.5.3 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.webank.ai:cloud-manager:1.4.1 (/data/projects/FATE-Cloud/cloud-manager/pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin kr.motd.maven:os-maven-plugin:1.6.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-artifact:jar:3.5.3 (present, but unavailable): Could not transfer artifact org.apache.maven:maven-artifact:jar:3.5.3 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [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/PluginManagerException