Skip to content

Commit

Permalink
feat: 新增 continew-admin-plugins 插件模块,代码生成迁移到插件模块,为后续插件化改造铺垫
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Jul 1, 2024
1 parent d733b7f commit 52f3be8
Show file tree
Hide file tree
Showing 30 changed files with 49 additions and 28 deletions.
38 changes: 20 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,24 +317,26 @@ continew-admin
│ │ │ └─ mapper(系统管理相关 Mapper XML 文件目录)
│ │ └─ test(测试相关代码目录)
│ └─ pom.xml
├─ continew-admin-generator(代码生成器插件模块)
│ ├─ src
│ │ ├─ main
│ │ │ ├─ java/top/continew/admin/generator
│ │ │ │ ├─ config(代码生成器相关配置)
│ │ │ │ ├─ enums(代码生成器相关枚举)
│ │ │ │ ├─ mapper(代码生成器相关 Mapper)
│ │ │ │ ├─ model(代码生成器相关模型)
│ │ │ │ │ ├─ entity(代码生成器相关实体对象)
│ │ │ │ │ ├─ query(代码生成器相关查询条件)
│ │ │ │ │ ├─ req(代码生成器相关请求对象(Request))
│ │ │ │ │ └─ resp(代码生成器相关响应对象(Response))
│ │ │ │ └─ service(代码生成器相关业务接口及实现类)
│ │ │ └─ resources
│ │ │ ├─ templates/generator(代码生成相关模板目录)
│ │ │ ├─ application.yml(代码生成配置文件)
│ │ │ └─ generator.properties(代码生成类型映射配置文件)
│ │ └─ test(测试相关代码目录)
├─ continew-admin-plugins(插件模块,存放代码生成、任务调度等扩展模块,后续会进行插件化改造)
│ ├─ continew-admin-generator(代码生成器插件模块)
│ │ ├─ src
│ │ │ ├─ main
│ │ │ │ ├─ java/top/continew/admin/generator
│ │ │ │ │ ├─ config(代码生成器相关配置)
│ │ │ │ │ ├─ enums(代码生成器相关枚举)
│ │ │ │ │ ├─ mapper(代码生成器相关 Mapper)
│ │ │ │ │ ├─ model(代码生成器相关模型)
│ │ │ │ │ │ ├─ entity(代码生成器相关实体对象)
│ │ │ │ │ │ ├─ query(代码生成器相关查询条件)
│ │ │ │ │ │ ├─ req(代码生成器相关请求对象(Request))
│ │ │ │ │ │ └─ resp(代码生成器相关响应对象(Response))
│ │ │ │ │ └─ service(代码生成器相关业务接口及实现类)
│ │ │ │ └─ resources
│ │ │ │ ├─ templates/generator(代码生成相关模板目录)
│ │ │ │ ├─ application.yml(代码生成配置文件)
│ │ │ │ └─ generator.properties(代码生成类型映射配置文件)
│ │ │ └─ test(测试相关代码目录)
│ │ └─ pom.xml
│ └─ pom.xml
├─ continew-admin-common(公共模块,存放公共工具类,公共配置等)
│ ├─ src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>top.continew</groupId>
<artifactId>continew-admin</artifactId>
<artifactId>continew-admin-plugins</artifactId>
<version>${revision}</version>
</parent>

<artifactId>continew-admin-generator</artifactId>
<description>代码生成器插件</description>

<dependencies>
<!-- 公共模块(存放公共工具类,公共配置等) -->
<dependency>
<groupId>top.continew</groupId>
<artifactId>continew-admin-common</artifactId>
</dependency>
</dependencies>
</project>
27 changes: 27 additions & 0 deletions continew-admin-plugins/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://maven.apache.org/POM/4.0.0"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>top.continew</groupId>
<artifactId>continew-admin</artifactId>
<version>${revision}</version>
</parent>

<artifactId>continew-admin-plugins</artifactId>
<packaging>pom</packaging>
<description>插件模块(存放代码生成、任务调度等扩展模块)</description>

<modules>
<module>continew-admin-generator</module>
</modules>

<dependencies>
<!-- 公共模块(存放公共工具类,公共配置等) -->
<dependency>
<groupId>top.continew</groupId>
<artifactId>continew-admin-common</artifactId>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

<modules>
<module>continew-admin-webapi</module>
<module>continew-admin-plugins</module>
<module>continew-admin-system</module>
<module>continew-admin-generator</module>
<module>continew-admin-common</module>
</modules>

Expand Down

0 comments on commit 52f3be8

Please sign in to comment.