pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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.0.2</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.0.2</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.cas</groupId>
  32. <artifactId>cas-client-core</artifactId>
  33. <version>3.1.12</version>
  34. <scope>system</scope>
  35. <systemPath>${project.basedir}/src/main/resources/lib/cas-client-core-3.1.12.jar</systemPath>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.qmth.cas</groupId>
  39. <artifactId>sso-client-java</artifactId>
  40. <version>7.0.8</version>
  41. <scope>system</scope>
  42. <systemPath>${project.basedir}/src/main/resources/lib/sso-client-java-7.0.8.jar</systemPath>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.qmth.cas</groupId>
  46. <artifactId>ly-uap</artifactId>
  47. <version>3.2.0</version>
  48. <scope>system</scope>
  49. <systemPath>${project.basedir}/src/main/resources/lib/ly-uap.3.2.0.jar</systemPath>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-maven-plugin</artifactId>
  57. <version>2.6.2</version>
  58. <configuration>
  59. <includeSystemScope>true</includeSystemScope>
  60. </configuration>
  61. <executions>
  62. <execution>
  63. <goals>
  64. <goal>repackage</goal>
  65. </goals>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <plugin>
  70. <groupId>com.spotify</groupId>
  71. <artifactId>dockerfile-maven-plugin</artifactId>
  72. <version>1.4.12</version>
  73. <configuration>
  74. <repository>registry.cn-shenzhen.aliyuncs.com/cas-exchange</repository>
  75. <tag>${project.version}</tag>
  76. <contextDirectory>${project.baseDir}</contextDirectory>
  77. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  78. <pullNewerImage>true</pullNewerImage>
  79. <buildArgs>
  80. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  81. </buildArgs>
  82. </configuration>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </project>