[Add][Move][Change] Project, Common, Core 添加 Common 模块, 将 CacheStoreBuilder 转移到 Common 模块中;

[Add] net.lamgc:ContentGrabbingJi-Common 添加 Common 模块作为共用组件共享的模块;
[Move] CacheStoreBuilder, CacheStoreBuilderTest, FactoryInfo, NoSuchFactoryException 移动 Cache 相关类到 Common 模块中;
[Change] Core:pom.xml 添加 Common 模块的依赖, 调整测试项依赖;
This commit is contained in:
LamGC 2020-10-17 11:59:29 +08:00
parent ea3c596d6e
commit 78b234237f
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D
7 changed files with 58 additions and 12 deletions

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2020 LamGC
~
~ ContentGrabbingJi is free software: you can redistribute it and/or modify
~ it under the terms of the GNU Affero General Public License as
~ published by the Free Software Foundation, either version 3 of the
~ License, or (at your option) any later version.
~
~ ContentGrabbingJi is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU Affero General Public License for more details.
~
~ You should have received a copy of the GNU Affero General Public License
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>ContentGrabbingJi</artifactId>
<groupId>net.lamgc</groupId>
<version>3.0.0-alpha-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ContentGrabbingJi-common</artifactId>
<dependencies>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-CacheStore-api</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-CacheStore-local</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-CacheStore-redis</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -39,6 +39,11 @@
<artifactId>ContentGrabbingJi-CacheStore-api</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-common</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-pixiv</artifactId>
@ -51,18 +56,6 @@
<version>2.8.6</version>
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-CacheStore-local</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-CacheStore-redis</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -34,6 +34,7 @@
<module>ContentGrabbingJi-CacheStore-api</module>
<module>ContentGrabbingJi-CacheStore-redis</module>
<module>ContentGrabbingJi-CacheStore-local</module>
<module>ContentGrabbingJi-common</module>
</modules>
<developers>