| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 
|  | 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +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> | 
|  | 10 | <relativePath>../../</relativePath> | 
|  | 11 | </parent> | 
|  | 12 |  | 
|  | 13 | <groupId>com.supwisdom.institute</groupId> | 
|  | 14 | <artifactId>sw-backend-admin-bff</artifactId> | 
|  | 15 | <version>0.0.1-SNAPSHOT</version> | 
|  | 16 | <packaging>jar</packaging> | 
|  | 17 |  | 
|  | 18 | <name>Supwisdom Backend Framework Admin Backend for Frontend</name> | 
|  | 19 | <description>Supwisdom Backend Framework Admin Backend for Frontend project</description> | 
|  | 20 |  | 
|  | 21 | <properties> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 22 | <start-class>com.supwisdom.institute.backend.admin.bff.Application</start-class> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 23 | </properties> | 
|  | 24 |  | 
|  | 25 | <dependencies> | 
|  | 26 |  | 
|  | 27 | <dependency> | 
|  | 28 | <groupId>org.projectlombok</groupId> | 
|  | 29 | <artifactId>lombok</artifactId> | 
|  | 30 | <scope>provided</scope> | 
|  | 31 | </dependency> | 
|  | 32 |  | 
|  | 33 | <dependency> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 34 | <groupId>org.springframework.boot</groupId> | 
|  | 35 | <artifactId>spring-boot-starter</artifactId> | 
|  | 36 | </dependency> | 
|  | 37 |  | 
|  | 38 | <!-- 微服务 健康监控 --> | 
|  | 39 | <dependency> | 
|  | 40 | <groupId>org.springframework.boot</groupId> | 
|  | 41 | <artifactId>spring-boot-starter-actuator</artifactId> | 
|  | 42 | </dependency> | 
|  | 43 |  | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 44 |  | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 45 | <dependency> | 
|  | 46 | <groupId>org.springframework.cloud</groupId> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 47 | <artifactId>spring-cloud-starter-openfeign</artifactId> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 48 | </dependency> | 
|  | 49 |  | 
|  | 50 |  | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 51 | <dependency> | 
|  | 52 | <groupId>org.springframework.boot</groupId> | 
|  | 53 | <artifactId>spring-boot-starter-web</artifactId> | 
|  | 54 | </dependency> | 
|  | 55 |  | 
|  | 56 | <dependency> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 57 | <groupId>com.supwisdom.infras</groupId> | 
|  | 58 | <artifactId>infras-online-doc</artifactId> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 59 | </dependency> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 60 |  | 
|  | 61 |  | 
|  | 62 | <!-- <dependency> | 
|  | 63 | <groupId>com.supwisdom.infras</groupId> | 
|  | 64 | <artifactId>infras-mvc</artifactId> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 65 | </dependency> --> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 66 |  | 
|  | 67 | <dependency> | 
|  | 68 | <groupId>com.supwisdom.infras</groupId> | 
|  | 69 | <artifactId>infras-object-mapper</artifactId> | 
|  | 70 | </dependency> | 
|  | 71 |  | 
|  | 72 | <dependency> | 
|  | 73 | <groupId>com.supwisdom.infras</groupId> | 
|  | 74 | <artifactId>infras-i18n</artifactId> | 
|  | 75 | </dependency> | 
|  | 76 |  | 
|  | 77 | <dependency> | 
|  | 78 | <groupId>com.supwisdom.infras</groupId> | 
|  | 79 | <artifactId>infras-lang</artifactId> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 80 | </dependency> | 
|  | 81 |  | 
|  | 82 |  | 
|  | 83 | <dependency> | 
|  | 84 | <groupId>com.supwisdom.institute</groupId> | 
|  | 85 | <artifactId>sw-backend-common-framework</artifactId> | 
|  | 86 | </dependency> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 87 |  | 
|  | 88 |  | 
|  | 89 | <!-- openfeign's dependency --> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 90 | <dependency> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 91 | <groupId>com.netflix.feign</groupId> | 
|  | 92 | <artifactId>feign-httpclient</artifactId> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 93 | </dependency> | 
|  | 94 |  | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 95 | <!-- <dependency> | 
|  | 96 | <groupId>org.apache.httpcomponents</groupId> | 
|  | 97 | <artifactId>httpclient</artifactId> | 
|  | 98 | </dependency> --> | 
|  | 99 |  | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 100 |  | 
|  | 101 | <dependency> | 
|  | 102 | <groupId>io.springfox</groupId> | 
|  | 103 | <artifactId>springfox-swagger2</artifactId> | 
|  | 104 | </dependency> | 
|  | 105 | <dependency> | 
|  | 106 | <groupId>io.springfox</groupId> | 
|  | 107 | <artifactId>springfox-swagger-ui</artifactId> | 
|  | 108 | </dependency> | 
|  | 109 |  | 
|  | 110 |  | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 111 | <dependency> | 
|  | 112 | <groupId>mysql</groupId> | 
|  | 113 | <artifactId>mysql-connector-java</artifactId> | 
|  | 114 | <scope>runtime</scope> | 
|  | 115 | </dependency> | 
|  | 116 |  | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 117 | <!-- 热部署,无需重启项目 --> | 
|  | 118 | <dependency> | 
|  | 119 | <groupId>org.springframework.boot</groupId> | 
|  | 120 | <artifactId>spring-boot-devtools</artifactId> | 
|  | 121 | <scope>runtime</scope> | 
|  | 122 | </dependency> | 
|  | 123 |  | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 124 |  | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 125 | <dependency> | 
|  | 126 | <groupId>org.springframework.boot</groupId> | 
|  | 127 | <artifactId>spring-boot-starter-test</artifactId> | 
|  | 128 | <scope>test</scope> | 
|  | 129 | </dependency> | 
|  | 130 |  | 
|  | 131 | </dependencies> | 
|  | 132 |  | 
|  | 133 | <build> | 
|  | 134 | <finalName>${project.artifactId}</finalName> | 
|  | 135 |  | 
|  | 136 | <plugins> | 
|  | 137 | <plugin> | 
|  | 138 | <groupId>org.apache.maven.plugins</groupId> | 
|  | 139 | <artifactId>maven-compiler-plugin</artifactId> | 
|  | 140 | </plugin> | 
|  | 141 | <plugin> | 
|  | 142 | <groupId>org.apache.maven.plugins</groupId> | 
|  | 143 | <artifactId>maven-failsafe-plugin</artifactId> | 
|  | 144 | </plugin> | 
|  | 145 | <plugin> | 
|  | 146 | <groupId>org.apache.maven.plugins</groupId> | 
|  | 147 | <artifactId>maven-javadoc-plugin</artifactId> | 
|  | 148 | </plugin> | 
|  | 149 | <plugin> | 
|  | 150 | <groupId>org.apache.maven.plugins</groupId> | 
|  | 151 | <artifactId>maven-release-plugin</artifactId> | 
|  | 152 | </plugin> | 
|  | 153 | <plugin> | 
|  | 154 | <groupId>org.jacoco</groupId> | 
|  | 155 | <artifactId>jacoco-maven-plugin</artifactId> | 
|  | 156 | </plugin> | 
|  | 157 |  | 
|  | 158 |  | 
|  | 159 | <!-- <plugin> | 
|  | 160 | <groupId>org.apache.maven.plugins</groupId> | 
|  | 161 | <artifactId>maven-resources-plugin</artifactId> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 162 | <version>2.4.3</version> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 163 | <configuration> | 
|  | 164 | <encoding>${project.build.sourceEncoding}</encoding> | 
|  | 165 | </configuration> | 
|  | 166 | <executions> | 
|  | 167 | <execution> | 
|  | 168 | <id>copy-doc-resources</id> | 
|  | 169 | <phase>package</phase> | 
|  | 170 | <goals> | 
|  | 171 | <goal>copy-resources</goal> | 
|  | 172 | </goals> | 
|  | 173 | <configuration> | 
|  | 174 | <encoding>utf-8</encoding> | 
|  | 175 | <outputDirectory>${basedir}/target/doc</outputDirectory> | 
|  | 176 | <overwrite>true</overwrite> | 
|  | 177 | <resources> | 
|  | 178 | <resource> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 179 | <directory>${basedir}/../doc</directory> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 180 | </resource> | 
|  | 181 | </resources> | 
|  | 182 | </configuration> | 
|  | 183 | </execution> | 
|  | 184 | <execution> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 185 | <id>copy-api-docs-resources</id> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 186 | <phase>package</phase> | 
|  | 187 | <goals> | 
|  | 188 | <goal>copy-resources</goal> | 
|  | 189 | </goals> | 
|  | 190 | <configuration> | 
|  | 191 | <encoding>utf-8</encoding> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 192 | <outputDirectory>${basedir}/target/api-docs</outputDirectory> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 193 | <overwrite>true</overwrite> | 
|  | 194 | <resources> | 
|  | 195 | <resource> | 
| 刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame^] | 196 | <directory>${basedir}/../api-docs</directory> | 
| 刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 197 | </resource> | 
|  | 198 | </resources> | 
|  | 199 | </configuration> | 
|  | 200 | </execution> | 
|  | 201 | </executions> | 
|  | 202 | </plugin> --> | 
|  | 203 |  | 
|  | 204 |  | 
|  | 205 | <plugin> | 
|  | 206 | <groupId>org.springframework.boot</groupId> | 
|  | 207 | <artifactId>spring-boot-maven-plugin</artifactId> | 
|  | 208 | </plugin> | 
|  | 209 |  | 
|  | 210 | <plugin> | 
|  | 211 | <groupId>com.spotify</groupId> | 
|  | 212 | <artifactId>dockerfile-maven-plugin</artifactId> | 
|  | 213 | <configuration> | 
|  | 214 | <skip>false</skip> | 
|  | 215 | </configuration> | 
|  | 216 | </plugin> | 
|  | 217 |  | 
|  | 218 | </plugins> | 
|  | 219 |  | 
|  | 220 | </build> | 
|  | 221 |  | 
|  | 222 | </project> |