pom.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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.cdut.exchange</groupId>
  6. <artifactId>cdut-exchange</artifactId>
  7. <version>1.0.2.1</version>
  8. <packaging>jar</packaging>
  9. <description>成都理工大学单点登录</description>
  10. <parent>
  11. <groupId>com.qmth.teachcloud.exchange.service</groupId>
  12. <artifactId>teachcloud-exchange-service</artifactId>
  13. <version>1.0.2.1</version>
  14. </parent>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.qmth.teachcloud.exchange.common</groupId>
  18. <artifactId>teachcloud-exchange-common</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. <version>${spring-boot.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.apache.tomcat.embed</groupId>
  27. <artifactId>tomcat-embed-core</artifactId>
  28. <version>9.0.64</version>
  29. <scope>compile</scope>
  30. </dependency>
  31. </dependencies>
  32. <build>
  33. <plugins>
  34. <plugin>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-maven-plugin</artifactId>
  37. <version>2.6.2</version>
  38. <configuration>
  39. <includeSystemScope>true</includeSystemScope>
  40. </configuration>
  41. <executions>
  42. <execution>
  43. <goals>
  44. <goal>repackage</goal>
  45. </goals>
  46. </execution>
  47. </executions>
  48. </plugin>
  49. <plugin>
  50. <groupId>com.spotify</groupId>
  51. <artifactId>dockerfile-maven-plugin</artifactId>
  52. <version>1.4.12</version>
  53. <configuration>
  54. <repository>registry.cn-shenzhen.aliyuncs.com/cdut-exchange</repository>
  55. <tag>${project.version}</tag>
  56. <contextDirectory>${project.baseDir}</contextDirectory>
  57. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  58. <pullNewerImage>true</pullNewerImage>
  59. <buildArgs>
  60. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  61. </buildArgs>
  62. </configuration>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. </project>