mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-27 06:57:12 +08:00
feat: 新增 continew-admin-plugins 插件模块,代码生成迁移到插件模块,为后续插件化改造铺垫
This commit is contained in:
38
README.md
38
README.md
@@ -317,24 +317,26 @@ continew-admin
|
|||||||
│ │ │ └─ mapper(系统管理相关 Mapper XML 文件目录)
|
│ │ │ └─ mapper(系统管理相关 Mapper XML 文件目录)
|
||||||
│ │ └─ test(测试相关代码目录)
|
│ │ └─ test(测试相关代码目录)
|
||||||
│ └─ pom.xml
|
│ └─ pom.xml
|
||||||
├─ continew-admin-generator(代码生成器插件模块)
|
├─ continew-admin-plugins(插件模块,存放代码生成、任务调度等扩展模块,后续会进行插件化改造)
|
||||||
│ ├─ src
|
│ ├─ continew-admin-generator(代码生成器插件模块)
|
||||||
│ │ ├─ main
|
│ │ ├─ src
|
||||||
│ │ │ ├─ java/top/continew/admin/generator
|
│ │ │ ├─ main
|
||||||
│ │ │ │ ├─ config(代码生成器相关配置)
|
│ │ │ │ ├─ java/top/continew/admin/generator
|
||||||
│ │ │ │ ├─ enums(代码生成器相关枚举)
|
│ │ │ │ │ ├─ config(代码生成器相关配置)
|
||||||
│ │ │ │ ├─ mapper(代码生成器相关 Mapper)
|
│ │ │ │ │ ├─ enums(代码生成器相关枚举)
|
||||||
│ │ │ │ ├─ model(代码生成器相关模型)
|
│ │ │ │ │ ├─ mapper(代码生成器相关 Mapper)
|
||||||
│ │ │ │ │ ├─ entity(代码生成器相关实体对象)
|
│ │ │ │ │ ├─ model(代码生成器相关模型)
|
||||||
│ │ │ │ │ ├─ query(代码生成器相关查询条件)
|
│ │ │ │ │ │ ├─ entity(代码生成器相关实体对象)
|
||||||
│ │ │ │ │ ├─ req(代码生成器相关请求对象(Request))
|
│ │ │ │ │ │ ├─ query(代码生成器相关查询条件)
|
||||||
│ │ │ │ │ └─ resp(代码生成器相关响应对象(Response))
|
│ │ │ │ │ │ ├─ req(代码生成器相关请求对象(Request))
|
||||||
│ │ │ │ └─ service(代码生成器相关业务接口及实现类)
|
│ │ │ │ │ │ └─ resp(代码生成器相关响应对象(Response))
|
||||||
│ │ │ └─ resources
|
│ │ │ │ │ └─ service(代码生成器相关业务接口及实现类)
|
||||||
│ │ │ ├─ templates/generator(代码生成相关模板目录)
|
│ │ │ │ └─ resources
|
||||||
│ │ │ ├─ application.yml(代码生成配置文件)
|
│ │ │ │ ├─ templates/generator(代码生成相关模板目录)
|
||||||
│ │ │ └─ generator.properties(代码生成类型映射配置文件)
|
│ │ │ │ ├─ application.yml(代码生成配置文件)
|
||||||
│ │ └─ test(测试相关代码目录)
|
│ │ │ │ └─ generator.properties(代码生成类型映射配置文件)
|
||||||
|
│ │ │ └─ test(测试相关代码目录)
|
||||||
|
│ │ └─ pom.xml
|
||||||
│ └─ pom.xml
|
│ └─ pom.xml
|
||||||
├─ continew-admin-common(公共模块,存放公共工具类,公共配置等)
|
├─ continew-admin-common(公共模块,存放公共工具类,公共配置等)
|
||||||
│ ├─ src
|
│ ├─ src
|
||||||
|
|||||||
@@ -5,18 +5,10 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>top.continew</groupId>
|
<groupId>top.continew</groupId>
|
||||||
<artifactId>continew-admin</artifactId>
|
<artifactId>continew-admin-plugins</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>continew-admin-generator</artifactId>
|
<artifactId>continew-admin-generator</artifactId>
|
||||||
<description>代码生成器插件</description>
|
<description>代码生成器插件</description>
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<!-- 公共模块(存放公共工具类,公共配置等) -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>top.continew</groupId>
|
|
||||||
<artifactId>continew-admin-common</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</project>
|
</project>
|
||||||
27
continew-admin-plugins/pom.xml
Normal file
27
continew-admin-plugins/pom.xml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<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">
|
||||||
|
<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
pom.xml
2
pom.xml
@@ -25,8 +25,8 @@
|
|||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>continew-admin-webapi</module>
|
<module>continew-admin-webapi</module>
|
||||||
|
<module>continew-admin-plugins</module>
|
||||||
<module>continew-admin-system</module>
|
<module>continew-admin-system</module>
|
||||||
<module>continew-admin-generator</module>
|
|
||||||
<module>continew-admin-common</module>
|
<module>continew-admin-common</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user