alibaba / alibaba/fastjson2

冒昧请教一个问题:`fastjson` 在中央仓库里的 `Relocated` 标记是如何打上去的?

Open
#2,922 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

### 请描述您的问题

我看到 `fastjson` 在中央仓库已经有一个 `Relocated` 标记:

![image](https://github.com/user-attachments/assets/886c0321-8b6d-4f85-85cd-4b005b76c3b2)

请问,这个标记是如何打上去的,可否不吝赐教?

我曾找到过这个篇文章:https://maven.apache.org/guides/mini/guide-relocation.html
但只能做出这个效果:

![image](https://github.com/user-attachments/assets/d7c3b4ff-9ea5-45a8-a83f-92820000e543)

而在构件检索页,却没有 `Relocated` 标记:

![image](https://github.com/user-attachments/assets/9fd71b72-e0e1-48f9-9f6d-16f6fa3b5d26)

不知可否告知,您这个效果是如何做到的?

Contributor guide

Open the contributing guide

Research direction

Start with the linked Maven relocation guide and compare its documented repository metadata with the fastjson entry shown in Central Repository. Determine whether fastjson's publishing configuration or a repository-side process produces the Relocated marker; done means documenting that process and the relevant configuration clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, release
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.