2012-01-12 2 views
0

maven을 사용하여 struts 1.3 기반 응용 프로그램을 배포하려고합니다. pom.xml에 Struts-Layout.jar 항목을 추가하고 싶습니다.pom.xml에 struts-layout.jar 항목을 추가하는 방법

goggling 후 나는 pom.xml 파일에 다음 항목을 추가하려면이 대답을 얻었다 :

<dependency> 
      <groupId>org.apache.struts</groupId> 
      <artifactId>Struts-Layout</artifactId> 
      <version>1.3</version> 
     </dependency> 

을하지만이 오류 제공합니다 받는다는의

[ERROR] Failed to execute goal on project sample: Could not resolve depe 
    ndencies for project com.sample.cms:sample:war:1.1.32: Failure to find o 
    rg.apache.struts:Struts-Layout:jar:1.3 in http://maven.springframework.org/exter 
    nal was cached in the local repository, resolution will not be reattempted until 
    the update interval of spring-maven-external has elapsed or updates are forced 

버전 방법 메이븐 3.0.3 입니다 이 문제를 해결 하시겠습니까?

답변

0

http://bug.improve-community.com/view.php?id=160을 참조하십시오. 이 라이브러리는 공개 Maven 저장소에 배포되지 않은 것으로 보입니다. 이 파일을 다운로드하여 개인 저장소에 추가해야합니다.

관련 문제