pom.xml 2.2 KB

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