TinyPinyin
TinyPinyin copied to clipboard
tinypinyin-2.0.3.pom存在两个依赖不同的文件,请问这个是什么原因造成的
背景: 项目存在时间比较长,本地仓库一直没有清理,发现 tinypinyin-2.0.3.pom同一版本存在两个依赖不同的文件
问题: 希望能知道该版本为什么会存在两个依赖不同的pom文件,谢谢啦
老文件,不清楚来源了
-rw-r--r-- 1 root root 852 Mar 1 2021 ./com/github/promeg/tinypinyin/2.0.3/tinypinyin-2.0.3.pom
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.promeg</groupId>
<artifactId>tinypinyin</artifactId>
<version>2.0.3</version>
<dependencies>
<dependency>
<groupId>com.github.promeg.tinypinyin</groupId>
<artifactId>tinypinyin-android-asset-lexicons</artifactId>
<version>2.0.3</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.github.promeg.tinypinyin</groupId>
<artifactId>tinypinyin-lexicons-android-cncity</artifactId>
<version>2.0.3</version>
<type>aar</type>
</dependency>
</dependencies>
</project>
新文件,与阿里云仓库一致
-rw-r--r-- 1 root root 614 Aug 18 2022 ./com/github/promeg/tinypinyin/2.0.3/tinypinyin-2.0.3.pom
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.promeg</groupId>
<artifactId>tinypinyin</artifactId>
<version>2.0.3</version>
<dependencies>
<dependency>
<groupId>org.ahocorasick</groupId>
<artifactId>ahocorasick</artifactId>
<version>0.3.0</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>