blob: 66e89d0b06f0e4796fb434088f24829a10b2b0f9 [file] [log] [blame]
刘洪青ffe2f412019-10-11 10:25:26 +08001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
6 <parent>
7 <groupId>com.supwisdom.buildcommons</groupId>
8 <artifactId>spring-cloud-parent</artifactId>
9 <version>Finchley.RELEASE-1.1</version>
10 </parent>
11
12 <groupId>com.supwisdom.institute</groupId>
13 <artifactId>sw-backend-admin-bff-parent</artifactId>
14 <version>0.0.2-SNAPSHOT</version>
15 <packaging>pom</packaging>
16
17 <name>Supwisdom Backend Framework Admin Backend for Frontend Parent</name>
18 <description>Supwisdom Backend Framework Admin Backend for Frontend Parent project</description>
19
20 <modules>
21 <module>bff</module>
22 </modules>
23
24 <properties>
25 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 <java.version>1.8</java.version>
27
28 <argLine>-Dfile.encoding=UTF-8</argLine>
29
30 <downloadSources>true</downloadSources>
31 <downloadJavadocs>true</downloadJavadocs>
32
33 <maven.compiler.source>${java.version}</maven.compiler.source>
34 <maven.compiler.target>${java.version}</maven.compiler.target>
35
36 <dockerfile-maven-plugin.version>1.4.8</dockerfile-maven-plugin.version>
37 <dockerfile.image.server>harbor.supwisdom.com</dockerfile.image.server>
38 <dockerfile.image.prefix>sw-admin-framework</dockerfile.image.prefix>
39
刘洪青0e9f1a42019-11-16 09:29:27 +080040 <infras.version>0.1.2-SNAPSHOT</infras.version>
刘洪青ffe2f412019-10-11 10:25:26 +080041
42 <io.springfox.version>2.9.2</io.springfox.version>
43
44 </properties>
45
46 <distributionManagement>
47 <repository>
48 <id>supwisdom-releases</id>
49 <name>internal release</name>
50 <url>https://app.supwisdom.com/nexus/content/repositories/releases</url>
51 </repository>
52 <snapshotRepository>
53 <id>supwisdom-snapshots</id>
54 <name>internal snapshots</name>
55 <url>https://app.supwisdom.com/nexus/content/repositories/snapshots</url>
56 </snapshotRepository>
57 </distributionManagement>
58
59 <repositories>
60 <repository>
61 <snapshots>
62 <enabled>true</enabled>
63 </snapshots>
64 <id>supwisdom</id>
65 <url>https://app.supwisdom.com/nexus/content/groups/public/</url>
66 </repository>
67 <repository>
68 <snapshots>
69 <enabled>false</enabled>
70 </snapshots>
71 <id>central</id>
72 <url>http://repo.maven.apache.org/maven2</url>
73 </repository>
74 </repositories>
75
76 <dependencyManagement>
77 <dependencies>
78
79 <dependency>
80 <groupId>com.supwisdom.infras</groupId>
81 <artifactId>infras-bom</artifactId>
82 <version>${infras.version}</version>
83 <type>pom</type>
84 <scope>import</scope>
85 </dependency>
86
87
88 <dependency>
89 <groupId>com.supwisdom.institute</groupId>
90 <artifactId>sw-backend-common-core</artifactId>
91 <version>${project.version}</version>
92 </dependency>
93
94 <dependency>
95 <groupId>com.supwisdom.institute</groupId>
96 <artifactId>sw-backend-common-utils</artifactId>
97 <version>${project.version}</version>
98 </dependency>
99
100 <dependency>
101 <groupId>com.supwisdom.institute</groupId>
102 <artifactId>sw-backend-common-framework</artifactId>
103 <version>${project.version}</version>
104 </dependency>
105
106
107 <!-- 使用Apache HttpClient替换Feign原生httpclient -->
108 <dependency>
109 <groupId>com.netflix.feign</groupId>
110 <artifactId>feign-httpclient</artifactId>
111 <version>8.17.0</version>
112 </dependency>
113
114
115 <dependency>
116 <groupId>io.springfox</groupId>
117 <artifactId>springfox-swagger2</artifactId>
118 <version>${io.springfox.version}</version>
119 </dependency>
120 <dependency>
121 <groupId>io.springfox</groupId>
122 <artifactId>springfox-swagger-ui</artifactId>
123 <version>${io.springfox.version}</version>
124 </dependency>
125
126 </dependencies>
127 </dependencyManagement>
128
129 <build>
130 <pluginManagement>
131 <plugins>
132 <plugin>
133 <groupId>com.spotify</groupId>
134 <artifactId>dockerfile-maven-plugin</artifactId>
135 <version>${dockerfile-maven-plugin.version}</version>
136 <configuration>
137 <repository>${dockerfile.image.server}/${dockerfile.image.prefix}/${project.artifactId}</repository>
138 <tag>${project.version}</tag>
139 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
140 <buildArgs>
141 <JAR_FILE>${project.build.finalName}.${project.packaging}</JAR_FILE>
142 <VERSION>${project.version}</VERSION>
143 <NAME>${project.artifactId}</NAME>
144 </buildArgs>
145 </configuration>
146 </plugin>
147 </plugins>
148 </pluginManagement>
149
150 <plugins>
151 <plugin>
152 <groupId>com.spotify</groupId>
153 <artifactId>dockerfile-maven-plugin</artifactId>
154 <configuration>
155 <skip>true</skip>
156 </configuration>
157 </plugin>
158 </plugins>
159
160 </build>
161
162</project>