pom.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.gdpu.exchange</groupId>
  6. <artifactId>gdpu-exchange</artifactId>
  7. <version>1.0.2.1</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>com.qmth.teachcloud.exchange.service</groupId>
  11. <artifactId>teachcloud-exchange-service</artifactId>
  12. <version>1.0.2.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.gdpu</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.gdpu</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. </dependencies>
  45. <build>
  46. <plugins>
  47. <plugin>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-maven-plugin</artifactId>
  50. <version>2.6.2</version>
  51. <configuration>
  52. <includeSystemScope>true</includeSystemScope>
  53. </configuration>
  54. <executions>
  55. <execution>
  56. <goals>
  57. <goal>repackage</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. <plugin>
  63. <groupId>com.spotify</groupId>
  64. <artifactId>dockerfile-maven-plugin</artifactId>
  65. <version>1.4.12</version>
  66. <configuration>
  67. <repository>registry.cn-shenzhen.aliyuncs.com/gdpu-exchange</repository>
  68. <tag>${project.version}</tag>
  69. <contextDirectory>${project.baseDir}</contextDirectory>
  70. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  71. <pullNewerImage>true</pullNewerImage>
  72. <buildArgs>
  73. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  74. </buildArgs>
  75. </configuration>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. </project>