개발환경 구성 문의(2)
- 작성자 :
- 장*배
- 작성일 :
- 2012-12-26 10:33:03
- 조회수 :
- 1,237
- 구분 :
- 개발환경
- 진행상태 :
- 완료
Q
1차 답변을 주신것을 바탕으로 진행을 하였으나 동일한 현상이 발생합니다.
에러는 다음과 같습니다.
===============================================================
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'eGov_Demo'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.5 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.
혹 maven\repository의 settings.xml파일 설정의 문제일까요?
settings.xml 파일의 활성화 된 부분은 다음과 같습니다
<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>C:\eGovFrameDev-2.5.0-FullVer\maven\repository</localRepository>
</settings>
에러는 다음과 같습니다.
===============================================================
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'eGov_Demo'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.5 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.
혹 maven\repository의 settings.xml파일 설정의 문제일까요?
settings.xml 파일의 활성화 된 부분은 다음과 같습니다
<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>C:\eGovFrameDev-2.5.0-FullVer\maven\repository</localRepository>
</settings>
A
안녕하세요.. 장근배님..
이전 인터넷 연결이 되지 않는 환경에서 한번 캐쉬가 되어.. 해당 오류가 발생하는 것 같습니다.
우선.. settings.xml 상에서.. <offline /> 항목이 false로 되어 있는지 확인하시고..
(인터넷이 연결된 상태)
command 명령어 상태로 해당 프로젝트 상위 디렉토리로 이동하신 후에..
mvn -U package
명령을 해보십시오..
-U 옵션은 local repository 캐쉬된 정보를 다시 업데이트 하는 옵션입니다. (dependency 등을 새로 받음)
그럼.. 즐거운 하루되십시오.
감사합니다.
이전 인터넷 연결이 되지 않는 환경에서 한번 캐쉬가 되어.. 해당 오류가 발생하는 것 같습니다.
우선.. settings.xml 상에서.. <offline /> 항목이 false로 되어 있는지 확인하시고..
(인터넷이 연결된 상태)
command 명령어 상태로 해당 프로젝트 상위 디렉토리로 이동하신 후에..
mvn -U package
명령을 해보십시오..
-U 옵션은 local repository 캐쉬된 정보를 다시 업데이트 하는 옵션입니다. (dependency 등을 새로 받음)
그럼.. 즐거운 하루되십시오.
감사합니다.