刘洪青 | 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> |
刘洪青 | a46c7c8 | 2019-10-11 09:36:10 +0800 | [diff] [blame] | 9 | <version>0.0.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> |
刘洪青 | a46c7c8 | 2019-10-11 09:36:10 +0800 | [diff] [blame] | 14 | <version>0.0.1</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> |
刘洪青 | 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 | |
刘洪青 | d3a55d4 | 2019-09-20 10:18:03 +0800 | [diff] [blame] | 61 | <dependency> |
| 62 | <groupId>org.apache.httpcomponents</groupId> |
| 63 | <artifactId>httpclient</artifactId> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.apache.httpcomponents</groupId> |
| 67 | <artifactId>httpcore</artifactId> |
| 68 | </dependency> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 69 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 70 | |
| 71 | <!-- <dependency> |
| 72 | <groupId>com.supwisdom.infras</groupId> |
刘洪青 | d3a55d4 | 2019-09-20 10:18:03 +0800 | [diff] [blame] | 73 | <artifactId>infras-online-doc</artifactId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 74 | </dependency> --> |
| 75 | |
| 76 | |
| 77 | <dependency> |
| 78 | <groupId>com.supwisdom.infras</groupId> |
| 79 | <artifactId>infras-security</artifactId> |
| 80 | </dependency> |
| 81 | |
| 82 | <dependency> |
| 83 | <groupId>org.springframework.boot</groupId> |
| 84 | <artifactId>spring-boot-starter-security</artifactId> |
| 85 | </dependency> |
| 86 | |
| 87 | <dependency> |
| 88 | <groupId>io.jsonwebtoken</groupId> |
| 89 | <artifactId>jjwt</artifactId> |
| 90 | <version>0.9.1</version> |
| 91 | </dependency> |
| 92 | |
| 93 | <dependency> |
| 94 | <groupId>org.springframework.security</groupId> |
| 95 | <artifactId>spring-security-cas</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 96 | </dependency> |
| 97 | |
| 98 | |
| 99 | <dependency> |
| 100 | <groupId>com.supwisdom.institute</groupId> |
| 101 | <artifactId>sw-backend-common-framework</artifactId> |
| 102 | </dependency> |
刘洪青 | 98963ab | 2019-09-05 18:10:09 +0800 | [diff] [blame] | 103 | |
刘洪青 | 4fa1183 | 2019-09-19 18:06:26 +0800 | [diff] [blame] | 104 | <dependency> |
| 105 | <groupId>commons-codec</groupId> |
| 106 | <artifactId>commons-codec</artifactId> |
| 107 | </dependency> |
| 108 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 109 | <dependency> |
| 110 | <groupId>com.alibaba</groupId> |
| 111 | <artifactId>fastjson</artifactId> |
| 112 | </dependency> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 113 | |
| 114 | |
| 115 | <dependency> |
| 116 | <groupId>io.springfox</groupId> |
| 117 | <artifactId>springfox-swagger2</artifactId> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>io.springfox</groupId> |
| 121 | <artifactId>springfox-swagger-ui</artifactId> |
| 122 | </dependency> |
| 123 | |
| 124 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 125 | <!-- 热部署,无需重启项目 --> |
| 126 | <dependency> |
| 127 | <groupId>org.springframework.boot</groupId> |
| 128 | <artifactId>spring-boot-devtools</artifactId> |
| 129 | <scope>runtime</scope> |
| 130 | </dependency> |
| 131 | |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 132 | <dependency> |
| 133 | <groupId>org.springframework.boot</groupId> |
| 134 | <artifactId>spring-boot-starter-test</artifactId> |
| 135 | <scope>test</scope> |
| 136 | </dependency> |
| 137 | |
| 138 | </dependencies> |
| 139 | |
| 140 | <build> |
| 141 | <finalName>${project.artifactId}</finalName> |
| 142 | |
| 143 | <plugins> |
| 144 | <plugin> |
| 145 | <groupId>org.apache.maven.plugins</groupId> |
| 146 | <artifactId>maven-compiler-plugin</artifactId> |
| 147 | </plugin> |
| 148 | <plugin> |
| 149 | <groupId>org.apache.maven.plugins</groupId> |
| 150 | <artifactId>maven-failsafe-plugin</artifactId> |
| 151 | </plugin> |
| 152 | <plugin> |
| 153 | <groupId>org.apache.maven.plugins</groupId> |
| 154 | <artifactId>maven-javadoc-plugin</artifactId> |
| 155 | </plugin> |
| 156 | <plugin> |
| 157 | <groupId>org.apache.maven.plugins</groupId> |
| 158 | <artifactId>maven-release-plugin</artifactId> |
| 159 | </plugin> |
| 160 | <plugin> |
| 161 | <groupId>org.jacoco</groupId> |
| 162 | <artifactId>jacoco-maven-plugin</artifactId> |
| 163 | </plugin> |
| 164 | |
| 165 | |
| 166 | <!-- <plugin> |
| 167 | <groupId>org.apache.maven.plugins</groupId> |
| 168 | <artifactId>maven-resources-plugin</artifactId> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 169 | <configuration> |
| 170 | <encoding>${project.build.sourceEncoding}</encoding> |
| 171 | </configuration> |
| 172 | <executions> |
| 173 | <execution> |
| 174 | <id>copy-doc-resources</id> |
| 175 | <phase>package</phase> |
| 176 | <goals> |
| 177 | <goal>copy-resources</goal> |
| 178 | </goals> |
| 179 | <configuration> |
| 180 | <encoding>utf-8</encoding> |
| 181 | <outputDirectory>${basedir}/target/doc</outputDirectory> |
| 182 | <overwrite>true</overwrite> |
| 183 | <resources> |
| 184 | <resource> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 185 | <directory>${basedir}/../../doc</directory> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 186 | </resource> |
| 187 | </resources> |
| 188 | </configuration> |
| 189 | </execution> |
| 190 | <execution> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 191 | <id>copy-certs-jwt-resources</id> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 192 | <phase>package</phase> |
| 193 | <goals> |
| 194 | <goal>copy-resources</goal> |
| 195 | </goals> |
| 196 | <configuration> |
| 197 | <encoding>utf-8</encoding> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 198 | <outputDirectory>${basedir}/target/certs/jwt</outputDirectory> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 199 | <overwrite>true</overwrite> |
| 200 | <resources> |
| 201 | <resource> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 202 | <directory>${basedir}/../../certs/jwt</directory> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 203 | </resource> |
| 204 | </resources> |
| 205 | </configuration> |
| 206 | </execution> |
| 207 | </executions> |
| 208 | </plugin> --> |
| 209 | |
| 210 | |
| 211 | <plugin> |
| 212 | <groupId>org.springframework.boot</groupId> |
| 213 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 214 | </plugin> |
| 215 | |
| 216 | <plugin> |
| 217 | <groupId>com.spotify</groupId> |
| 218 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 219 | <configuration> |
| 220 | <skip>false</skip> |
| 221 | </configuration> |
| 222 | </plugin> |
| 223 | |
| 224 | </plugins> |
| 225 | |
| 226 | </build> |
| 227 | |
| 228 | </project> |