BladeX/blade-service/pom.xml

66 lines
2.4 KiB
XML
Raw Normal View History

2019-01-30 17:06:23 +08:00
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springblade</groupId>
<artifactId>SpringBlade</artifactId>
<version>4.0.0</version>
2019-01-30 17:06:23 +08:00
</parent>
2019-02-21 14:22:01 +08:00
<artifactId>blade-service</artifactId>
<name>${project.artifactId}</name>
<version>4.0.0</version>
2019-02-21 14:22:01 +08:00
<packaging>pom</packaging>
<description>SpringBlade 微服务集合</description>
2019-01-30 17:06:23 +08:00
<modules>
<module>blade-desk</module>
<module>blade-log</module>
<module>blade-system</module>
<module>blade-user</module>
<module>blade-demo</module>
2019-01-30 17:06:23 +08:00
</modules>
<dependencies>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-common</artifactId>
<version>${blade.project.version}</version>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-scope-api</artifactId>
<version>${blade.project.version}</version>
</dependency>
2019-01-30 17:06:23 +08:00
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker.plugin.version}</version>
<configuration>
<imageName>${docker.registry.url}/blade/${project.artifactId}:${project.version}</imageName>
<dockerDirectory>${project.basedir}</dockerDirectory>
<dockerHost>${docker.registry.host}</dockerHost>
<resources>
<resource>
<targetPath>/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
<registryUrl>${docker.registry.url}</registryUrl>
<serverId>${docker.registry.url}</serverId>
<pushImage>true</pushImage>
</configuration>
</plugin>
</plugins>
</build>
</project>