| | |
| | | 快速开发框架,默认基础system,data,model |
| | | </description> |
| | | <modules> |
| | | <!-- <module>ansteel-api</module>--> |
| | | <module>ansteel-api</module> |
| | | <module>ansteel-biz</module> |
| | | </modules> |
| | | |
| | | <properties> |
| | | |
| | | <revision>0.0.1</revision> |
| | | <revision>1.0.0</revision> |
| | | <!-- Maven 相关 --> |
| | | <java.version>1.8</java.version> |
| | | <maven.compiler.source>${java.version}</maven.compiler.source> |
| | |
| | | <version>${revision}</version> |
| | | </dependency> |
| | | |
| | | <!-- Spring 核心 --> |
| | | <dependency> |
| | | <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 --> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-configuration-processor</artifactId> |
| | | <version>${spring.boot.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.iailab</groupId> |
| | | <artifactId>iailab-common-env</artifactId> |
| | | <version>${revision}</version> |
| | | </dependency> |
| | | |
| | | <!-- Web 相关 --> |
| | | <dependency> |
| | |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.iailab</groupId> |
| | | <artifactId>iailab-common-websocket</artifactId> |
| | | <version>${revision}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.springdoc</groupId> <!-- 接口文档 UI:默认 --> |
| | | <artifactId>springdoc-openapi-ui</artifactId> |
| | | <version>${springdoc.version}</version> |
| | |
| | | <artifactId>knife4j-openapi3-spring-boot-starter</artifactId> |
| | | <version>${knife4j.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j【网关专属】 --> |
| | | <artifactId>knife4j-gateway-spring-boot-starter</artifactId> |
| | | <version>${knife4j.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- DB 相关 --> |
| | | <dependency> |
| | | <groupId>com.iailab</groupId> |
| | | <artifactId>iailab-common-mybatis</artifactId> |
| | | <version>${revision}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springdoc</groupId> |
| | | <artifactId>springdoc-openapi-webflux-ui</artifactId> |
| | | <version>${springdoc.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | |
| | | <artifactId>mybatis-plus-boot-starter</artifactId> |
| | | <version>${mybatis-plus.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 --> |
| | | <version>${mybatis-plus-generator.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 --> |
| | |
| | | <version>${redisson.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.dameng</groupId> |
| | | <artifactId>DmJdbcDriver18</artifactId> |
| | | <version>${dm8.jdbc.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- RPC 远程调用相关 --> |
| | | <dependency> |
| | | <groupId>com.iailab</groupId> |
| | | <artifactId>iailab-common-rpc</artifactId> |
| | | <version>${revision}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>lock4j-redisson-spring-boot-starter</artifactId> |
| | | <version>${lock4j.version}</version> |
| | | <exclusions> |
| | | <exclusion> |
| | | <artifactId>redisson-spring-boot-starter</artifactId> |
| | | <groupId>org.redisson</groupId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | |
| | | <!-- 监控相关 --> |
| | |
| | | <version>${easyexcel.verion}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.apache.tika</groupId> |
| | | <artifactId>tika-core</artifactId> <!-- 文件类型的识别 --> |
| | | <version>${tika-core.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.apache.velocity</groupId> |
| | | <artifactId>velocity-engine-core</artifactId> |
| | | <version>${velocity.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>fastjson</artifactId> |
| | | <version>${fastjson.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>cn.smallbun.screw</groupId> |
| | | <artifactId>screw-core</artifactId> <!-- 实现数据库文档 --> |
| | | <version>${screw.version}</version> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>org.freemarker</groupId> |
| | | <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 --> |
| | | </exclusion> |
| | | <exclusion> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 --> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.google.inject</groupId> |
| | | <artifactId>guice</artifactId> |
| | | <version>${guice.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 --> |
| | | <version>${transmittable-thread-local.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>commons-net</groupId> |
| | | <artifactId>commons-net</artifactId> <!-- 解决 ftp 连接 --> |
| | | <version>${commons-net.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.jcraft</groupId> |
| | | <artifactId>jsch</artifactId> <!-- 解决 sftp 连接 --> |
| | | <version>${jsch.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | |
| | | </dependencyManagement> |
| | | |
| | | <build> |
| | | <!-- 设置构建的 jar 包名 --> |
| | | <finalName>${project.artifactId}</finalName> |
| | | <plugins> |
| | | <!-- 打包 --> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | <version>${spring.boot.version}</version> |
| | | <executions> |
| | | <execution> |
| | | <goals> |
| | | <goal>repackage</goal> <!-- 将引入的 jar 打入其中 --> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | </plugins> |
| | | <pluginManagement> |
| | | <plugins> |
| | | <!-- maven-surefire-plugin 插件,用于运行单元测试。 --> |
| | | <!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-surefire-plugin</artifactId> |
| | | <version>${maven-surefire-plugin.version}</version> |
| | | <configuration> |
| | | <skip>true</skip> |
| | | </configuration> |
| | | </plugin> |
| | | <!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 --> |
| | | </plugins> |
| | | </pluginManagement> |
| | | </build> |
| | | |
| | | |