하나의 Ubuntu 시스템에서 작동하지만 다른 시스템에서 작동하지 않는 Maven 프로젝트를 컴파일하려고하는데 이유를 모르겠습니다. Play 프레임 워크를 사용합니다. 프로젝트의 pom.xml 파일의 시작은 포함 : 나는 다른에서 복사Maven을 사용하는 Play 프레임 워크 프로젝트에서 "해결할 수없는 부모 POM"
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project ... pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.play:play-parent:pom:1.1 in
http://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 11 -> [Help 2]
메이븐 Settings.XML의 파일 :
<parent>
<groupId>org.play</groupId>
<artifactId>play-parent</artifactId>
<version>1.1</version>
</parent>
내가 MVN 설치 실행하면, 나는이 오류 기계 포함 : 나는 플레이 프레임 워크를 설치하고 재생 받는다는 모듈 설치 지시에 따라 "받는다는 설치 플레이"달렸다
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers>
artifactory ids, logins and passwords
</servers>
<mirrors/>
<proxies/>
<profiles/>
<activeProfiles/>
</settings>
: http://www.playframework.org/modules/maven-1.0/home 내가 어디에 든 메이븐을 말할 필요가 있으리라 믿고있어를이 모드 ule입니다. pom.xml 파일을 다른 컴퓨터에서 작동하는 것처럼 수정하고 싶지 않고 차라리 더 좋은 방법으로이 문제를 해결할 것입니다.
무엇이 잘못되었거나 내가 할 수있는 것에 대한 힌트가있는 사람이 있습니까?
"다른 컴퓨터에는 다른 컴퓨터로 복사 한 settings.xml 파일이 있습니다." - settings.xml 파일에 * what *이 있습니까? settings.xml 파일을 설명하는 답변을 원할 경우 질문에 파일의 내용을 포함시켜야합니다. – eis
감사합니다. :) –