pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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.themis.task</groupId>
  6. <artifactId>themis-task</artifactId>
  7. <version>1.2.6.1</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>com.qmth.themis</groupId>
  11. <artifactId>themis-service</artifactId>
  12. <version>1.2.6.1</version>
  13. </parent>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.qmth.themis.mq</groupId>
  17. <artifactId>themis-mq</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-quartz</artifactId>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <plugins>
  30. <plugin>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-maven-plugin</artifactId>
  33. <version>2.6.2</version>
  34. <configuration>
  35. <includeSystemScope>true</includeSystemScope>
  36. </configuration>
  37. </plugin>
  38. <plugin>
  39. <groupId>com.spotify</groupId>
  40. <artifactId>dockerfile-maven-plugin</artifactId>
  41. <version>1.4.12</version>
  42. <configuration>
  43. <repository>registry.cn-shenzhen.aliyuncs.com/online_exam/task</repository>
  44. <tag>${project.version}</tag>
  45. <contextDirectory>${project.baseDir}</contextDirectory>
  46. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  47. <pullNewerImage>true</pullNewerImage>
  48. <buildArgs>
  49. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  50. </buildArgs>
  51. </configuration>
  52. </plugin>
  53. </plugins>
  54. </build>
  55. </project>