pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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.distributed.print</groupId>
  6. <artifactId>distributed-print</artifactId>
  7. <version>2.1.0</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>com.qmth.distributed.print.service</groupId>
  11. <artifactId>distributed-print-service</artifactId>
  12. <version>2.1.0</version>
  13. </parent>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.qmth.teachcloud.task</groupId>
  17. <artifactId>teachcloud-task</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.qmth.teachcloud.common.api</groupId>
  21. <artifactId>teachcloud-common-api</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. <version>${spring-boot.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>junit</groupId>
  30. <artifactId>junit</artifactId>
  31. <version>4.13</version>
  32. </dependency>
  33. </dependencies>
  34. <build>
  35. <plugins>
  36. <plugin>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-maven-plugin</artifactId>
  39. <version>2.6.2</version>
  40. <configuration>
  41. <includeSystemScope>true</includeSystemScope>
  42. </configuration>
  43. <executions>
  44. <execution>
  45. <goals>
  46. <goal>repackage</goal>
  47. </goals>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. <plugin>
  52. <groupId>com.spotify</groupId>
  53. <artifactId>dockerfile-maven-plugin</artifactId>
  54. <version>1.4.12</version>
  55. <configuration>
  56. <repository>registry.cn-shenzhen.aliyuncs.com/distributed_print</repository>
  57. <tag>${project.version}</tag>
  58. <contextDirectory>${project.baseDir}</contextDirectory>
  59. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  60. <pullNewerImage>true</pullNewerImage>
  61. <buildArgs>
  62. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  63. </buildArgs>
  64. </configuration>
  65. </plugin>
  66. </plugins>
  67. </build>
  68. </project>