download maven
unzip maven
local repository 구성 : 아래 2가지중 선택할 수 있습니다.
cd C:\apache-maven-3.5.4\bin set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_202 set M2_HOME=C:\apache-maven-3.5.4 set M2=%M2_HOME%\bin mvn install:install-file -Dfile=C:\eclipse\users\GlueSDK\lib\gluelib\license-api-1.x.x.jar -DgroupId=com.poscoict.license -DartifactId=license-api -Dversion=1.x.x -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-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-nexacro17/5.x.x-xxx/glue-nexacro17-5.x.x-xxx.jar C:/eclipse/users/GlueSDK/repo/com/poscoict/license/license-api/1.x.x/license-api-1.x.x.jar -->
또는 다음과 같이 예제 project의 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>