pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.fs4a</groupId>
  5. <artifactId>fs4a</artifactId>
  6. <packaging>pom</packaging>
  7. <version>1.0.0</version>
  8. <name>fs4a</name>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.1.0.RELEASE</version>
  13. </parent>
  14. <modules>
  15. <!--子模块引入-->
  16. <module>fs4a-commons</module>
  17. <module>fs4a-service</module>
  18. <module>fs4a-middleware</module>
  19. <module>fs4a-interfaces</module>
  20. <module>fs4a-dao</module>
  21. </modules>
  22. <!--项目-->
  23. <properties>
  24. <elasticsearch.version>6.4.3</elasticsearch.version>
  25. <fs4a.version>1.0.0</fs4a.version>
  26. <snapshot.version>1.0.0-SNAPSHOT</snapshot.version>
  27. <!--common-->
  28. <java.version>1.8</java.version>
  29. <server.common.version>1.0.0-SNAPSHOT</server.common.version>
  30. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  31. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  32. <maven.compiler.source>1.8</maven.compiler.source>
  33. <maven.compiler.target>1.8</maven.compiler.target>
  34. <protobuf.java>3.7.0</protobuf.java>
  35. <protobuf.java.format>1.4</protobuf.java.format>
  36. <hutool-all.version>5.3.8</hutool-all.version>
  37. <jersey.version>2.28</jersey.version>
  38. <commons.langs.version>3.4</commons.langs.version>
  39. <javaee.api.verion>8.0</javaee.api.verion>
  40. <!-- <guava.version>28.1-jre</guava.version>-->
  41. <!--swagger-->
  42. <swagger.bootstrap.ui.version>1.9.6</swagger.bootstrap.ui.version>
  43. <swagger.version>2.9.1</swagger.version>
  44. <swagger.models.version>1.5.21</swagger.models.version>
  45. <!--other-->
  46. <fastjson.version>1.2.72</fastjson.version>
  47. <spring-boot.version>2.1.0.RELEASE</spring-boot.version>
  48. <spring.framework.version>5.1.2.RELEASE</spring.framework.version>
  49. <spring-cloud-alibaba.version>2.1.3.RELEASE</spring-cloud-alibaba.version>
  50. <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
  51. <lombok.version>1.18.2</lombok.version>
  52. <jasypt.version>3.0.3</jasypt.version>
  53. </properties>
  54. <dependencyManagement>
  55. <dependencies>
  56. <dependency>
  57. <groupId>com.alibaba.cloud</groupId>
  58. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  59. <version>2.1.3.RELEASE</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.cloud</groupId>
  65. <artifactId>spring-cloud-starter-openfeign</artifactId>
  66. <version>2.1.3.RELEASE</version>
  67. </dependency>
  68. </dependencies>
  69. </dependencyManagement>
  70. <dependencies>
  71. <dependency>
  72. <groupId>org.projectlombok</groupId>
  73. <artifactId>lombok</artifactId>
  74. <version>${lombok.version}</version>
  75. <scope>compile</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.alibaba</groupId>
  79. <artifactId>fastjson</artifactId>
  80. <version>${fastjson.version}</version>
  81. <scope>compile</scope>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <resources>
  86. <resource> <!-- 配置需要被替换的资源文件路径, properties 应该在 src/main/resource 目录下 -->
  87. <directory>src/main/resources</directory>
  88. <filtering>true</filtering> <!-- 是否使用过滤器 -->
  89. <includes>
  90. <include>**/*</include>
  91. </includes>
  92. </resource>
  93. </resources>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-compiler-plugin</artifactId>
  98. <!-- <version>2.3.2</version> -->
  99. <configuration>
  100. <source>${maven.compiler.source}</source>
  101. <target>${maven.compiler.source}</target>
  102. <encoding>${project.build.sourceEncoding}</encoding>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-resources-plugin</artifactId>
  108. <configuration>
  109. <delimiters>@</delimiters>
  110. <useDefaultDelimiters>false</useDefaultDelimiters>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-surefire-plugin</artifactId>
  116. <configuration>
  117. <skip>true</skip>
  118. </configuration>
  119. </plugin>
  120. </plugins>
  121. </build>
  122. </project>