刘洪青 | e071d36 | 2019-08-16 09:39:49 +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" |
| 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.buildcommons</groupId> |
| 8 | <artifactId>spring-cloud-parent</artifactId> |
| 9 | <version>Finchley.RELEASE-1.1</version> |
| 10 | </parent> |
| 11 | |
| 12 | <groupId>com.supwisdom.institute</groupId> |
| 13 | <artifactId>sw-backend-parent</artifactId> |
| 14 | <version>0.0.1-SNAPSHOT</version> |
| 15 | <packaging>pom</packaging> |
| 16 | |
| 17 | <name>Supwisdom Backend Framework Parent</name> |
| 18 | <description>Supwisdom Backend Framework Parent project</description> |
| 19 | |
| 20 | <modules> |
| 21 | <module>common</module> |
| 22 | |
刘洪青 | f343945 | 2019-09-03 11:09:02 +0800 | [diff] [blame] | 23 | <module>base</module> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 24 | <module>biz</module> |
| 25 | |
| 26 | <module>sa</module> |
刘洪青 | dde4e21 | 2019-09-04 22:13:23 +0800 | [diff] [blame] | 27 | <module>aggr</module> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 28 | <module>bff</module> |
| 29 | |
| 30 | </modules> |
| 31 | |
| 32 | <properties> |
| 33 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 34 | <java.version>1.8</java.version> |
| 35 | |
| 36 | <argLine>-Dfile.encoding=UTF-8</argLine> |
| 37 | |
| 38 | <downloadSources>true</downloadSources> |
| 39 | <downloadJavadocs>true</downloadJavadocs> |
| 40 | |
| 41 | <maven.compiler.source>${java.version}</maven.compiler.source> |
| 42 | <maven.compiler.target>${java.version}</maven.compiler.target> |
| 43 | |
| 44 | <dockerfile-maven-plugin.version>1.4.8</dockerfile-maven-plugin.version> |
| 45 | <dockerfile.image.server>harbor.supwisdom.com</dockerfile.image.server> |
刘洪青 | c7b18dc | 2019-09-03 13:54:50 +0800 | [diff] [blame] | 46 | <dockerfile.image.prefix>sw-admin-framework</dockerfile.image.prefix> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 47 | |
刘洪青 | 039f39d | 2019-09-02 12:08:57 +0800 | [diff] [blame] | 48 | <infras.version>0.1.1-SNAPSHOT</infras.version> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 49 | |
| 50 | <io.springfox.version>2.9.2</io.springfox.version> |
| 51 | |
| 52 | <mybatis.spring.boot.version>1.3.1</mybatis.spring.boot.version> |
| 53 | |
| 54 | </properties> |
| 55 | |
| 56 | <distributionManagement> |
| 57 | <repository> |
| 58 | <id>supwisdom-releases</id> |
| 59 | <name>internal release</name> |
| 60 | <url>https://app.supwisdom.com/nexus/content/repositories/releases</url> |
| 61 | </repository> |
| 62 | <snapshotRepository> |
| 63 | <id>supwisdom-snapshots</id> |
| 64 | <name>internal snapshots</name> |
| 65 | <url>https://app.supwisdom.com/nexus/content/repositories/snapshots</url> |
| 66 | </snapshotRepository> |
| 67 | </distributionManagement> |
| 68 | |
| 69 | <repositories> |
| 70 | <repository> |
| 71 | <snapshots> |
| 72 | <enabled>true</enabled> |
| 73 | </snapshots> |
| 74 | <id>supwisdom</id> |
| 75 | <url>https://app.supwisdom.com/nexus/content/groups/public/</url> |
| 76 | </repository> |
| 77 | <repository> |
| 78 | <snapshots> |
| 79 | <enabled>false</enabled> |
| 80 | </snapshots> |
| 81 | <id>central</id> |
| 82 | <url>http://repo.maven.apache.org/maven2</url> |
| 83 | </repository> |
| 84 | </repositories> |
| 85 | |
| 86 | <dependencyManagement> |
| 87 | <dependencies> |
| 88 | |
| 89 | <dependency> |
| 90 | <groupId>com.supwisdom.infras</groupId> |
| 91 | <artifactId>infras-bom</artifactId> |
| 92 | <version>${infras.version}</version> |
| 93 | <type>pom</type> |
| 94 | <scope>import</scope> |
| 95 | </dependency> |
| 96 | |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>com.supwisdom.institute</groupId> |
| 100 | <artifactId>sw-backend-common-core</artifactId> |
| 101 | <version>${project.version}</version> |
| 102 | </dependency> |
| 103 | |
| 104 | <dependency> |
| 105 | <groupId>com.supwisdom.institute</groupId> |
| 106 | <artifactId>sw-backend-common-utils</artifactId> |
| 107 | <version>${project.version}</version> |
| 108 | </dependency> |
| 109 | |
| 110 | <dependency> |
| 111 | <groupId>com.supwisdom.institute</groupId> |
| 112 | <artifactId>sw-backend-common-framework</artifactId> |
| 113 | <version>${project.version}</version> |
| 114 | </dependency> |
| 115 | |
| 116 | <dependency> |
| 117 | <groupId>com.supwisdom.institute</groupId> |
刘洪青 | f343945 | 2019-09-03 11:09:02 +0800 | [diff] [blame] | 118 | <artifactId>sw-backend-base-domain</artifactId> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 119 | <version>${project.version}</version> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>com.supwisdom.institute</groupId> |
刘洪青 | f343945 | 2019-09-03 11:09:02 +0800 | [diff] [blame] | 123 | <artifactId>sw-backend-base-api</artifactId> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 124 | <version>${project.version}</version> |
| 125 | </dependency> |
| 126 | |
| 127 | <dependency> |
| 128 | <groupId>com.supwisdom.institute</groupId> |
| 129 | <artifactId>sw-backend-biz-domain</artifactId> |
| 130 | <version>${project.version}</version> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>com.supwisdom.institute</groupId> |
| 134 | <artifactId>sw-backend-biz-api</artifactId> |
| 135 | <version>${project.version}</version> |
| 136 | </dependency> |
| 137 | |
刘洪青 | 98963ab | 2019-09-05 18:10:09 +0800 | [diff] [blame^] | 138 | <!-- 使用Apache HttpClient替换Feign原生httpclient --> |
| 139 | <dependency> |
| 140 | <groupId>com.netflix.feign</groupId> |
| 141 | <artifactId>feign-httpclient</artifactId> |
| 142 | <version>8.17.0</version> |
| 143 | </dependency> |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 144 | |
| 145 | <dependency> |
| 146 | <groupId>mysql</groupId> |
| 147 | <artifactId>mysql-connector-java</artifactId> |
| 148 | <version>8.0.12</version> |
| 149 | </dependency> |
| 150 | |
| 151 | <dependency> |
| 152 | <groupId>com.alibaba</groupId> |
| 153 | <artifactId>fastjson</artifactId> |
| 154 | <version>1.2.56</version> |
| 155 | </dependency> |
| 156 | |
| 157 | |
| 158 | <dependency> |
| 159 | <groupId>com.google.guava</groupId> |
| 160 | <artifactId>guava</artifactId> |
| 161 | <version>28.0-jre</version> |
| 162 | </dependency> |
| 163 | |
| 164 | <dependency> |
| 165 | <groupId>io.springfox</groupId> |
| 166 | <artifactId>springfox-swagger2</artifactId> |
| 167 | <version>${io.springfox.version}</version> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>io.springfox</groupId> |
| 171 | <artifactId>springfox-swagger-ui</artifactId> |
| 172 | <version>${io.springfox.version}</version> |
| 173 | </dependency> |
| 174 | |
| 175 | </dependencies> |
| 176 | </dependencyManagement> |
| 177 | |
| 178 | <build> |
| 179 | <pluginManagement> |
| 180 | <plugins> |
| 181 | <plugin> |
| 182 | <groupId>com.spotify</groupId> |
| 183 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 184 | <version>${dockerfile-maven-plugin.version}</version> |
| 185 | <configuration> |
| 186 | <repository>${dockerfile.image.server}/${dockerfile.image.prefix}/${project.artifactId}</repository> |
| 187 | <tag>${project.version}</tag> |
| 188 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 189 | <buildArgs> |
| 190 | <JAR_FILE>${project.build.finalName}.${project.packaging}</JAR_FILE> |
| 191 | <VERSION>${project.version}</VERSION> |
| 192 | <NAME>${project.artifactId}</NAME> |
| 193 | </buildArgs> |
| 194 | </configuration> |
| 195 | </plugin> |
| 196 | </plugins> |
| 197 | </pluginManagement> |
| 198 | |
| 199 | <plugins> |
| 200 | <plugin> |
| 201 | <groupId>com.spotify</groupId> |
| 202 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 203 | <configuration> |
| 204 | <skip>true</skip> |
| 205 | </configuration> |
| 206 | </plugin> |
| 207 | </plugins> |
| 208 | |
| 209 | </build> |
| 210 | |
| 211 | </project> |