build(itms): front 의존성 해소 — egov spring-modules-validation:0.9 group 메타 불일치 우회 (R2)
egov 저장소가 org.springmodules:spring-modules-validation:0.9 를 잘못된 groupId(org.egovframe.rte)로 게시하여 Gradle 엄격 메타데이터 검증이 'bad group' 으로 거부(front compileClasspath FAILED). - Maven Central 미보유(404), egov JAR 은 org/springmodules 경로에 정상 게시(200). - 해당 모듈 한정 POM 무시(metadataSources artifact) + content includeModule 로 동일 JAR 취득. - 다른 모듈은 org.springmodules 미요청 → 무영향. front compileJava SUCCESS. 동작 등가: 원본과 동일 JAR, 좌표/버전 불변. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
9da312bc21
commit
0218388c31
15
build.gradle
15
build.gradle
@ -17,6 +17,19 @@ allprojects {
|
||||
subprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url "https://maven.egovframe.go.kr/maven/" } // egovframe maven 원격 저장소
|
||||
// egovframe maven 원격 저장소. 단, spring-modules-validation 은 아래 artifact-only 저장소에서 취득.
|
||||
maven {
|
||||
url "https://maven.egovframe.go.kr/maven/"
|
||||
content { excludeModule("org.springmodules", "spring-modules-validation") }
|
||||
}
|
||||
// [front 의존성 해소] egov 저장소가 org.springmodules:spring-modules-validation:0.9 를
|
||||
// 잘못된 groupId(org.egovframe.rte)로 게시 → Gradle 엄격 메타데이터 검증이 'bad group' 으로 거부.
|
||||
// JAR 자체는 동일 경로(org/springmodules/.../0.9)에 정상 게시(200)이고 Maven Central 엔 부재(404)이므로,
|
||||
// 해당 모듈에 한해 POM 무시(metadataSources artifact) → 원본과 동일한 JAR 을 그대로 취득(behavior-preserving).
|
||||
maven {
|
||||
url "https://maven.egovframe.go.kr/maven/"
|
||||
metadataSources { artifact() }
|
||||
content { includeModule("org.springmodules", "spring-modules-validation") }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user