刘洪青 | 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 | |
刘洪青 | 3285b62 | 2019-09-20 10:16:39 +0800 | [diff] [blame] | 44 | <dependency> |
| 45 | <groupId>org.springframework.boot</groupId> |
| 46 | <artifactId>spring-boot-starter-web</artifactId> |
| 47 | </dependency> |
| 48 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 49 | |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 50 | <dependency> |
| 51 | <groupId>org.springframework.cloud</groupId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 52 | <artifactId>spring-cloud-starter-openfeign</artifactId> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 53 | </dependency> |
刘洪青 | 3285b62 | 2019-09-20 10:16:39 +0800 | [diff] [blame] | 54 | <!-- openfeign's dependency --> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 55 | <dependency> |
刘洪青 | 3285b62 | 2019-09-20 10:16:39 +0800 | [diff] [blame] | 56 | <groupId>com.netflix.feign</groupId> |
| 57 | <artifactId>feign-httpclient</artifactId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 58 | </dependency> |
刘洪青 | 3285b62 | 2019-09-20 10:16:39 +0800 | [diff] [blame] | 59 | <dependency> |
| 60 | <groupId>org.apache.httpcomponents</groupId> |
| 61 | <artifactId>httpclient</artifactId> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.apache.httpcomponents</groupId> |
| 65 | <artifactId>httpcore</artifactId> |
| 66 | </dependency> |
| 67 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 68 | |
| 69 | <dependency> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 70 | <groupId>com.supwisdom.infras</groupId> |
| 71 | <artifactId>infras-online-doc</artifactId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 72 | </dependency> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 73 | |
| 74 | |
| 75 | <!-- <dependency> |
| 76 | <groupId>com.supwisdom.infras</groupId> |
| 77 | <artifactId>infras-mvc</artifactId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 78 | </dependency> --> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 79 | |
| 80 | <dependency> |
| 81 | <groupId>com.supwisdom.infras</groupId> |
| 82 | <artifactId>infras-object-mapper</artifactId> |
| 83 | </dependency> |
| 84 | |
| 85 | <dependency> |
| 86 | <groupId>com.supwisdom.infras</groupId> |
| 87 | <artifactId>infras-i18n</artifactId> |
| 88 | </dependency> |
| 89 | |
| 90 | <dependency> |
| 91 | <groupId>com.supwisdom.infras</groupId> |
| 92 | <artifactId>infras-lang</artifactId> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 93 | </dependency> |
| 94 | |
| 95 | |
| 96 | <dependency> |
| 97 | <groupId>com.supwisdom.institute</groupId> |
| 98 | <artifactId>sw-backend-common-framework</artifactId> |
| 99 | </dependency> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 100 | |
| 101 | |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 102 | <dependency> |
| 103 | <groupId>io.springfox</groupId> |
| 104 | <artifactId>springfox-swagger2</artifactId> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>io.springfox</groupId> |
| 108 | <artifactId>springfox-swagger-ui</artifactId> |
| 109 | </dependency> |
| 110 | |
| 111 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 112 | <dependency> |
| 113 | <groupId>mysql</groupId> |
| 114 | <artifactId>mysql-connector-java</artifactId> |
| 115 | <scope>runtime</scope> |
| 116 | </dependency> |
| 117 | |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 118 | <!-- 热部署,无需重启项目 --> |
| 119 | <dependency> |
| 120 | <groupId>org.springframework.boot</groupId> |
| 121 | <artifactId>spring-boot-devtools</artifactId> |
| 122 | <scope>runtime</scope> |
| 123 | </dependency> |
| 124 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 125 | |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 126 | <dependency> |
| 127 | <groupId>org.springframework.boot</groupId> |
| 128 | <artifactId>spring-boot-starter-test</artifactId> |
| 129 | <scope>test</scope> |
| 130 | </dependency> |
| 131 | |
| 132 | </dependencies> |
| 133 | |
| 134 | <build> |
| 135 | <finalName>${project.artifactId}</finalName> |
| 136 | |
| 137 | <plugins> |
| 138 | <plugin> |
| 139 | <groupId>org.apache.maven.plugins</groupId> |
| 140 | <artifactId>maven-compiler-plugin</artifactId> |
| 141 | </plugin> |
| 142 | <plugin> |
| 143 | <groupId>org.apache.maven.plugins</groupId> |
| 144 | <artifactId>maven-failsafe-plugin</artifactId> |
| 145 | </plugin> |
| 146 | <plugin> |
| 147 | <groupId>org.apache.maven.plugins</groupId> |
| 148 | <artifactId>maven-javadoc-plugin</artifactId> |
| 149 | </plugin> |
| 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <artifactId>maven-release-plugin</artifactId> |
| 153 | </plugin> |
| 154 | <plugin> |
| 155 | <groupId>org.jacoco</groupId> |
| 156 | <artifactId>jacoco-maven-plugin</artifactId> |
| 157 | </plugin> |
| 158 | |
| 159 | |
| 160 | <!-- <plugin> |
| 161 | <groupId>org.apache.maven.plugins</groupId> |
| 162 | <artifactId>maven-resources-plugin</artifactId> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 163 | <version>2.4.3</version> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 164 | <configuration> |
| 165 | <encoding>${project.build.sourceEncoding}</encoding> |
| 166 | </configuration> |
| 167 | <executions> |
| 168 | <execution> |
| 169 | <id>copy-doc-resources</id> |
| 170 | <phase>package</phase> |
| 171 | <goals> |
| 172 | <goal>copy-resources</goal> |
| 173 | </goals> |
| 174 | <configuration> |
| 175 | <encoding>utf-8</encoding> |
| 176 | <outputDirectory>${basedir}/target/doc</outputDirectory> |
| 177 | <overwrite>true</overwrite> |
| 178 | <resources> |
| 179 | <resource> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 180 | <directory>${basedir}/../doc</directory> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 181 | </resource> |
| 182 | </resources> |
| 183 | </configuration> |
| 184 | </execution> |
| 185 | <execution> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 186 | <id>copy-api-docs-resources</id> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 187 | <phase>package</phase> |
| 188 | <goals> |
| 189 | <goal>copy-resources</goal> |
| 190 | </goals> |
| 191 | <configuration> |
| 192 | <encoding>utf-8</encoding> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 193 | <outputDirectory>${basedir}/target/api-docs</outputDirectory> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 194 | <overwrite>true</overwrite> |
| 195 | <resources> |
| 196 | <resource> |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 197 | <directory>${basedir}/../api-docs</directory> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 198 | </resource> |
| 199 | </resources> |
| 200 | </configuration> |
| 201 | </execution> |
| 202 | </executions> |
| 203 | </plugin> --> |
| 204 | |
| 205 | |
| 206 | <plugin> |
| 207 | <groupId>org.springframework.boot</groupId> |
| 208 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 209 | </plugin> |
| 210 | |
| 211 | <plugin> |
| 212 | <groupId>com.spotify</groupId> |
| 213 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 214 | <configuration> |
| 215 | <skip>false</skip> |
| 216 | </configuration> |
| 217 | </plugin> |
| 218 | |
| 219 | </plugins> |
| 220 | |
| 221 | </build> |
| 222 | |
| 223 | </project> |