pom.xml 2.9 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>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-imcp-api</artifactId>
  12. <version>1.0.0</version>
  13. <name>server-imcp-api</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. <!-- Mybatis-Plus依赖 -->
  37. <dependency>
  38. <groupId>com.baomidou</groupId>
  39. <artifactId>mybatis-plus-boot-starter</artifactId>
  40. <version>3.4.2</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-starter-oauth2</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-data-redis</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.commons</groupId>
  52. <artifactId>commons-pool2</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.cloud</groupId>
  56. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  57. </dependency>
  58. </dependencies>
  59. <build>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-maven-plugin</artifactId>
  64. </plugin>
  65. <!-- <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-jar-plugin</artifactId>
  68. <configuration>
  69. <archive>
  70. <manifest>
  71. <addClasspath>true</addClasspath>
  72. <classpathPrefix>lib/</classpathPrefix>
  73. <mainClass>com.jd.ServerBasicApplication</mainClass>
  74. </manifest>
  75. </archive>
  76. </configuration>
  77. </plugin> -->
  78. <!-- 添加配置跳过测试 -->
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-surefire-plugin</artifactId>
  82. <configuration>
  83. <skipTests>true</skipTests>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. <resources>
  88. <resource>
  89. <directory>src/main/resources</directory>
  90. <!-- <excludes>
  91. <exclude>**/**</exclude>
  92. </excludes> -->
  93. </resource>
  94. </resources>
  95. </build>
  96. </project>