2016/122 메이븐 로컬저장소에 직접 등록 명령어 메이븐 중앙저장소에 없는 라이브러리는 로컬저장소에 직접 등록해주어야 하는데 로컬저장소에 등록하는 메이븐 명령어는 다음과 같다. mvn install:install-file -Dfile=C:\cos-26Dec2008\lib\cos.jar -DgroupId=com.servlets -DartifactId=cos -Dversion=26Dec2008 -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.1.0 -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Df.. 2016. 12. 14. Spring ehcache 설정 Spring 4.3.3, Ehcache 2.10.3 버전 기준으로 자바 기반한 설정Ehcache와 관련된 스프링 설정부분만 다룬다.글 쓰는 시점에서는 Ehcache 3.1.3 버전이 나옴. 메이븐 pom.xmlnet.sf.ehcacheehcache2.10.3 스프링 설정import org.springframework.cache.CacheManager;import org.springframework.cache.annotation.EnableCaching;import org.springframework.cache.ehcache.EhCacheCacheManager;import org.springframework.cache.ehcache.EhCacheManagerFactoryBean;import org.spri.. 2016. 12. 12. 이전 1 다음