maven 빌드시 에러납니다.
- 작성자 :
- 김*선
- 작성일 :
- 2011-12-26 17:03:56
- 조회수 :
- 3,077
- 구분 :
- 개발환경
- 진행상태 :
- 완료
Q
안녕하세요?
표준프레임워크2.0으로 프로젝트 진행중인데요.
예전에는 잘 되었는데,
새로운 컴퓨터에 세팅하려하는데 maven 빌드부터 에러가 나서요.
내용은
11. 12. 26 오후 4시 23분 15초: [WARN] For this reason, future Maven versions might no longer support building such malformed projects.
11. 12. 26 오후 4시 23분 15초: [WARN]
11. 12. 26 오후 4시 23분 19초: Build errors for notam; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ex-ORM: Could not resolve dependencies for project egovframe:ex-ORM:war:1.0.0: The following artifacts could not be resolved: maven-plugins:maven-cobertura-plugin:plugin:1.3, maven-plugins:maven-findbugs-plugin:plugin:1.3.1: Failure to transfer maven-plugins:maven-cobertura-plugin:plugin:1.3 from http://repository.jboss.com/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact maven-plugins:maven-cobertura-plugin:plugin:1.3 from/to jboss (http://repository.jboss.com/maven2/): Access denied to http://repository.jboss.com/maven2/maven-plugins/maven-cobertura-plugin/1.3/maven-cobertura-plugin-1.3.plugin. Error code 403, Forbidden
요런 에러가 나구요.
pom.xml에 있는 http://repository.jboss.com/maven2/를 인터넷 주소창에 치니깐 페이지가 안나오더라구요.
이거 어떻게 해야하나요?
표준프레임워크2.0으로 프로젝트 진행중인데요.
예전에는 잘 되었는데,
새로운 컴퓨터에 세팅하려하는데 maven 빌드부터 에러가 나서요.
내용은
11. 12. 26 오후 4시 23분 15초: [WARN] For this reason, future Maven versions might no longer support building such malformed projects.
11. 12. 26 오후 4시 23분 15초: [WARN]
11. 12. 26 오후 4시 23분 19초: Build errors for notam; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ex-ORM: Could not resolve dependencies for project egovframe:ex-ORM:war:1.0.0: The following artifacts could not be resolved: maven-plugins:maven-cobertura-plugin:plugin:1.3, maven-plugins:maven-findbugs-plugin:plugin:1.3.1: Failure to transfer maven-plugins:maven-cobertura-plugin:plugin:1.3 from http://repository.jboss.com/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact maven-plugins:maven-cobertura-plugin:plugin:1.3 from/to jboss (http://repository.jboss.com/maven2/): Access denied to http://repository.jboss.com/maven2/maven-plugins/maven-cobertura-plugin/1.3/maven-cobertura-plugin-1.3.plugin. Error code 403, Forbidden
요런 에러가 나구요.
pom.xml에 있는 http://repository.jboss.com/maven2/를 인터넷 주소창에 치니깐 페이지가 안나오더라구요.
이거 어떻게 해야하나요?
A
안녕하세요.. 김효선님..
pom.xml 상에.. 다음과 같이 repositories가 정의되어 있으시면 됩니다..
<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>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>
http://repository.jboss.com/maven2/ 사이트는 최근에 문제가 발생되고 있는 것 같습니다.
(제외)
그럼.. 즐거운 하루되십시오.
감사합니다.
pom.xml 상에.. 다음과 같이 repositories가 정의되어 있으시면 됩니다..
<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>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>
http://repository.jboss.com/maven2/ 사이트는 최근에 문제가 발생되고 있는 것 같습니다.
(제외)
그럼.. 즐거운 하루되십시오.
감사합니다.