mirror of
https://github.com/chillzhuang/SpringBlade.git
synced 2024-12-23 09:39:24 +08:00
75 lines
2.8 KiB
XML
75 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
<parent>
|
|
<artifactId>blade-ops</artifactId>
|
|
<groupId>org.springblade</groupId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>blade-resource</artifactId>
|
|
<name>${project.artifactId}</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-tool</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-cloud</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-secure</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-starter-oss</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-starter-swagger</artifactId>
|
|
</dependency>
|
|
</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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|