|
@@ -35,6 +35,8 @@
|
|
<module>provide/login-provide</module>
|
|
<module>provide/login-provide</module>
|
|
<module>logic/person-logic</module>
|
|
<module>logic/person-logic</module>
|
|
<module>provide/person-provide</module>
|
|
<module>provide/person-provide</module>
|
|
|
|
+ <module>logic/map-logic</module>
|
|
|
|
+ <module>provide/map-provide</module>
|
|
|
|
|
|
</modules>
|
|
</modules>
|
|
|
|
|
|
@@ -69,6 +71,7 @@
|
|
<junit.version>4.13.2</junit.version>
|
|
<junit.version>4.13.2</junit.version>
|
|
<!-- 演示用的假数据 https://mvnrepository.com/artifact/com.github.javafaker/javafaker -->
|
|
<!-- 演示用的假数据 https://mvnrepository.com/artifact/com.github.javafaker/javafaker -->
|
|
<javafaker.version>1.0.2</javafaker.version>
|
|
<javafaker.version>1.0.2</javafaker.version>
|
|
|
|
+ <fastjson2.version>2.0.37</fastjson2.version>
|
|
</properties>
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
<dependencies>
|
|
@@ -78,87 +81,87 @@
|
|
<optional>true</optional>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencies>
|
|
-<!-- <build>-->
|
|
|
|
-<!-- <plugins>-->
|
|
|
|
-<!-- <!– https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-clean-plugin –>-->
|
|
|
|
-<!-- <plugin>-->
|
|
|
|
-<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
-<!-- <artifactId>maven-clean-plugin</artifactId>-->
|
|
|
|
-<!-- <version>3.1.0</version>-->
|
|
|
|
-<!-- </plugin>-->
|
|
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-clean-plugin -->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-clean-plugin</artifactId>
|
|
|
|
+ <version>3.1.0</version>
|
|
|
|
+ </plugin>
|
|
|
|
|
|
-<!-- <!–-->
|
|
|
|
-<!-- 编译插件-->
|
|
|
|
-<!-- mvn compile-->
|
|
|
|
-<!-- To compile your test sources, you'll do:-->
|
|
|
|
-<!-- mvn test-compile-->
|
|
|
|
-<!-- –>-->
|
|
|
|
-<!-- <plugin>-->
|
|
|
|
-<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
-<!-- <artifactId>maven-compiler-plugin</artifactId>-->
|
|
|
|
-<!-- <version>3.8.1</version>-->
|
|
|
|
-<!-- <configuration>-->
|
|
|
|
-<!-- <compilerVersion>${java.version}</compilerVersion>-->
|
|
|
|
-<!-- <source>${java.version}</source>-->
|
|
|
|
-<!-- <target>${java.version}</target>-->
|
|
|
|
-<!-- <!– maven 3.6.2及之后加上编译参数,可以让我们在运行期获取方法参数名称。 –>-->
|
|
|
|
-<!-- <parameters>true</parameters>-->
|
|
|
|
-<!-- <skip>true</skip>-->
|
|
|
|
-<!-- <!– JDK9+ with module-info.java –>-->
|
|
|
|
-<!-- <annotationProcessorPaths>-->
|
|
|
|
-<!-- <!– 实体映射工具 –>-->
|
|
|
|
-<!-- <path>-->
|
|
|
|
-<!-- <groupId>org.mapstruct</groupId>-->
|
|
|
|
-<!-- <artifactId>mapstruct-processor</artifactId>-->
|
|
|
|
-<!-- <version>${org.mapstruct.version}</version>-->
|
|
|
|
-<!-- </path>-->
|
|
|
|
|
|
+ <!--
|
|
|
|
+ 编译插件
|
|
|
|
+ mvn compile
|
|
|
|
+ To compile your test sources, you'll do:
|
|
|
|
+ mvn test-compile
|
|
|
|
+ -->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <version>3.8.1</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <compilerVersion>${java.version}</compilerVersion>
|
|
|
|
+ <source>${java.version}</source>
|
|
|
|
+ <target>${java.version}</target>
|
|
|
|
+ <!-- maven 3.6.2及之后加上编译参数,可以让我们在运行期获取方法参数名称。 -->
|
|
|
|
+ <parameters>true</parameters>
|
|
|
|
+ <skip>true</skip>
|
|
|
|
+ <!-- JDK9+ with module-info.java -->
|
|
|
|
+ <annotationProcessorPaths>
|
|
|
|
+ <!-- 实体映射工具 -->
|
|
|
|
+ <path>
|
|
|
|
+ <groupId>org.mapstruct</groupId>
|
|
|
|
+ <artifactId>mapstruct-processor</artifactId>
|
|
|
|
+ <version>${org.mapstruct.version}</version>
|
|
|
|
+ </path>
|
|
|
|
|
|
-<!-- <!– lombok 消除冗长的 Java 代码 –>-->
|
|
|
|
-<!-- <path>-->
|
|
|
|
-<!-- <groupId>org.projectlombok</groupId>-->
|
|
|
|
-<!-- <artifactId>lombok</artifactId>-->
|
|
|
|
-<!-- <version>${lombok.version}</version>-->
|
|
|
|
-<!-- </path>-->
|
|
|
|
-<!-- <!– additional annotation processor required as of Lombok 1.18.16 –>-->
|
|
|
|
-<!-- <!– mapStruct 支持 lombok –>-->
|
|
|
|
-<!-- <path>-->
|
|
|
|
-<!-- <groupId>org.projectlombok</groupId>-->
|
|
|
|
-<!-- <artifactId>lombok-mapstruct-binding</artifactId>-->
|
|
|
|
-<!-- <version>0.2.0</version>-->
|
|
|
|
-<!-- </path>-->
|
|
|
|
-<!-- </annotationProcessorPaths>-->
|
|
|
|
-<!-- </configuration>-->
|
|
|
|
-<!-- </plugin>-->
|
|
|
|
|
|
+ <!-- lombok 消除冗长的 Java 代码 -->
|
|
|
|
+ <path>
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
|
+ <version>${lombok.version}</version>
|
|
|
|
+ </path>
|
|
|
|
+ <!-- additional annotation processor required as of Lombok 1.18.16 -->
|
|
|
|
+ <!-- mapStruct 支持 lombok -->
|
|
|
|
+ <path>
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
+ <artifactId>lombok-mapstruct-binding</artifactId>
|
|
|
|
+ <version>0.2.0</version>
|
|
|
|
+ </path>
|
|
|
|
+ </annotationProcessorPaths>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
|
|
-<!-- <!– 打包时跳过单元测试 https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin –>-->
|
|
|
|
-<!-- <plugin>-->
|
|
|
|
-<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
-<!-- <artifactId>maven-surefire-plugin</artifactId>-->
|
|
|
|
-<!-- <version>3.0.0-M5</version>-->
|
|
|
|
-<!-- <configuration>-->
|
|
|
|
-<!-- <skipTests>true</skipTests>-->
|
|
|
|
-<!-- </configuration>-->
|
|
|
|
-<!-- </plugin>-->
|
|
|
|
|
|
+ <!-- 打包时跳过单元测试 https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
+ <version>3.0.0-M5</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <skipTests>true</skipTests>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
|
|
-<!-- <!– 打包源码 https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin –>-->
|
|
|
|
-<!-- <plugin>-->
|
|
|
|
-<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
-<!-- <artifactId>maven-source-plugin</artifactId>-->
|
|
|
|
-<!-- <version>3.2.1</version>-->
|
|
|
|
-<!-- <configuration>-->
|
|
|
|
-<!-- <attach>true</attach>-->
|
|
|
|
-<!-- </configuration>-->
|
|
|
|
-<!-- <executions>-->
|
|
|
|
-<!-- <execution>-->
|
|
|
|
-<!-- <phase>compile</phase>-->
|
|
|
|
-<!-- <goals>-->
|
|
|
|
-<!-- <goal>jar</goal>-->
|
|
|
|
-<!-- </goals>-->
|
|
|
|
-<!-- </execution>-->
|
|
|
|
-<!-- </executions>-->
|
|
|
|
-<!-- </plugin>-->
|
|
|
|
|
|
+ <!-- 打包源码 https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
|
+ <version>3.2.1</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <attach>true</attach>
|
|
|
|
+ </configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <phase>compile</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>jar</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
|
|
-<!-- </plugins>-->
|
|
|
|
-<!-- </build>-->
|
|
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
|
|
</project>
|
|
</project>
|