| | |
| | | <io.swagger.version>1.5.22</io.swagger.version> |
| | | <base.version>1.0-SNAPSHOT</base.version> |
| | | <mybatis-plus.version>3.4.1</mybatis-plus.version> |
| | | <pagehelper-spring-boot-starter.version>1.3.0</pagehelper-spring-boot-starter.version> |
| | | <mapstruct.version>1.4.2.Final</mapstruct.version> |
| | | <lombok.version>1.18.20</lombok.version> |
| | | <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version> |
| | | </properties> |
| | | |
| | | <dependencies> |
| | |
| | | <version>${tomcat.version}</version> <!-- 通常由Spring Boot管理 --> |
| | | </dependency> |
| | | |
| | | <!-- pagehelper分页-start --> |
| | | <dependency> |
| | | <groupId>com.github.pagehelper</groupId> |
| | | <artifactId>pagehelper-spring-boot-starter</artifactId> |
| | | <version>${pagehelper-spring-boot-starter.version}</version> |
| | | <!-- <exclusions>--> |
| | | <!-- <exclusion>--> |
| | | <!-- <groupId>org.mybatis.spring.boot</groupId>--> |
| | | <!-- <artifactId>mybatis-spring-boot-starter</artifactId>--> |
| | | <!-- </exclusion>--> |
| | | <!-- </exclusions>--> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.mapstruct</groupId> |
| | | <artifactId>mapstruct</artifactId> |
| | | <version>${mapstruct.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.mapstruct</groupId> |
| | | <artifactId>mapstruct-processor</artifactId> |
| | | <version>${mapstruct.version}</version> |
| | | <scope>provided</scope> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.projectlombok</groupId> |
| | | <artifactId>lombok-mapstruct-binding</artifactId> |
| | | <version>${lombok-mapstruct-binding.version}</version> |
| | | </dependency> |
| | | <!-- pagehelper分页-end --> |
| | | |
| | | <!-- <!–代码生成器依赖–>--> |
| | | <!-- <dependency>--> |
| | | <!-- <groupId>org.freemarker</groupId>--> |
| | | <!-- <artifactId>freemarker</artifactId>--> |
| | | <!-- <version>${freemarker.version}</version>--> |
| | | <!-- <scope>test</scope>--> |
| | | <!-- </dependency>--> |
| | | |
| | | <!-- <dependency>--> |
| | | <!-- <groupId>com.baomidou</groupId>--> |
| | | <!-- <artifactId>mybatis-plus-generator</artifactId>--> |
| | | <!-- <version>${mybatis-plus.version}</version>--> |
| | | <!-- <scope>test</scope>--> |
| | | <!-- </dependency>--> |
| | | |
| | | </dependencies> |
| | | |
| | |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-compiler-plugin</artifactId> |
| | | <version>3.8.1</version> |
| | | <configuration> |
| | | <source>${java.version}</source> |
| | | <target>${java.version}</target> |
| | | <encoding>UTF-8</encoding> |
| | | <annotationProcessorPaths> |
| | | <path> |
| | | <groupId>org.mapstruct</groupId> |
| | | <artifactId>mapstruct-processor</artifactId> |
| | | <version>${mapstruct.version}</version> |
| | | </path> |
| | | <path> |
| | | <groupId>org.projectlombok</groupId> |
| | | <artifactId>lombok</artifactId> |
| | | <version>${lombok.version}</version> |
| | | </path> |
| | | <path> |
| | | <groupId>org.projectlombok</groupId> |
| | | <artifactId>lombok-mapstruct-binding</artifactId> |
| | | <version>${lombok-mapstruct-binding.version}</version> |
| | | </path> |
| | | </annotationProcessorPaths> |
| | | </configuration> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-resources-plugin</artifactId> |
| | | <executions> |
| | | <execution> |