pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>xy-authorize</artifactId>
  7. <groupId>com.xy</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>authorize-start</artifactId>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.xy</groupId>
  20. <artifactId>authorize-api-service</artifactId>
  21. <version>1.0</version>
  22. <exclusions>
  23. <exclusion>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-logging</artifactId>
  26. </exclusion>
  27. </exclusions>
  28. </dependency>
  29. <!-- log4j -->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-log4j2</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.lmax</groupId>
  36. <artifactId>disruptor</artifactId>
  37. <version>3.4.4</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.plumelog</groupId>
  41. <artifactId>plumelog-log4j2</artifactId>
  42. <version>3.5.3</version>
  43. </dependency>
  44. <!--滑块验证码
  45. <dependency>
  46. <groupId>com.anji-plus</groupId>
  47. <artifactId>spring-boot-starter-captcha</artifactId>
  48. <version>1.3.0</version>
  49. </dependency>
  50. -->
  51. </dependencies>
  52. <build>
  53. <plugins>
  54. <!-- 打包 -->
  55. <plugin>
  56. <groupId>org.apache.maven.plugins</groupId>
  57. <artifactId>maven-assembly-plugin</artifactId>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-maven-plugin</artifactId>
  62. <version>2.3.12.RELEASE</version>
  63. <configuration>
  64. <mainClass>com.xy.StartCloud</mainClass>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>repackage</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <!-- 上传源码 -->
  75. <plugin>
  76. <artifactId>maven-source-plugin</artifactId>
  77. <version>2.4</version>
  78. <configuration>
  79. <attach>true</attach>
  80. </configuration>
  81. <executions>
  82. <execution>
  83. <phase>compile</phase>
  84. <goals>
  85. <goal>jar</goal>
  86. </goals>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. </project>