哪里可以做网站系统,网站建设分享,什么叫 营销型网站,天津市南开区网站开发有限公司前言
普元EOS的开发包中#xff0c;提供了maven#xff0c;因为EOS项目的某些依赖只能从普元官方仓库获取#xff0c;因此#xff0c;编译EOS项目必须使用EOS提供的maven。 maven拉取依赖失败
某些版本的EOS提供的maven在编译EOS项目的时候会出现拉取失败的现象。
[FATA…前言
普元EOS的开发包中提供了maven因为EOS项目的某些依赖只能从普元官方仓库获取因此编译EOS项目必须使用EOS提供的maven。 maven拉取依赖失败
某些版本的EOS提供的maven在编译EOS项目的时候会出现拉取失败的现象。
[FATAL] Non-resolvable parent POM for com.primeton.eos:express10:1.0.0: The following artifacts could not be resolved: com.primeton.eos:eos-pom:pom:8.3.1 (absent): Could not transfer artifact com.primeton.eos:eos-pom:pom:8.3.1 from/to primeton-public-repository (http://ge.primeton.com:31100/repository/primeton_public_repositories/): Connect to ge.primeton.com:31100 [ge.primeton.com/101.230.129.77] failed: Connection refused: connect and parent.relativePath points at wrong local POM line 4, column 13
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR] The project com.primeton.eos:express10:1.0.0 (D:\primeton\eos-8.3.1-dev\ide\workspace\express10\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.primeton.eos:express10:1.0.0: The following artifacts could not be resolved: com.primeton.eos:eos-pom:pom:8.3.1 (absent): Could not transfer artifact com.primeton.eos:eos-pom:pom:8.3.1 from/to primeton-public-repository (http://ge.primeton.com:31100/repository/primeton_public_repositories/): Connect to ge.primeton.com:31100 [ge.primeton.com/101.230.129.77] failed: Connection refused: connect and parent.relativePath points at wrong local POM line 4, column 13 - [Help 2] 解决方案
熟悉maven的同学可以看出这是maven的settings.xml文件出了问题。
替换 settings.xml文件如下即可
?xml version1.0 encodingUTF-8?
settings xmlnshttp://maven.apache.org/SETTINGS/1.0.0xmlns:xsihttp://www.w3.org/2001/XMLSchema-instancexsi:schemaLocationhttp://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsdlocalRepositoryd:/primeton/eos-8.3-dev/repository/localRepositorymirrorsmirroridmirror/idmirrorOfcentral,jcenter,!aliyun-rdc-releases,!aliyun-rdc-snapshots/mirrorOfnamemirror/nameurlhttps://maven.aliyun.com/nexus/content/groups/public/url/mirror/mirrorsprofilesprofileidprimeton/idrepositoriesrepositoryidcentral/idurlhttps://maven.aliyun.com/nexus/content/groups/public/urlreleasesenabledtrue/enabled/releasessnapshotsenabledfalse/enabled/snapshots/repositoryrepositoryidsnapshots/idurlhttps://maven.aliyun.com/nexus/content/groups/public/urlreleasesenabledfalse/enabled/releasessnapshotsenabledtrue/enabled/snapshots/repositoryrepositoryidaliyun-rdc-releases/idurlhttps://packages.aliyun.com/maven/repository/2208165-release-FizKV7//urlreleasesenabledtrue/enabled/releasessnapshotsenabledfalse/enabled/snapshots/repositoryrepositoryidaliyun-rdc-snapshots/idurlhttps://packages.aliyun.com/maven/repository/2208165-snapshot-deBt2F//urlreleasesenabledfalse/enabled/releasessnapshotsenabledtrue/enabled/snapshots/repositoryrepositoryidprimeton-solution-release/idurlhttp://ge.primeton.com:31100/repository/solution-release/urlreleasesenabledtrue/enabled/releasessnapshotsenabledfalse/enabled/snapshots/repositoryrepositoryidprimeton-solution-snapshot/idurlhttp://ge.primeton.com:31100/repository/solution-snapshot/urlreleasesenabledfalse/enabled/releasessnapshotsenabledtrue/enabled/snapshots/repositoryrepositoryidprimeton-solution-public/idurlhttp://ge.primeton.com:31100/repository/solution-public/urlreleasesenabledtrue/enabled/releasessnapshotsenabledtrue/enabled/snapshots/repository/repositoriespluginRepositoriespluginRepositoryidcentral/idurlhttps://maven.aliyun.com/nexus/content/groups/public/urlreleasesenabledtrue/enabled/releasessnapshotsenabledfalse/enabled/snapshots/pluginRepositorypluginRepositoryidsnapshots/idurlhttps://maven.aliyun.com/nexus/content/groups/public/urlreleasesenabledfalse/enabled/releasessnapshotsenabledtrue/enabled/snapshots/pluginRepositorypluginRepositoryidaliyun-rdc-releases/idurlhttps://packages.aliyun.com/maven/repository/2208165-release-FizKV7//urlreleasesenabledtrue/enabled/releasessnapshotsenabledfalse/enabled/snapshots/pluginRepositorypluginRepositoryidaliyun-rdc-snapshots/idurlhttps://packages.aliyun.com/maven/repository/2208165-snapshot-deBt2F//urlreleasesenabledfalse/enabled/releasessnapshotsenabledtrue/enabled/snapshots/pluginRepository/pluginRepositories/profile/profilesactiveProfilesactiveProfileprimeton/activeProfile/activeProfilesserversserveridaliyun-rdc-releases/idusername623db7e13c6b5273a0764cb4/usernamepasswordUP1dH-IITR[I/password/serverserveridaliyun-rdc-snapshots/idusername623db7e13c6b5273a0764cb4/usernamepasswordUP1dH-IITR[I/password/server/servers
/settings