刘洪青 | 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> |
| 7 | <groupId>com.supwisdom.institute</groupId> |
| 8 | <artifactId>sw-backend-parent</artifactId> |
| 9 | <version>0.0.1-SNAPSHOT</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> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 14 | <version>0.0.1-SNAPSHOT</version> |
| 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> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 21 | <start-class>com.supwisdom.institute.backend.gateway.Application</start-class> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 22 | </properties> |
| 23 | |
| 24 | <dependencies> |
| 25 | |
| 26 | <dependency> |
| 27 | <groupId>org.projectlombok</groupId> |
| 28 | <artifactId>lombok</artifactId> |
| 29 | <scope>provided</scope> |
| 30 | </dependency> |
| 31 | |
| 32 | <dependency> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 33 | <groupId>javax.servlet</groupId> |
| 34 | <artifactId>javax.servlet-api</artifactId> |
| 35 | <scope>provided</scope> |
| 36 | </dependency> |
| 37 | |
| 38 | |
| 39 | <dependency> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 40 | <groupId>org.springframework.boot</groupId> |
| 41 | <artifactId>spring-boot-starter</artifactId> |
| 42 | </dependency> |
| 43 | |
| 44 | <!-- 微服务 健康监控 --> |
| 45 | <dependency> |
| 46 | <groupId>org.springframework.boot</groupId> |
| 47 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 48 | </dependency> |
| 49 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 50 | <dependency> |
| 51 | <groupId>org.springframework.boot</groupId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 52 | <artifactId>spring-boot-starter-webflux</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 53 | </dependency> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 54 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 55 | <dependency> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 56 | <groupId>org.springframework.cloud</groupId> |
| 57 | <artifactId>spring-cloud-starter-gateway</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 58 | </dependency> |
| 59 | |
| 60 | |
| 61 | <!-- <dependency> |
| 62 | <groupId>com.supwisdom.infras</groupId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 63 | <artifactId>infras-online-doc</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 64 | </dependency> --> |
| 65 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 66 | |
| 67 | <!-- <dependency> |
| 68 | <groupId>com.supwisdom.infras</groupId> |
| 69 | <artifactId>infras-mvc</artifactId> |
| 70 | </dependency> |
| 71 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 72 | <dependency> |
| 73 | <groupId>com.supwisdom.infras</groupId> |
| 74 | <artifactId>infras-object-mapper</artifactId> |
| 75 | </dependency> |
| 76 | |
| 77 | <dependency> |
| 78 | <groupId>com.supwisdom.infras</groupId> |
| 79 | <artifactId>infras-i18n</artifactId> |
| 80 | </dependency> |
| 81 | |
| 82 | <dependency> |
| 83 | <groupId>com.supwisdom.infras</groupId> |
| 84 | <artifactId>infras-lang</artifactId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 85 | </dependency> --> |
| 86 | |
| 87 | |
| 88 | <dependency> |
| 89 | <groupId>com.supwisdom.infras</groupId> |
| 90 | <artifactId>infras-security</artifactId> |
| 91 | </dependency> |
| 92 | |
| 93 | <dependency> |
| 94 | <groupId>org.springframework.boot</groupId> |
| 95 | <artifactId>spring-boot-starter-security</artifactId> |
| 96 | </dependency> |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>io.jsonwebtoken</groupId> |
| 100 | <artifactId>jjwt</artifactId> |
| 101 | <version>0.9.1</version> |
| 102 | </dependency> |
| 103 | |
| 104 | <dependency> |
| 105 | <groupId>org.springframework.security</groupId> |
| 106 | <artifactId>spring-security-cas</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 107 | </dependency> |
| 108 | |
| 109 | |
| 110 | <dependency> |
| 111 | <groupId>com.supwisdom.institute</groupId> |
| 112 | <artifactId>sw-backend-common-framework</artifactId> |
| 113 | </dependency> |
刘洪青 | 98963ab | 2019-09-05 18:10:09 +0800 | [diff] [blame] | 114 | |
刘洪青 | 4fa1183 | 2019-09-19 18:06:26 +0800 | [diff] [blame] | 115 | <dependency> |
| 116 | <groupId>commons-codec</groupId> |
| 117 | <artifactId>commons-codec</artifactId> |
| 118 | </dependency> |
| 119 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 120 | <dependency> |
| 121 | <groupId>com.alibaba</groupId> |
| 122 | <artifactId>fastjson</artifactId> |
| 123 | </dependency> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 124 | |
| 125 | |
| 126 | <dependency> |
| 127 | <groupId>io.springfox</groupId> |
| 128 | <artifactId>springfox-swagger2</artifactId> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>io.springfox</groupId> |
| 132 | <artifactId>springfox-swagger-ui</artifactId> |
| 133 | </dependency> |
| 134 | |
| 135 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 136 | <!-- 热部署,无需重启项目 --> |
| 137 | <dependency> |
| 138 | <groupId>org.springframework.boot</groupId> |
| 139 | <artifactId>spring-boot-devtools</artifactId> |
| 140 | <scope>runtime</scope> |
| 141 | </dependency> |
| 142 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 143 | <dependency> |
| 144 | <groupId>org.springframework.boot</groupId> |
| 145 | <artifactId>spring-boot-starter-test</artifactId> |
| 146 | <scope>test</scope> |
| 147 | </dependency> |
| 148 | |
| 149 | </dependencies> |
| 150 | |
| 151 | <build> |
| 152 | <finalName>${project.artifactId}</finalName> |
| 153 | |
| 154 | <plugins> |
| 155 | <plugin> |
| 156 | <groupId>org.apache.maven.plugins</groupId> |
| 157 | <artifactId>maven-compiler-plugin</artifactId> |
| 158 | </plugin> |
| 159 | <plugin> |
| 160 | <groupId>org.apache.maven.plugins</groupId> |
| 161 | <artifactId>maven-failsafe-plugin</artifactId> |
| 162 | </plugin> |
| 163 | <plugin> |
| 164 | <groupId>org.apache.maven.plugins</groupId> |
| 165 | <artifactId>maven-javadoc-plugin</artifactId> |
| 166 | </plugin> |
| 167 | <plugin> |
| 168 | <groupId>org.apache.maven.plugins</groupId> |
| 169 | <artifactId>maven-release-plugin</artifactId> |
| 170 | </plugin> |
| 171 | <plugin> |
| 172 | <groupId>org.jacoco</groupId> |
| 173 | <artifactId>jacoco-maven-plugin</artifactId> |
| 174 | </plugin> |
| 175 | |
| 176 | |
| 177 | <!-- <plugin> |
| 178 | <groupId>org.apache.maven.plugins</groupId> |
| 179 | <artifactId>maven-resources-plugin</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 180 | <configuration> |
| 181 | <encoding>${project.build.sourceEncoding}</encoding> |
| 182 | </configuration> |
| 183 | <executions> |
| 184 | <execution> |
| 185 | <id>copy-doc-resources</id> |
| 186 | <phase>package</phase> |
| 187 | <goals> |
| 188 | <goal>copy-resources</goal> |
| 189 | </goals> |
| 190 | <configuration> |
| 191 | <encoding>utf-8</encoding> |
| 192 | <outputDirectory>${basedir}/target/doc</outputDirectory> |
| 193 | <overwrite>true</overwrite> |
| 194 | <resources> |
| 195 | <resource> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 196 | <directory>${basedir}/../../doc</directory> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 197 | </resource> |
| 198 | </resources> |
| 199 | </configuration> |
| 200 | </execution> |
| 201 | <execution> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 202 | <id>copy-certs-jwt-resources</id> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 203 | <phase>package</phase> |
| 204 | <goals> |
| 205 | <goal>copy-resources</goal> |
| 206 | </goals> |
| 207 | <configuration> |
| 208 | <encoding>utf-8</encoding> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 209 | <outputDirectory>${basedir}/target/certs/jwt</outputDirectory> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 210 | <overwrite>true</overwrite> |
| 211 | <resources> |
| 212 | <resource> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 213 | <directory>${basedir}/../../certs/jwt</directory> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 214 | </resource> |
| 215 | </resources> |
| 216 | </configuration> |
| 217 | </execution> |
| 218 | </executions> |
| 219 | </plugin> --> |
| 220 | |
| 221 | |
| 222 | <plugin> |
| 223 | <groupId>org.springframework.boot</groupId> |
| 224 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 225 | </plugin> |
| 226 | |
| 227 | <plugin> |
| 228 | <groupId>com.spotify</groupId> |
| 229 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 230 | <configuration> |
| 231 | <skip>false</skip> |
| 232 | </configuration> |
| 233 | </plugin> |
| 234 | |
| 235 | </plugins> |
| 236 | |
| 237 | </build> |
| 238 | |
| 239 | </project> |