example 프로젝트 생성후 빌드 오류입니다
- 작성자 :
- 손*주
- 작성일 :
- 2011-08-24 13:20:09
- 조회수 :
- 2,210
- 구분 :
- 실행환경
- 진행상태 :
- 완료
Q
[ERROR]
Maven cannot calculate your build plan, given the following information:
Tasks:
- install
Current project:
Group-Id: test.com
Artifact-Id: sample
Version: 1.0.0
From file: C:\workspace\sample\pom.xml
Error message: Failed to resolve plugin for mojo binding: org.apache.maven.plugins:maven-resources-plugin:2.2:resources
Root error message: Not a v4.0.0 POM. for project org.apache.maven.plugins:maven-resources-plugin at D:\maven\repository\org\apache\maven\plugins\maven-resources-plugin\2.2\maven-resources-plugin-2.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 33 seconds
[INFO] Finished at: Wed Aug 24 10:44:11 KST 2011
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------
pom.xml repository는 다음과 같이 설정되어 있습니다.
<repositories>
<repository>
<id>mvn2</id>
<url>http://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jboss</id>
<url>http://repository.jboss.com/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>atlassian</id>
<url>http://maven.atlassian.com/repository/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>egovframe</id>
<url>http://www.egovframe.go.kr/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
빌드가 안되는데 원인이 무엇인지 알려주시면 감사.^^
org.apache.maven.plugins 이 제대로 다운로드 되지않는것 같습니다.
Maven cannot calculate your build plan, given the following information:
Tasks:
- install
Current project:
Group-Id: test.com
Artifact-Id: sample
Version: 1.0.0
From file: C:\workspace\sample\pom.xml
Error message: Failed to resolve plugin for mojo binding: org.apache.maven.plugins:maven-resources-plugin:2.2:resources
Root error message: Not a v4.0.0 POM. for project org.apache.maven.plugins:maven-resources-plugin at D:\maven\repository\org\apache\maven\plugins\maven-resources-plugin\2.2\maven-resources-plugin-2.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 33 seconds
[INFO] Finished at: Wed Aug 24 10:44:11 KST 2011
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------
pom.xml repository는 다음과 같이 설정되어 있습니다.
<repositories>
<repository>
<id>mvn2</id>
<url>http://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jboss</id>
<url>http://repository.jboss.com/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>atlassian</id>
<url>http://maven.atlassian.com/repository/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>egovframe</id>
<url>http://www.egovframe.go.kr/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
빌드가 안되는데 원인이 무엇인지 알려주시면 감사.^^
org.apache.maven.plugins 이 제대로 다운로드 되지않는것 같습니다.
A
안녕하세요.. 손봉주님..
해당 pom.xml 자체가 POM model 4.0이 아니라는 오류인데..
다음 파일을 첨부로 올려봐 주십시오..
D:\maven\repository\org\apache\maven\plugins\maven-resources-plugin\2.2\maven-resources-plugin-2.2.pom
그리고 사용하시는 eclipse 버전도 같이 올려 주십시오.
그럼.. 즐거운 하루되십시오.
감사합니다.
해당 pom.xml 자체가 POM model 4.0이 아니라는 오류인데..
다음 파일을 첨부로 올려봐 주십시오..
D:\maven\repository\org\apache\maven\plugins\maven-resources-plugin\2.2\maven-resources-plugin-2.2.pom
그리고 사용하시는 eclipse 버전도 같이 올려 주십시오.
그럼.. 즐거운 하루되십시오.
감사합니다.