You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
148 lines
5.7 KiB
148 lines
5.7 KiB
<?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>BladeX</artifactId> |
|
<groupId>org.springblade</groupId> |
|
<version>2.0.0.RC9</version> |
|
</parent> |
|
|
|
<artifactId>blade-auth</artifactId> |
|
<name>${project.artifactId}</name> |
|
<version>${bladex.project.version}</version> |
|
<packaging>jar</packaging> |
|
|
|
<dependencies> |
|
<!--Blade--> |
|
<dependency> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-common</artifactId> |
|
<version>${bladex.project.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-core-cloud</artifactId> |
|
<version>${bladex.tool.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-core-secure</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-user-api</artifactId> |
|
<version>${bladex.project.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-core-secure</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-system-api</artifactId> |
|
<version>${bladex.project.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-core-secure</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-starter-swagger</artifactId> |
|
<version>${bladex.tool.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-security</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.security.oauth.boot</groupId> |
|
<artifactId>spring-security-oauth2-autoconfigure</artifactId> |
|
<version>2.1.3.RELEASE</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-jdbc</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<artifactId>tomcat-jdbc</artifactId> |
|
<groupId>org.apache.tomcat</groupId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-data-redis</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.security</groupId> |
|
<artifactId>spring-security-jwt</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>io.jsonwebtoken</groupId> |
|
<artifactId>jjwt</artifactId> |
|
<version>0.9.1</version> |
|
</dependency> |
|
<!-- MySQL --> |
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
<version>8.0.15</version> |
|
</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> |
|
<copy overwrite="true" |
|
tofile="${session.executionRootDirectory}/target/${project.artifactId}.jar" |
|
file="${project.build.directory}/${project.artifactId}.jar" /> |
|
</tasks> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
</project>
|
|
|