pom.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.jd.dt2</groupId>
  8. <artifactId>cgj-dt2-parent</artifactId>
  9. <version>0.0.1</version>
  10. </parent>
  11. <artifactId>server-auth</artifactId>
  12. <name>server-auth</name>
  13. <description>认证服务器</description>
  14. <!-- <properties> <skipTests>true</skipTests> </properties> -->
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.cloud</groupId>
  22. <artifactId>spring-cloud-starter-oauth2</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter-security</artifactId>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <plugins>
  31. <plugin>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-maven-plugin</artifactId>
  34. </plugin>
  35. <!-- <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-jar-plugin</artifactId>
  38. <configuration>
  39. <archive>
  40. <manifest>
  41. <addClasspath>true</addClasspath>
  42. <classpathPrefix>lib/</classpathPrefix>
  43. <mainClass>com.jd.ServerAuthApplication</mainClass>
  44. </manifest>
  45. </archive>
  46. </configuration>
  47. </plugin> -->
  48. <!-- 添加配置跳过测试 -->
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-surefire-plugin</artifactId>
  52. <configuration>
  53. <skipTests>true</skipTests>
  54. </configuration>
  55. </plugin>
  56. </plugins>
  57. <!-- <resources>
  58. <resource>
  59. <directory>src/main/resources</directory>
  60. <excludes>
  61. <exclude>**/*.yml</exclude>
  62. </excludes>
  63. </resource>
  64. </resources> -->
  65. </build>
  66. </project>