pom.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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.1.0</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>com.qmth.themis</groupId>
  11. <artifactId>themis-service</artifactId>
  12. <version>1.1.0</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. <configuration>
  34. <includeSystemScope>true</includeSystemScope>
  35. </configuration>
  36. </plugin>
  37. <plugin>
  38. <groupId>com.spotify</groupId>
  39. <artifactId>dockerfile-maven-plugin</artifactId>
  40. <version>1.4.12</version>
  41. <configuration>
  42. <repository>registry.cn-shenzhen.aliyuncs.com/online_exam/task</repository>
  43. <tag>${project.version}</tag>
  44. <contextDirectory>${project.baseDir}</contextDirectory>
  45. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  46. <pullNewerImage>true</pullNewerImage>
  47. <buildArgs>
  48. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  49. </buildArgs>
  50. </configuration>
  51. </plugin>
  52. </plugins>
  53. </build>
  54. </project>