blob: d0a0213c95073d93e18b901615ac2f6945e0d8a0 [file] [log] [blame]
<?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>
<groupId>com.supwisdom.buildcommons</groupId>
<artifactId>spring-cloud-parent</artifactId>
<version>Finchley.RELEASE-1.1</version>
</parent>
<groupId>com.supwisdom.institute</groupId>
<artifactId>sw-backend-common-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Supwisdom Backend Framework Common Parent</name>
<description>Supwisdom Backend Framework Common Parent project</description>
<modules>
<module>core</module>
<module>utils</module>
<module>framework</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<argLine>-Dfile.encoding=UTF-8</argLine>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<dockerfile-maven-plugin.version>1.4.8</dockerfile-maven-plugin.version>
<dockerfile.image.server>harbor.supwisdom.com</dockerfile.image.server>
<dockerfile.image.prefix>sw-admin-framework</dockerfile.image.prefix>
<infras.version>0.1.2-SNAPSHOT</infras.version>
<io.springfox.version>2.9.2</io.springfox.version>
</properties>
<distributionManagement>
<repository>
<id>supwisdom-releases</id>
<name>internal release</name>
<url>https://app.supwisdom.com/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>supwisdom-snapshots</id>
<name>internal snapshots</name>
<url>https://app.supwisdom.com/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>supwisdom</id>
<url>https://app.supwisdom.com/nexus/content/groups/public/</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<url>http://repo.maven.apache.org/maven2</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.supwisdom.infras</groupId>
<artifactId>infras-bom</artifactId>
<version>${infras.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.supwisdom.institute</groupId>
<artifactId>sw-backend-common-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.supwisdom.institute</groupId>
<artifactId>sw-backend-common-utils</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.supwisdom.institute</groupId>
<artifactId>sw-backend-common-framework</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 使用Apache HttpClient替换Feign原生httpclient -->
<dependency>
<groupId>com.netflix.feign</groupId>
<artifactId>feign-httpclient</artifactId>
<version>8.17.0</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.61</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>28.0-jre</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${io.springfox.version}</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>${io.springfox.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>${dockerfile-maven-plugin.version}</version>
<configuration>
<repository>${dockerfile.image.server}/${dockerfile.image.prefix}/${project.artifactId}</repository>
<tag>${project.version}</tag>
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
<buildArgs>
<JAR_FILE>${project.build.finalName}.${project.packaging}</JAR_FILE>
<VERSION>${project.version}</VERSION>
<NAME>${project.artifactId}</NAME>
</buildArgs>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>