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