pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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.5.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.jd</groupId>
  12. <artifactId>communication</artifactId>
  13. <version>1.0.0</version>
  14. <name>communication</name>
  15. <description>即时通讯</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-websocket</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.alibaba</groupId>
  30. <artifactId>fastjson</artifactId>
  31. <version>1.2.68</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-test</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  39. <dependency>
  40. <groupId>org.projectlombok</groupId>
  41. <artifactId>lombok</artifactId>
  42. <scope>provided</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>cn.hutool</groupId>
  46. <artifactId>hutool-all</artifactId>
  47. <version>5.3.7</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter</artifactId>
  52. <exclusions>
  53. <exclusion>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-logging</artifactId>
  56. </exclusion>
  57. </exclusions>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-log4j2</artifactId>
  62. </dependency>
  63. <!-- 支持识别yml配置 -->
  64. <dependency>
  65. <groupId>com.fasterxml.jackson.dataformat</groupId>
  66. <artifactId>jackson-dataformat-yaml</artifactId>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-jar-plugin</artifactId>
  78. <configuration>
  79. <archive>
  80. <manifest>
  81. <addClasspath>true</addClasspath>
  82. <classpathPrefix>lib/</classpathPrefix>
  83. <mainClass>com.jd.CommunicationApplication</mainClass>
  84. </manifest>
  85. </archive>
  86. </configuration>
  87. </plugin>
  88. <!-- 添加配置跳过测试 -->
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-surefire-plugin</artifactId>
  92. <configuration>
  93. <skipTests>true</skipTests>
  94. </configuration>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>