pom.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0"?>
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springblade</groupId>
  8. <artifactId>BladeX-Biz</artifactId>
  9. <version>2.2.2.RELEASE</version>
  10. </parent>
  11. <artifactId>blade-service</artifactId>
  12. <name>${project.artifactId}</name>
  13. <version>2.2.2.RELEASE</version>
  14. <packaging>pom</packaging>
  15. <description>BladeX 微服务集合</description>
  16. <modules>
  17. <module>blade-demo</module>
  18. </modules>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springblade</groupId>
  22. <artifactId>blade-common</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springblade</groupId>
  26. <artifactId>blade-starter-tenant</artifactId>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <plugins>
  31. <plugin>
  32. <groupId>com.spotify</groupId>
  33. <artifactId>docker-maven-plugin</artifactId>
  34. <version>${docker.plugin.version}</version>
  35. <configuration>
  36. <imageName>${docker.registry.url}/blade/${project.artifactId}:${project.version}</imageName>
  37. <dockerDirectory>${project.basedir}</dockerDirectory>
  38. <dockerHost>${docker.registry.host}</dockerHost>
  39. <resources>
  40. <resource>
  41. <targetPath>/</targetPath>
  42. <directory>${project.build.directory}</directory>
  43. <include>${project.build.finalName}.jar</include>
  44. </resource>
  45. </resources>
  46. <registryUrl>${docker.registry.url}</registryUrl>
  47. <serverId>${docker.registry.url}</serverId>
  48. <pushImage>true</pushImage>
  49. </configuration>
  50. </plugin>
  51. </plugins>
  52. </build>
  53. </project>