Tip/Spring
[Maven] thymeleaf-extras-springsecurity3-2.0.0 다운로드 실패
JavaPark
2013. 7. 29. 15:33
현상 |
Thymeleaf 와 Spring Security 3.x 를 통합하는 과정에서 Maven info 를 등록 하였지만 다운로드가 실패하는 원인을 발견하였다. thymeleaf-extras-springsecurity3-2.0.0.pom 파일이 열리지 않는 현상이었다.
Maven info
groupId: org.thymeleaf.extras
artifactId: thymeleaf-extras-springsecurity3
version: 2.0.0
해결 |
원격 저장소의 thymeleaf-extras-springsecurity3-2.0.0.pom 파일이 수정되면 좋겠지만 일단 로컬저장소에 관련 jar 파일을 등록하여 해결하였다.
mvn install:install-file -Dfile=e:\thymeleaf-extras-springsecurity3-2.0.0.jar -DgroupId=org.thymeleaf.extras -DartifactId=thymeleaf-extras-springsecurity3 -Dversion=2.0.0 -Dpackaging=jar
참고 |
Maven 에 Jar 추가 : http://www.mkyong.com/maven/how-to-include-library-manully-into-maven-local-repository/
https://github.com/thymeleaf/thymeleaf-extras-springsecurity3
http://repo.maven.apache.org/maven2/org/thymeleaf/extras/thymeleaf-extras-springsecurity3/2.0.0/