1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

项目跑起来了(之前跑步起来是因为SpringCloud和SpringBoot版本不同)

This commit is contained in:
程序员小墨 2022-10-23 22:06:46 +08:00
parent 1f8099b4f5
commit 82ea418f57
4 changed files with 267 additions and 266 deletions

View File

@ -27,7 +27,7 @@
## 使用技术栈 ## 使用技术栈
项目开发环境Ubuntu 22.04、OpenJDK 11、MySQL 8.0.12 项目开发环境Ubuntu Desktop 22.04 LTS、OpenJDK 11、MySQL 8.0.12
| 板块 | 技术栈 | 开发工具 | 备注 | | 板块 | 技术栈 | 开发工具 | 备注 |
| ------ | --------------------------------------------------------- | ------------- | ---- | | ------ | --------------------------------------------------------- | ------------- | ---- |

View File

@ -57,14 +57,14 @@
<groupId>ch.qos.logback</groupId> <groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId> <artifactId>logback-core</artifactId>
</dependency> </dependency>
<!-- <dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId> <artifactId>slf4j-simple</artifactId>
</dependency> --> </dependency>
<!-- Spring Boot --> <!-- Spring Boot -->
<dependency> <dependency>
@ -87,62 +87,20 @@
<build> <build>
<!--<plugins>-->
<!-- <plugin>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
<!-- <configuration>-->
<!-- <excludes>-->
<!-- <exclude>-->
<!-- <groupId>org.projectlombok</groupId>-->
<!-- <artifactId>lombok</artifactId>-->
<!-- </exclude>-->
<!-- </excludes>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!--</plugins>-->
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins> <plugins>
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin> <plugin>
<artifactId>maven-clean-plugin</artifactId> <groupId>org.springframework.boot</groupId>
<version>3.1.0</version> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin> <version>2.7.5</version>
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> <configuration>
<plugin> <excludes>
<artifactId>maven-resources-plugin</artifactId> <exclude>
<version>3.0.2</version> <groupId>org.projectlombok</groupId>
</plugin> <artifactId>lombok</artifactId>
<plugin> </exclude>
<artifactId>maven-compiler-plugin</artifactId> </excludes>
<version>3.8.0</version> </configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement>
</build> </build>
</project> </project>

View File

@ -6,8 +6,6 @@ mybatis:
type-aliases-package: com.cxyxiaomo.epp.pojo type-aliases-package: com.cxyxiaomo.epp.pojo
config-location: classpath:mybatis/mybatis-config.xml config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml mapper-locations: classpath:mybatis/mapper/*.xml
configuration:
map-underscore-to-camel-case: on
# Spring 配置 # Spring 配置
spring: spring:

View File

@ -20,9 +20,9 @@
<!-- 统一管理jar包版本 --> <!-- 统一管理jar包版本 -->
<properties> <properties>
<java.version>11</java.version> <java.version>11</java.version>
<!--<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>--> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--<maven.compiler.source>11</maven.compiler.source>--> <maven.compiler.source>11</maven.compiler.source>
<!--<maven.compiler.target>11</maven.compiler.target>--> <maven.compiler.target>11</maven.compiler.target>
<junit.version>4.13.2</junit.version> <junit.version>4.13.2</junit.version>
<log4j.version>1.2.17</log4j.version> <log4j.version>1.2.17</log4j.version>
<lombok.version>1.18.24</lombok.version> <lombok.version>1.18.24</lombok.version>
@ -53,7 +53,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test</artifactId> <artifactId>spring-boot-test</artifactId>
<version>2.5.12</version> <version>2.7.4</version>
</dependency> </dependency>
<!-- Spring Boot Starter Web --> <!-- Spring Boot Starter Web -->
<dependency> <dependency>
@ -96,7 +96,7 @@
<artifactId>logback-core</artifactId> <artifactId>logback-core</artifactId>
<version>1.2.11</version> <version>1.2.11</version>
</dependency> </dependency>
<!-- <dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>2.0.3</version> <version>2.0.3</version>
@ -105,7 +105,7 @@
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId> <artifactId>slf4j-simple</artifactId>
<version>2.0.3</version> <version>2.0.3</version>
</dependency> --> </dependency>
<!-- Test --> <!-- Test -->
<!-- junit --> <!-- junit -->
@ -127,4 +127,49 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins>
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project> </project>