Skip to content

Commit 294baea

Browse files
committed
chore(pom): 添加中央门户快照仓库配置
- 在plugins模块的pom.xml中新增repositories配置- 添加名为Central Portal Snapshots的Maven仓库 - 配置仓库ID为central-portal-snapshots - 设置仓库URL为https://central.sonatype.com/repository/maven-snapshots/ - 禁用releases版本下载功能 - 启用snapshots版本下载功能
1 parent 4b466f4 commit 294baea

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

plugins/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,5 +186,17 @@
186186
</plugin>
187187
</plugins>
188188
</build>
189-
189+
<repositories>
190+
<repository>
191+
<name>Central Portal Snapshots</name>
192+
<id>central-portal-snapshots</id>
193+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
194+
<releases>
195+
<enabled>false</enabled>
196+
</releases>
197+
<snapshots>
198+
<enabled>true</enabled>
199+
</snapshots>
200+
</repository>
201+
</repositories>
190202
</project>

0 commit comments

Comments
 (0)