pom.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.12.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.unissoft</groupId>
  12. <artifactId>smart-grp-nof-dev-test</artifactId>
  13. <version>1.0</version>
  14. <name>smart-grp-nof-dev-test</name>
  15. <properties>
  16. <skipTests>true</skipTests>
  17. <java.version>1.8</java.version>
  18. <nof.version>1.0</nof.version>
  19. <fastjson.version>1.2.83</fastjson.version>
  20. <lombok.version>1.18.20</lombok.version>
  21. <spring-web.version>5.2.15.RELEASE</spring-web.version>
  22. </properties>
  23. <dependencies>
  24. <!-- 引入公共模块 -->
  25. <dependency>
  26. <groupId>com.unissoft</groupId>
  27. <artifactId>smart-grp-nof-common</artifactId>
  28. <version>1.0</version>
  29. <!--<exclusions>
  30. <exclusion>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </exclusion>
  34. </exclusions>-->
  35. </dependency>
  36. <!-- SpringWeb模块-->
  37. <dependency>
  38. <groupId>org.springframework</groupId>
  39. <artifactId>spring-web</artifactId>
  40. <version>${spring-web.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>fastjson</artifactId>
  45. <version>${fastjson.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.projectlombok</groupId>
  49. <artifactId>lombok</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. <version>${lombok.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.junit.jupiter</groupId>
  58. <artifactId>junit-jupiter</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>commons-codec</groupId>
  63. <artifactId>commons-codec</artifactId>
  64. <version>1.14</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-test</artifactId>
  69. <version>2.3.12.RELEASE</version>
  70. <scope>test</scope>
  71. </dependency>
  72. </dependencies>
  73. <build>
  74. <finalName>${project.artifactId}</finalName>
  75. <plugins>
  76. <plugin>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-maven-plugin</artifactId>
  79. </plugin>
  80. <!--打包时跳过测试-->
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-surefire-plugin</artifactId>
  84. <configuration>
  85. <skipTests>true</skipTests>
  86. </configuration>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>