pom.xml 3.1 KB

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