| | |
| | | <gson.version>2.10.1</gson.version> |
| | | |
| | | <spring.version>5.3.34</spring.version> |
| | | <spring-boot.version>2.7.18</spring-boot.version> |
| | | <!-- <spring-boot.version>2.7.18</spring-boot.version>--> |
| | | |
| | | <mybatis-spring-boot-starter.version>2.3.2</mybatis-spring-boot-starter.version> |
| | | <mysql-connector-j.version>8.3.0</mysql-connector-j.version> |
| | |
| | | </licenses> |
| | | |
| | | <dependencies> |
| | | <!-- Spring Cloud 基础 --> |
| | | <dependency> |
| | | <groupId>org.springframework.cloud</groupId> |
| | | <artifactId>spring-cloud-starter-bootstrap</artifactId> |
| | | </dependency> |
| | | <!-- starter-web:spring-webmvc + autoconfigure + logback + yaml + tomcat --> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | |
| | | </dependencies> |
| | | |
| | | <build> |
| | | <finalName>${project.artifactId}</finalName> |
| | | <plugins> |
| | | <!-- Source --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-source-plugin</artifactId> |
| | | <version>${maven-source-plugin.version}</version> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | <version>${spring.boot.version}</version> |
| | | <executions> |
| | | <execution> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>jar-no-fork</goal> |
| | | <goal>repackage</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- Javadoc --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-javadoc-plugin</artifactId> |
| | | <version>${maven-javadoc-plugin.version}</version> |
| | | <executions> |
| | | <execution> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>jar</goal> |
| | | </goals> |
| | | <configuration> |
| | | <doclint>none</doclint> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- GPG --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-gpg-plugin</artifactId> |
| | | <version>${maven-gpg-plugin.version}</version> |
| | | <configuration> |
| | | <useAgent>false</useAgent> |
| | | <!-- 作用:项目打成jar的同时将本地jar包也引入进去 --> |
| | | <includeSystemScope>true</includeSystemScope> |
| | | </configuration> |
| | | <!-- <executions>--> |
| | | <!-- <execution>--> |
| | | <!-- <phase>verify</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>sign</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- </execution>--> |
| | | <!-- </executions>--> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | |
| | | <!-- <build>--> |
| | | <!-- <plugins>--> |
| | | <!-- <!– Source –>--> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.apache.maven.plugins</groupId>--> |
| | | <!-- <artifactId>maven-source-plugin</artifactId>--> |
| | | <!-- <version>${maven-source-plugin.version}</version>--> |
| | | <!-- <executions>--> |
| | | <!-- <execution>--> |
| | | <!-- <phase>package</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>jar-no-fork</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- </execution>--> |
| | | <!-- </executions>--> |
| | | <!-- </plugin>--> |
| | | <!-- <!– Javadoc –>--> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.apache.maven.plugins</groupId>--> |
| | | <!-- <artifactId>maven-javadoc-plugin</artifactId>--> |
| | | <!-- <version>${maven-javadoc-plugin.version}</version>--> |
| | | <!-- <executions>--> |
| | | <!-- <execution>--> |
| | | <!-- <phase>package</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>jar</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- <configuration>--> |
| | | <!-- <doclint>none</doclint>--> |
| | | <!-- </configuration>--> |
| | | <!-- </execution>--> |
| | | <!-- </executions>--> |
| | | <!-- </plugin>--> |
| | | <!-- <!– GPG –>--> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.apache.maven.plugins</groupId>--> |
| | | <!-- <artifactId>maven-gpg-plugin</artifactId>--> |
| | | <!-- <version>${maven-gpg-plugin.version}</version>--> |
| | | <!-- <configuration>--> |
| | | <!-- <useAgent>false</useAgent>--> |
| | | <!-- </configuration>--> |
| | | <!--<!– <executions>–>--> |
| | | <!--<!– <execution>–>--> |
| | | <!--<!– <phase>verify</phase>–>--> |
| | | <!--<!– <goals>–>--> |
| | | <!--<!– <goal>sign</goal>–>--> |
| | | <!--<!– </goals>–>--> |
| | | <!--<!– </execution>–>--> |
| | | <!--<!– </executions>–>--> |
| | | <!-- </plugin>--> |
| | | <!-- </plugins>--> |
| | | <!-- </build>--> |
| | | |
| | | |
| | | </project> |