pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>blade-ops</artifactId>
  7. <groupId>org.springblade</groupId>
  8. <version>2.9.1.RELEASE</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>blade-xxljob</artifactId>
  12. <name>${project.artifactId}</name>
  13. <version>${bladex.project.version}</version>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <!--Blade-->
  17. <dependency>
  18. <groupId>org.springblade</groupId>
  19. <artifactId>blade-common</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springblade</groupId>
  23. <artifactId>blade-core-cloud</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springblade</groupId>
  27. <artifactId>blade-core-launch</artifactId>
  28. </dependency>
  29. <!--Job-->
  30. <dependency>
  31. <groupId>com.xuxueli</groupId>
  32. <artifactId>xxl-job-core</artifactId>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <plugins>
  37. <plugin>
  38. <groupId>com.spotify</groupId>
  39. <artifactId>dockerfile-maven-plugin</artifactId>
  40. <configuration>
  41. <username>${docker.username}</username>
  42. <password>${docker.password}</password>
  43. <repository>${docker.registry.url}/${docker.namespace}/${project.artifactId}</repository>
  44. <tag>${project.version}</tag>
  45. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  46. <buildArgs>
  47. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  48. </buildArgs>
  49. <skip>false</skip>
  50. </configuration>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-antrun-plugin</artifactId>
  55. </plugin>
  56. </plugins>
  57. </build>
  58. </project>