[Add] Project 添加 Command-API, Command-pixiv 模块以分离 pixiv 与 Core 模块, 使命令组合更灵活;

[Add] Command-API, Command-pixiv 添加模块;
[Change] Core/pom.xml 调整依赖, 移除对 pixiv 模块的依赖, 添加 Command-API 模块依赖;
This commit is contained in:
LamGC 2020-11-09 18:42:30 +08:00
parent 4b97bf5803
commit 7c9ad64cb7
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D
4 changed files with 81 additions and 2 deletions

View File

@ -0,0 +1,32 @@
<?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-Command-api</artifactId>
</project>

View File

@ -0,0 +1,45 @@
<?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-Command-pixiv</artifactId>
<dependencies>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-Command-api</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-pixiv</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
</dependency>
</dependencies>
</project>

View File

@ -46,12 +46,12 @@
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-pixiv</artifactId>
<artifactId>ContentGrabbingJi-Event</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.lamgc</groupId>
<artifactId>ContentGrabbingJi-Event</artifactId>
<artifactId>ContentGrabbingJi-Command-api</artifactId>
<version>3.0.0-alpha-SNAPSHOT</version>
</dependency>

View File

@ -36,6 +36,8 @@
<module>ContentGrabbingJi-CacheStore-local</module>
<module>ContentGrabbingJi-common</module>
<module>ContentGrabbingJi-Event</module>
<module>ContentGrabbingJi-Command-api</module>
<module>ContentGrabbingJi-Command-pixiv</module>
</modules>
<developers>