刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 1 | <?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" |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 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> |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 7 | <groupId>com.supwisdom.buildcommons</groupId> |
| 8 | <artifactId>spring-cloud-parent</artifactId> |
| 9 | <version>Finchley.RELEASE-1.1</version> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 10 | </parent> |
| 11 | |
| 12 | <groupId>com.supwisdom.institute</groupId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 13 | <artifactId>sw-backend-gateway</artifactId> |
刘洪青 | ff545bc | 2019-10-11 10:08:47 +0800 | [diff] [blame] | 14 | <version>0.0.2-SNAPSHOT</version> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 15 | <packaging>jar</packaging> |
| 16 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 17 | <name>Supwisdom Backend Framework Gateway</name> |
| 18 | <description>Supwisdom Backend Framework Gateway project</description> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 19 | |
| 20 | <properties> |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 21 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 22 | <java.version>1.8</java.version> |
| 23 | |
| 24 | <argLine>-Dfile.encoding=UTF-8</argLine> |
| 25 | |
| 26 | <downloadSources>true</downloadSources> |
| 27 | <downloadJavadocs>true</downloadJavadocs> |
| 28 | |
| 29 | <maven.compiler.source>${java.version}</maven.compiler.source> |
| 30 | <maven.compiler.target>${java.version}</maven.compiler.target> |
| 31 | |
| 32 | <dockerfile-maven-plugin.version>1.4.8</dockerfile-maven-plugin.version> |
| 33 | <dockerfile.image.server>harbor.supwisdom.com</dockerfile.image.server> |
| 34 | <dockerfile.image.prefix>sw-admin-framework</dockerfile.image.prefix> |
| 35 | |
刘洪青 | 0e9f1a4 | 2019-11-16 09:29:27 +0800 | [diff] [blame] | 36 | <infras.version>0.1.2-SNAPSHOT</infras.version> |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 37 | |
| 38 | <io.springfox.version>2.9.2</io.springfox.version> |
| 39 | |
| 40 | <mybatis.spring.boot.version>1.3.1</mybatis.spring.boot.version> |
| 41 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 42 | <start-class>com.supwisdom.institute.backend.gateway.Application</start-class> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 43 | </properties> |
| 44 | |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 45 | <distributionManagement> |
| 46 | <repository> |
| 47 | <id>supwisdom-releases</id> |
| 48 | <name>internal release</name> |
| 49 | <url>https://app.supwisdom.com/nexus/content/repositories/releases</url> |
| 50 | </repository> |
| 51 | <snapshotRepository> |
| 52 | <id>supwisdom-snapshots</id> |
| 53 | <name>internal snapshots</name> |
| 54 | <url>https://app.supwisdom.com/nexus/content/repositories/snapshots</url> |
| 55 | </snapshotRepository> |
| 56 | </distributionManagement> |
| 57 | |
| 58 | <repositories> |
| 59 | <repository> |
| 60 | <snapshots> |
| 61 | <enabled>true</enabled> |
| 62 | </snapshots> |
| 63 | <id>supwisdom</id> |
| 64 | <url>https://app.supwisdom.com/nexus/content/groups/public/</url> |
| 65 | </repository> |
| 66 | <repository> |
| 67 | <snapshots> |
| 68 | <enabled>false</enabled> |
| 69 | </snapshots> |
| 70 | <id>central</id> |
| 71 | <url>http://repo.maven.apache.org/maven2</url> |
| 72 | </repository> |
| 73 | </repositories> |
| 74 | |
| 75 | <dependencyManagement> |
| 76 | <dependencies> |
| 77 | |
| 78 | <dependency> |
| 79 | <groupId>com.supwisdom.infras</groupId> |
| 80 | <artifactId>infras-bom</artifactId> |
| 81 | <version>${infras.version}</version> |
| 82 | <type>pom</type> |
| 83 | <scope>import</scope> |
| 84 | </dependency> |
| 85 | |
| 86 | <dependency> |
| 87 | <groupId>com.supwisdom.institute</groupId> |
| 88 | <artifactId>sw-backend-common-core</artifactId> |
| 89 | <version>${project.version}</version> |
| 90 | </dependency> |
| 91 | |
| 92 | <dependency> |
| 93 | <groupId>com.supwisdom.institute</groupId> |
| 94 | <artifactId>sw-backend-common-utils</artifactId> |
| 95 | <version>${project.version}</version> |
| 96 | </dependency> |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>com.supwisdom.institute</groupId> |
| 100 | <artifactId>sw-backend-common-framework</artifactId> |
| 101 | <version>${project.version}</version> |
| 102 | </dependency> |
| 103 | |
| 104 | |
| 105 | <dependency> |
| 106 | <groupId>com.alibaba</groupId> |
| 107 | <artifactId>fastjson</artifactId> |
| 108 | <version>1.2.56</version> |
| 109 | </dependency> |
| 110 | |
| 111 | |
| 112 | </dependencies> |
| 113 | </dependencyManagement> |
| 114 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 115 | <dependencies> |
| 116 | |
| 117 | <dependency> |
| 118 | <groupId>org.projectlombok</groupId> |
| 119 | <artifactId>lombok</artifactId> |
| 120 | <scope>provided</scope> |
| 121 | </dependency> |
| 122 | |
| 123 | <dependency> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 124 | <groupId>javax.servlet</groupId> |
| 125 | <artifactId>javax.servlet-api</artifactId> |
| 126 | <scope>provided</scope> |
| 127 | </dependency> |
| 128 | |
| 129 | |
| 130 | <dependency> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 131 | <groupId>org.springframework.boot</groupId> |
| 132 | <artifactId>spring-boot-starter</artifactId> |
| 133 | </dependency> |
| 134 | |
| 135 | <!-- 微服务 健康监控 --> |
| 136 | <dependency> |
| 137 | <groupId>org.springframework.boot</groupId> |
| 138 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 139 | </dependency> |
| 140 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 141 | <dependency> |
| 142 | <groupId>org.springframework.boot</groupId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 143 | <artifactId>spring-boot-starter-webflux</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 144 | </dependency> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 145 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 146 | <dependency> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 147 | <groupId>org.springframework.cloud</groupId> |
| 148 | <artifactId>spring-cloud-starter-gateway</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 149 | </dependency> |
| 150 | |
| 151 | |
刘洪青 | d3a55d4 | 2019-09-20 10:18:03 +0800 | [diff] [blame] | 152 | <dependency> |
| 153 | <groupId>org.apache.httpcomponents</groupId> |
| 154 | <artifactId>httpclient</artifactId> |
| 155 | </dependency> |
| 156 | <dependency> |
| 157 | <groupId>org.apache.httpcomponents</groupId> |
| 158 | <artifactId>httpcore</artifactId> |
| 159 | </dependency> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 160 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 161 | |
| 162 | <!-- <dependency> |
| 163 | <groupId>com.supwisdom.infras</groupId> |
刘洪青 | d3a55d4 | 2019-09-20 10:18:03 +0800 | [diff] [blame] | 164 | <artifactId>infras-online-doc</artifactId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 165 | </dependency> --> |
| 166 | |
| 167 | |
| 168 | <dependency> |
| 169 | <groupId>com.supwisdom.infras</groupId> |
| 170 | <artifactId>infras-security</artifactId> |
| 171 | </dependency> |
| 172 | |
| 173 | <dependency> |
| 174 | <groupId>org.springframework.boot</groupId> |
| 175 | <artifactId>spring-boot-starter-security</artifactId> |
| 176 | </dependency> |
| 177 | |
| 178 | <dependency> |
| 179 | <groupId>io.jsonwebtoken</groupId> |
| 180 | <artifactId>jjwt</artifactId> |
| 181 | <version>0.9.1</version> |
| 182 | </dependency> |
| 183 | |
| 184 | <dependency> |
| 185 | <groupId>org.springframework.security</groupId> |
| 186 | <artifactId>spring-security-cas</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 187 | </dependency> |
| 188 | |
| 189 | |
| 190 | <dependency> |
| 191 | <groupId>com.supwisdom.institute</groupId> |
| 192 | <artifactId>sw-backend-common-framework</artifactId> |
| 193 | </dependency> |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 194 | |
| 195 | <dependency> |
| 196 | <groupId>org.springframework.data</groupId> |
| 197 | <artifactId>spring-data-redis</artifactId> |
| 198 | </dependency> |
| 199 | <dependency> |
| 200 | <groupId>redis.clients</groupId> |
| 201 | <artifactId>jedis</artifactId> |
| 202 | </dependency> |
刘洪青 | 98963ab | 2019-09-05 18:10:09 +0800 | [diff] [blame] | 203 | |
刘洪青 | 4fa1183 | 2019-09-19 18:06:26 +0800 | [diff] [blame] | 204 | <dependency> |
| 205 | <groupId>commons-codec</groupId> |
| 206 | <artifactId>commons-codec</artifactId> |
| 207 | </dependency> |
| 208 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 209 | <dependency> |
| 210 | <groupId>com.alibaba</groupId> |
| 211 | <artifactId>fastjson</artifactId> |
| 212 | </dependency> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 213 | |
| 214 | |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 215 | <!-- <dependency> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 216 | <groupId>io.springfox</groupId> |
| 217 | <artifactId>springfox-swagger2</artifactId> |
| 218 | </dependency> |
| 219 | <dependency> |
| 220 | <groupId>io.springfox</groupId> |
| 221 | <artifactId>springfox-swagger-ui</artifactId> |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 222 | </dependency> --> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 223 | |
| 224 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 225 | <!-- 热部署,无需重启项目 --> |
| 226 | <dependency> |
| 227 | <groupId>org.springframework.boot</groupId> |
| 228 | <artifactId>spring-boot-devtools</artifactId> |
| 229 | <scope>runtime</scope> |
| 230 | </dependency> |
| 231 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 232 | <dependency> |
| 233 | <groupId>org.springframework.boot</groupId> |
| 234 | <artifactId>spring-boot-starter-test</artifactId> |
| 235 | <scope>test</scope> |
| 236 | </dependency> |
| 237 | |
| 238 | </dependencies> |
| 239 | |
| 240 | <build> |
| 241 | <finalName>${project.artifactId}</finalName> |
| 242 | |
刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame] | 243 | <pluginManagement> |
| 244 | <plugins> |
| 245 | <plugin> |
| 246 | <groupId>com.spotify</groupId> |
| 247 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 248 | <version>${dockerfile-maven-plugin.version}</version> |
| 249 | <configuration> |
| 250 | <repository>${dockerfile.image.server}/${dockerfile.image.prefix}/${project.artifactId}</repository> |
| 251 | <tag>${project.version}</tag> |
| 252 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 253 | <buildArgs> |
| 254 | <JAR_FILE>${project.build.finalName}.${project.packaging}</JAR_FILE> |
| 255 | <VERSION>${project.version}</VERSION> |
| 256 | <NAME>${project.artifactId}</NAME> |
| 257 | </buildArgs> |
| 258 | </configuration> |
| 259 | </plugin> |
| 260 | </plugins> |
| 261 | </pluginManagement> |
| 262 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 263 | <plugins> |
| 264 | <plugin> |
| 265 | <groupId>org.apache.maven.plugins</groupId> |
| 266 | <artifactId>maven-compiler-plugin</artifactId> |
| 267 | </plugin> |
| 268 | <plugin> |
| 269 | <groupId>org.apache.maven.plugins</groupId> |
| 270 | <artifactId>maven-failsafe-plugin</artifactId> |
| 271 | </plugin> |
| 272 | <plugin> |
| 273 | <groupId>org.apache.maven.plugins</groupId> |
| 274 | <artifactId>maven-javadoc-plugin</artifactId> |
| 275 | </plugin> |
| 276 | <plugin> |
| 277 | <groupId>org.apache.maven.plugins</groupId> |
| 278 | <artifactId>maven-release-plugin</artifactId> |
| 279 | </plugin> |
| 280 | <plugin> |
| 281 | <groupId>org.jacoco</groupId> |
| 282 | <artifactId>jacoco-maven-plugin</artifactId> |
| 283 | </plugin> |
| 284 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 285 | <plugin> |
| 286 | <groupId>org.springframework.boot</groupId> |
| 287 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 288 | </plugin> |
| 289 | |
| 290 | <plugin> |
| 291 | <groupId>com.spotify</groupId> |
| 292 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 293 | <configuration> |
| 294 | <skip>false</skip> |
| 295 | </configuration> |
| 296 | </plugin> |
| 297 | |
| 298 | </plugins> |
| 299 | |
| 300 | </build> |
| 301 | |
| 302 | </project> |