안녕하세요 서버에서 uiadapter17.spring:uiadapter17-spring*.jar mvn install 시 오류 질문
- 작성자 :
- 전*무
- 작성일 :
- 2024-02-08 00:17:52
- 조회수 :
- 630
- 구분 :
- 운영환경 / 기타
- 진행상태 :
- 완료
Q
안녕하세요
로컬 환경에서 mvn clean install 하면 정상 build가 되지만
gitlab-runner 서버 환경에서 mvn clean install 을 하면
```
Failed to execute goal on project sales:
Could not resolve dependencies for project
com.sales.nexacro:sales:war:1.0.0-SNAPSHOT:
The following artifacts could not be resolved:
com.nexacro.uiadapter17.spring:uiadapter17-spring-core:jar:1.0.0-SNAPSHOT,
com.nexacro.uiadapter17.spring:uiadapter17-spring-dataaccess:jar:1.0.0-SNAPSHOT,
com.nexacro.uiadapter17.spring:uiadapter17-spring-excel:jar:1.0.0-SNAPSHOT:
Could not find artifact com.nexacro.uiadapter17.spring:uiadapter17-spring-core:jar:1.0.0-SNAPSHOT in egovframe (http://maven.egovframe.go.kr/maven/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
file:///home/gitlab-runner/builds/ldddddsas/0/adminteam/sales_portal/libs/com/nexacro/uiadapter17/spring/uiadapter17-spring-dataaccess
/1.0.0-SNAPSHOT/uiadapter17-spring-dataaccess-1.0.0-SNAPSHOT.jar
```
pom.xml
```
<dependency>
<groupId>com.nexacro.uiadapter17.spring</groupId>
<artifactId>uiadapter17-spring-core</artifactId>
<version>${nexacro.uiadapter17.version}</version>
</dependency>
<dependency>
<groupId>com.nexacro.uiadapter17.spring</groupId>
<artifactId>uiadapter17-spring-dataaccess</artifactId>
<version>${nexacro.uiadapter17.version}</version>
</dependency>
...
```
해당 오류가 나오는데요
수동으로 build경로에 .jar을 추가해야하는지
아니면 다른 방안이 있는지 알수있을까요?
로컬 환경에서 mvn clean install 하면 정상 build가 되지만
gitlab-runner 서버 환경에서 mvn clean install 을 하면
```
Failed to execute goal on project sales:
Could not resolve dependencies for project
com.sales.nexacro:sales:war:1.0.0-SNAPSHOT:
The following artifacts could not be resolved:
com.nexacro.uiadapter17.spring:uiadapter17-spring-core:jar:1.0.0-SNAPSHOT,
com.nexacro.uiadapter17.spring:uiadapter17-spring-dataaccess:jar:1.0.0-SNAPSHOT,
com.nexacro.uiadapter17.spring:uiadapter17-spring-excel:jar:1.0.0-SNAPSHOT:
Could not find artifact com.nexacro.uiadapter17.spring:uiadapter17-spring-core:jar:1.0.0-SNAPSHOT in egovframe (http://maven.egovframe.go.kr/maven/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
file:///home/gitlab-runner/builds/ldddddsas/0/adminteam/sales_portal/libs/com/nexacro/uiadapter17/spring/uiadapter17-spring-dataaccess
/1.0.0-SNAPSHOT/uiadapter17-spring-dataaccess-1.0.0-SNAPSHOT.jar
```
pom.xml
```
<dependency>
<groupId>com.nexacro.uiadapter17.spring</groupId>
<artifactId>uiadapter17-spring-core</artifactId>
<version>${nexacro.uiadapter17.version}</version>
</dependency>
<dependency>
<groupId>com.nexacro.uiadapter17.spring</groupId>
<artifactId>uiadapter17-spring-dataaccess</artifactId>
<version>${nexacro.uiadapter17.version}</version>
</dependency>
...
```
해당 오류가 나오는데요
수동으로 build경로에 .jar을 추가해야하는지
아니면 다른 방안이 있는지 알수있을까요?
환경정보
-
- OS 정보 : Rocky Linux 9.2
- 표준프레임워크 버전 : 3.5
- JDK(JRE) 정보 : 1.8
- WAS 정보 : Tomcat9
- DB 정보 : Oracle 12c
- 기타 환경 정보 : gitlab-runner
A
안녕하세요.
표준프레임워크 센터입니다.
nexacro.uiadapter17은 상용 솔루션에 포함된 라이브러리로 판단되며
Maven Central Repository와 표준프레임워크 Repository에서는
라이브러리가 배포되고 있지 않습니다.
라이브러리 연동과 관련한 부분은
벤더사 쪽에 문의하셔서
해당 라이브러리에 대한 배포방법을 확인해 주시기 바랍니다.
감사합니다.
표준프레임워크 센터입니다.
nexacro.uiadapter17은 상용 솔루션에 포함된 라이브러리로 판단되며
Maven Central Repository와 표준프레임워크 Repository에서는
라이브러리가 배포되고 있지 않습니다.
라이브러리 연동과 관련한 부분은
벤더사 쪽에 문의하셔서
해당 라이브러리에 대한 배포방법을 확인해 주시기 바랍니다.
감사합니다.