mirror of
https://github.com/chillzhuang/SpringBlade.git
synced 2024-11-22 02:19:25 +08:00
117 lines
4.5 KiB
XML
117 lines
4.5 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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<artifactId>SpringBlade</artifactId>
|
|
<groupId>org.springblade</groupId>
|
|
<version>3.7.0</version>
|
|
</parent>
|
|
|
|
<artifactId>blade-auth</artifactId>
|
|
<name>${project.artifactId}</name>
|
|
<version>${blade.project.version}</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<!--Blade-->
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-common</artifactId>
|
|
<version>${blade.project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-cloud</artifactId>
|
|
<version>${blade.tool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-secure</artifactId>
|
|
<version>${blade.tool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-log</artifactId>
|
|
<version>${blade.tool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-social</artifactId>
|
|
<version>${blade.tool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-user-api</artifactId>
|
|
<version>${blade.project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-swagger</artifactId>
|
|
<version>${blade.tool.version}</version>
|
|
</dependency>
|
|
<!-- Captcha -->
|
|
<dependency>
|
|
<groupId>com.github.whvcse</groupId>
|
|
<artifactId>easy-captcha</artifactId>
|
|
<version>${captcha.version}</version>
|
|
</dependency>
|
|
<!-- MySQL -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.connector.version}</version>
|
|
<scope>runtime</scope>
|
|
</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>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<!--suppress UnresolvedMavenProperty -->
|
|
<copy overwrite="true"
|
|
tofile="${session.executionRootDirectory}/target/${artifactId}.jar"
|
|
file="${project.build.directory}/${artifactId}.jar" />
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|