pom.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.task</groupId>
  6. <artifactId>distributed-print-task</artifactId>
  7. <version>2.0.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.0.0</version>
  13. </parent>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.qmth.distributed.print.business</groupId>
  17. <artifactId>distributed-print-business</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-quartz</artifactId>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <plugins>
  26. <plugin>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-maven-plugin</artifactId>
  29. <configuration>
  30. <includeSystemScope>true</includeSystemScope>
  31. </configuration>
  32. <!-- <executions>-->
  33. <!-- <execution>-->
  34. <!-- <goals>-->
  35. <!-- <goal>repackage</goal>-->
  36. <!-- </goals>-->
  37. <!-- </execution>-->
  38. <!-- </executions>-->
  39. </plugin>
  40. <plugin>
  41. <groupId>com.spotify</groupId>
  42. <artifactId>dockerfile-maven-plugin</artifactId>
  43. <version>1.4.12</version>
  44. <configuration>
  45. <repository>registry.cn-shenzhen.aliyuncs.com/distributed_print_task</repository>
  46. <tag>${project.version}</tag>
  47. <contextDirectory>${project.baseDir}</contextDirectory>
  48. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  49. <pullNewerImage>true</pullNewerImage>
  50. <buildArgs>
  51. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  52. </buildArgs>
  53. </configuration>
  54. </plugin>
  55. </plugins>
  56. </build>
  57. </project>