From ed0dc655e6732f15d30f399c0d460ad7b9fe42da Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期三, 04 六月 2025 16:55:42 +0800 Subject: [PATCH] add:影视作品点赞和评论点赞 --- pom.xml | 75 +++++++++++++++++++++++++++++++++++++ 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/pom.xml b/pom.xml index 2702f56..c38859f 100644 --- a/pom.xml +++ b/pom.xml @@ -22,6 +22,10 @@ <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> @@ -322,6 +326,50 @@ <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> @@ -333,6 +381,33 @@ </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> -- Gitblit v1.9.3