전체 페이지뷰

2013년 7월 21일 일요일

spring maven template web project test

eclipse sts : spring web framework + maven

new > spring template project > Integration > spring integration project (War)

reference url
Guide to installing 3rd party JARs

http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html


3rd library add in the Maven repository :
-> you should install 3rd jar file in directory existed in pom.xml
D:\eclipseWorkspace\workspace-sts-2.7.0.RELEASE\mapApi>mvn install:install-file -Dfile=D:\eclipseWorkspace\workspace-sts-2.7.0.RELEASE\mapApi\src\main\resources\lib\in2dorserver-3.5.jar -DgroupId=com.saltlux.dor -DartifactId=in2dorserver -Dversion=3.5 -Dpackaging=jar
pom.xml
<dependency>
 <groupId>com.saltlux.dor</groupId>
 <artifactId>in2dorserver</artifactId>
 <version>3.5</version>
</dependency>


spring maven template web project test

댓글 없음:

댓글 쓰기