From f04824e699963ec88b40934debbb79c72fcaeca3 Mon Sep 17 00:00:00 2001 From: Masashi Katsumata Date: Mon, 17 Aug 2026 02:06:13 +0900 Subject: [PATCH] Record why the artifactId is geojson, not geojson-layer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The repository, the Gradle module and the npm package are all named `geojson-layer`, but Maven Central has carried this module as `com.mapconductor:geojson` since 1.0.0. Central cannot rename or delete a published coordinate, so aligning the name would mean publishing a second artifact and asking every consumer to migrate. The mismatch stays. Say so next to the declaration, otherwise someone will eventually 'fix' it — during the 1.3.1 release the publish workflow already carried `geojson-layer`, which made its Maven Central metadata lookup 404 and silently disabled the already-published check. --- build.gradle.kts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 2a38b61..a1d0a71 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -72,6 +72,16 @@ dependencies { // Publishing configuration val libraryGroupId = project.findProperty("libraryGroupId") as String? ?: "com.mapconductor" +// ★ **"geojson-layer" に改名しないこと。** +// リポジトリ名(android-geojson-layer / ios-geojson-layer / react-geojson-layer)や +// Gradle のモジュール名(:android-geojson-layer)、npm の +// @mapconductor/react-geojson-layer とは揃っていないが、 +// **Maven Central には 1.0.0 から一貫して com.mapconductor:geojson で出ている。** +// Central は公開済み座標を削除・改名できないため、揃えようとすると別アーティファクト +// の新規公開になり、利用者に移行を強いることになる。不揃いのまま維持する。 +// (1.3.1 のリリース時、publish ワークフローの ARTIFACT_ID だけが "geojson-layer" に +// なっており、Central のメタデータ照会が常に 404 で「公開済み判定」が効いていなかった。 +// そちらをこの値に合わせて修正済み。) val libraryArtifactId = "geojson" val libraryVersion = project.findProperty("libraryVersion") as String? ?: "1.0.0" val coreLibraryVersion = project.findProperty("coreLibraryVersion") as String? ?: "1.0.0"