pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <packaging>pom</packaging>
  6. <modules>
  7. <module>simulation-receive</module>
  8. <module>simulation-send</module>
  9. <module>simulation-common</module>
  10. </modules>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.7.3</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <groupId>com.jiayue</groupId>
  18. <artifactId>simulation</artifactId>
  19. <version>0.0.1-SNAPSHOT</version>
  20. <name>simulation</name>
  21. <properties>
  22. <java.version>1.8</java.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.apache.commons</groupId>
  27. <artifactId>commons-lang3</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <!-- <dependency>-->
  34. <!-- <groupId>mysql</groupId>-->
  35. <!-- <artifactId>mysql-connector-java</artifactId>-->
  36. <!-- </dependency>-->
  37. <!-- <dependency>-->
  38. <!-- <groupId>com.baomidou</groupId>-->
  39. <!-- <artifactId>mybatis-plus-boot-starter</artifactId>-->
  40. <!-- <version>3.5.2</version>-->
  41. <!-- </dependency>-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-undertow</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.projectlombok</groupId>
  57. <artifactId>lombok</artifactId>
  58. <version>1.18.22</version>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-maven-plugin</artifactId>
  66. </plugin>
  67. <plugin>
  68. <groupId>org.apache.maven.plugins</groupId>
  69. <artifactId>maven-resources-plugin</artifactId>
  70. <version>3.1.0</version>
  71. <executions>
  72. <execution>
  73. <id>copy config</id>
  74. <phase>package</phase>
  75. <goals>
  76. <goal>copy-resources</goal>
  77. </goals>
  78. <configuration>
  79. <resources>
  80. <resource>
  81. <directory>src/main/resources</directory>
  82. <includes>
  83. <include>application.properties</include>
  84. </includes>
  85. </resource>
  86. </resources>
  87. <outputDirectory>../</outputDirectory>
  88. </configuration>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. </plugins>
  93. </build>
  94. </project>