pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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>com.jd.dt2</groupId>
  7. <artifactId>cgj-dt2-parent</artifactId>
  8. <version>0.0.1</version>
  9. </parent>
  10. <groupId>com.jd</groupId>
  11. <artifactId>server-threeapi</artifactId>
  12. <version>1.0.0</version>
  13. <name>server-threeapi</name>
  14. <description>平板辅助终端,对接了第三方接口来控制设备和查询数据</description>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.cloud</groupId>
  25. <artifactId>spring-cloud-starter-openfeign</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>mysql</groupId>
  29. <artifactId>mysql-connector-java</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.mybatis.spring.boot</groupId>
  33. <artifactId>mybatis-spring-boot-starter</artifactId>
  34. <version>${mybatis-spring-boot-starter}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.cloud</groupId>
  38. <artifactId>spring-cloud-starter-oauth2</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-redis</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.commons</groupId>
  46. <artifactId>commons-pool2</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.cloud</groupId>
  50. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-maven-plugin</artifactId>
  58. </plugin>
  59. <!-- <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-jar-plugin</artifactId>
  62. <configuration>
  63. <archive>
  64. <manifest>
  65. <addClasspath>true</addClasspath>
  66. <classpathPrefix>lib/</classpathPrefix>
  67. <mainClass>com.jd.ServerBasicApplication</mainClass>
  68. </manifest>
  69. </archive>
  70. </configuration>
  71. </plugin> -->
  72. <!-- 添加配置跳过测试 -->
  73. <plugin>
  74. <groupId>org.apache.maven.plugins</groupId>
  75. <artifactId>maven-surefire-plugin</artifactId>
  76. <configuration>
  77. <skipTests>true</skipTests>
  78. </configuration>
  79. </plugin>
  80. </plugins>
  81. <resources>
  82. <resource>
  83. <directory>src/main/resources</directory>
  84. <!-- <excludes>
  85. <exclude>**/**</exclude>
  86. </excludes> -->
  87. </resource>
  88. </resources>
  89. </build>
  90. </project>