pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. <groupId>com.qmth.cas.exchange</groupId>
  6. <artifactId>cas-exchange</artifactId>
  7. <version>2.0.1</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>com.qmth.teachcloud.exchange.service</groupId>
  11. <artifactId>teachcloud-exchange-service</artifactId>
  12. <version>2.0.1</version>
  13. </parent>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.qmth.teachcloud.exchange.common</groupId>
  17. <artifactId>teachcloud-exchange-common</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. <version>${spring-boot.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.apache.tomcat.embed</groupId>
  26. <artifactId>tomcat-embed-core</artifactId>
  27. <version>9.0.64</version>
  28. <scope>compile</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.qmth.boot</groupId>
  32. <artifactId>data-redis</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.qmth.cas</groupId>
  36. <artifactId>cas-client-core</artifactId>
  37. <version>3.1.12</version>
  38. <scope>system</scope>
  39. <systemPath>${project.basedir}/src/main/resources/lib/cas-client-core-3.1.12.jar</systemPath>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.qmth.cas</groupId>
  43. <artifactId>sso-client-java</artifactId>
  44. <version>7.0.8</version>
  45. <scope>system</scope>
  46. <systemPath>${project.basedir}/src/main/resources/lib/sso-client-java-7.0.8.jar</systemPath>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.qmth.cas</groupId>
  50. <artifactId>ly-uap</artifactId>
  51. <version>3.2.0</version>
  52. <scope>system</scope>
  53. <systemPath>${project.basedir}/src/main/resources/lib/ly-uap.3.2.0.jar</systemPath>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.qmth.cas</groupId>
  57. <artifactId>cas-client-core</artifactId>
  58. <version>3.2.1</version>
  59. <scope>system</scope>
  60. <systemPath>${project.basedir}/src/main/resources/lib/cas-client-core-3.2.1.jar</systemPath>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.qmth.cas</groupId>
  64. <artifactId>cas-client-core</artifactId>
  65. <version>3.2.1</version>
  66. <scope>system</scope>
  67. <systemPath>${project.basedir}/src/main/resources/lib/cas-client-core-3.2.1.jar</systemPath>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.qmth.cas</groupId>
  71. <artifactId>neusoft-cas-client</artifactId>
  72. <version>4.0.0</version>
  73. <scope>system</scope>
  74. <systemPath>${project.basedir}/src/main/resources/lib/neusoft-cas-client-4.0.0.jar</systemPath>
  75. </dependency>
  76. <!-- <dependency>-->
  77. <!-- <groupId>apache.jakarta.commons.codec</groupId>-->
  78. <!-- <artifactId>apache-jakarta-commons-codec</artifactId>-->
  79. <!-- <version>1.0.0</version>-->
  80. <!-- <scope>system</scope>-->
  81. <!-- <systemPath>${project.basedir}/src/main/resources/lib/apache-jakarta-commons-codec.jar</systemPath>-->
  82. <!-- </dependency>-->
  83. <!-- <dependency>-->
  84. <!-- <groupId>apache.jakarta.commons.httpclient</groupId>-->
  85. <!-- <artifactId>apache-jakarta-commons-httpclient</artifactId>-->
  86. <!-- <version>1.0.0</version>-->
  87. <!-- <scope>system</scope>-->
  88. <!-- <systemPath>${project.basedir}/src/main/resources/lib/apache-jakarta-commons-httpclient.jar</systemPath>-->
  89. <!-- </dependency>-->
  90. </dependencies>
  91. <build>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-maven-plugin</artifactId>
  96. <version>2.6.2</version>
  97. <configuration>
  98. <includeSystemScope>true</includeSystemScope>
  99. </configuration>
  100. <executions>
  101. <execution>
  102. <goals>
  103. <goal>repackage</goal>
  104. </goals>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. <plugin>
  109. <groupId>com.spotify</groupId>
  110. <artifactId>dockerfile-maven-plugin</artifactId>
  111. <version>1.4.12</version>
  112. <configuration>
  113. <repository>registry.cn-shenzhen.aliyuncs.com/cas-exchange</repository>
  114. <tag>${project.version}</tag>
  115. <contextDirectory>${project.baseDir}</contextDirectory>
  116. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  117. <pullNewerImage>true</pullNewerImage>
  118. <buildArgs>
  119. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  120. </buildArgs>
  121. </configuration>
  122. </plugin>
  123. </plugins>
  124. </build>
  125. </project>