download maven
unzip maven
local repository 구성 : 아래 2가지중 선택할 수 있습니다.
cd C:\apache-maven-3.2.2\bin set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45 set M2_HOME=C:\apache-maven-3.2.2 set M2=%M2_HOME%\bin mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\license-api-1.1.6.jar -DgroupId=com.poscoict.license -DartifactId=license-api -Dversion=1.1.0 -Dpackaging=jar mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-schema-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-schema -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-core-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-core -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-mybatis-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-mybatis -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-hibernate-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-hibernate -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-schedule-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-schedule -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-ws-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-ws -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-tester-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-tester -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-mongodb-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-mongodb -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\glue-redis-5.X.X-XXX.jar -DgroupId=com.poscoict -DartifactId=glue-redis -Dversion=5.X.X-XXX -Dpackaging=jar -DgeneratePom=true
<project . . .> . . . <repositories> <repository> <id>repo</id> <name>repo</name> <url>file://C:/eclipse/users/GlueSDK/repo</url> </repository> </repositories> . . . </project> <!-- C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-core/5.X.X-XXX/glue-core-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-hibernate/5.X.X-XXX/glue-hibernate-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-mongodb/5.X.X-XXX/glue-mongodb-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-mybatis/5.X.X-XXX/glue-mybatis-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-redis/5.X.X-XXX/glue-redis-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-schedule/5.X.X-XXX/glue-schedule-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-schema/5.X.X-XXX/glue-schema-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-tester/5.X.X-XXX/glue-tester-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-ucube/5.X.X-XXX/glue-ucube-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-ws/5.X.X-XXX/glue-ws-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-xplatform/5.X.X-XXX/glue-xplatform-5.X.X-XXX.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/license/license-api/1.1.0/license-api-1.1.6.jar -->
또는 다음과 같이 예제 proejct의 pom.xml 에 systemPath를 사용할 수도 있습니다.
<project . . .> . . . <dependencies> <dependency> <groupId>com.poscoict</groupId> <artifactId>glue-core</artifactId> <version>5.X.X-XXX</version> <scope>system</scope> <systemPath>C:/eclipse/users/GlueSDK/repo/com/poscoict/glue-core/5.X.X-XXX/glue-core-5.X.X-XXX.jar</systemPath> </dependency> </dependencies> . . . </project>