pom.xml 30.1 KB
Newer Older
T
terrymanu 已提交
1 2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
3
    <groupId>io.shardingjdbc</groupId>
T
terrymanu 已提交
4
    <artifactId>sharding-jdbc</artifactId>
T
terrymanu 已提交
5
    <version>2.1.0-SNAPSHOT</version>
T
terrymanu 已提交
6 7
    <packaging>pom</packaging>
    <name>${project.artifactId}</name>
W
WangKai 已提交
8
    
T
terrymanu 已提交
9
    <modules>
T
terrymanu 已提交
10
        <module>sharding-core</module>
T
terrymanu 已提交
11
        <module>sharding-jdbc-core</module>
12
        <module>sharding-jdbc-core-spring</module>
H
fix #58  
haocao 已提交
13
        <module>sharding-jdbc-transaction-parent</module>
T
terrymanu 已提交
14
        <module>sharding-jdbc-orchestration</module>
H
haocao 已提交
15
        <module>sharding-jdbc-orchestration-spring</module>
16
        <module>sharding-proxy</module>
W
WangKai 已提交
17
        <module>sharding-opentracing</module>
18
        <module>sharding-sql-test</module>
T
terrymanu 已提交
19
    </modules>
W
WangKai 已提交
20
    
T
terrymanu 已提交
21 22 23 24 25
    <properties>
        <java.version>1.7</java.version>
        <maven.version.range>[3.0.4,)</maven.version.range>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.build.locale>zh_CN</project.build.locale>
W
WangKai 已提交
26
        
T
terrymanu 已提交
27 28
        <lombok.version>1.16.4</lombok.version>
        <guava.version>18.0</guava.version>
T
terrymanu 已提交
29
        <common-lang3>3.6</common-lang3>
T
terrymanu 已提交
30
        <commons-pool.version>1.6</commons-pool.version>
T
terrymanu 已提交
31
        <commons-dbcp2.version>2.2.0</commons-dbcp2.version>
T
terrymanu 已提交
32
        <gson.version>2.6.1</gson.version>
T
terrymanu 已提交
33
        <curator.version>2.10.0</curator.version>
T
terrymanu 已提交
34 35 36
        <logback.version>1.1.2</logback.version>
        <slf4j.version>1.7.7</slf4j.version>
        <groovy.version>2.4.5</groovy.version>
37
        <snakeyaml.version>1.16</snakeyaml.version>
T
tianbin 已提交
38
        <netty.version>4.1.16.Final</netty.version>
H
haocao 已提交
39 40
        <springframework.version>[4.3.6.RELEASE,5.0.0.M1)</springframework.version>
        <spring-boot.version>[1.5.0.RELEASE,2.0.0.M1)</spring-boot.version>
T
terrymanu 已提交
41
        <mysql-connector-java.version>5.1.30</mysql-connector-java.version>
42
        <h2.version>1.4.196</h2.version>
43
        <postgresql.version>9.1-901-1.jdbc4</postgresql.version>
44
        <mssql.version>6.1.7.jre7-preview</mssql.version>
T
terrymanu 已提交
45
        <hikari-cp.version>2.4.11</hikari-cp.version>
T
terrymanu 已提交
46
        <junit.version>4.12</junit.version>
T
terrymanu 已提交
47
        <hamcrest.version>1.3</hamcrest.version>
H
haocao 已提交
48
        <dbunit.version>2.5.3</dbunit.version>
H
haocao 已提交
49
        <mockito.version>2.7.21</mockito.version>
J
junxiong 已提交
50
        <grpc.version>1.7.0</grpc.version>
J
junxiong 已提交
51
        <protobuf.version>3.4.0</protobuf.version>
J
junxiong 已提交
52
        <guava-retrying.version>2.0.0</guava-retrying.version>
W
WangKai 已提交
53
        <quartz.version>2.3.0</quartz.version>
W
WangKai 已提交
54 55
        <opentracing.version>0.30.0</opentracing.version>
        <powermock.version>1.7.1</powermock.version>
W
WangKai 已提交
56
        
T
terrymanu 已提交
57
        <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
T
terrymanu 已提交
58
        <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
T
terrymanu 已提交
59 60
        <maven-resources-plugin.version>2.7</maven-resources-plugin.version>
        <maven-jar-plugin.version>2.6</maven-jar-plugin.version>
H
haocao 已提交
61
        <maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version>
T
terrymanu 已提交
62 63 64 65 66 67 68
        <maven-site-plugin.version>3.4</maven-site-plugin.version>
        <maven-enforcer-plugin.version>1.4</maven-enforcer-plugin.version>
        <maven-project-info-reports-plugin.version>2.8</maven-project-info-reports-plugin.version>
        <maven-plugin-plugin.version>3.4</maven-plugin-plugin.version>
        <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version>
        <maven-source-plugin.version>2.4</maven-source-plugin.version>
        <maven-jxr-plugin.version>2.5</maven-jxr-plugin.version>
T
terrymanu 已提交
69
        <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
T
terrymanu 已提交
70
        <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
H
haocao 已提交
71
        <jacoco.version>0.7.9</jacoco.version>
T
terrymanu 已提交
72 73 74 75 76
        <findbugs-maven-plugin.version>3.0.2</findbugs-maven-plugin.version>
        <maven-checkstyle-plugin.version>2.16</maven-checkstyle-plugin.version>
        <maven-pmd-plugin.version>3.5</maven-pmd-plugin.version>
        <jdepend-maven-plugin.version>2.0</jdepend-maven-plugin.version>
        <taglist-maven-plugin.version>2.4</taglist-maven-plugin.version>
T
terrymanu 已提交
77
        <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
J
junxiong 已提交
78
        <protobuf-maven-plugin.version>0.5.0</protobuf-maven-plugin.version>
T
terrymanu 已提交
79
        <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
W
WangKai 已提交
80
        <coveralls-maven-plugin.version>4.1.0</coveralls-maven-plugin.version>
W
WangKai 已提交
81
        
T
terrymanu 已提交
82 83
        <javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
    </properties>
W
WangKai 已提交
84
    
T
terrymanu 已提交
85 86 87 88 89 90
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <version>${lombok.version}</version>
91
                <scope>provided</scope>
T
terrymanu 已提交
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
            </dependency>
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>${guava.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.groovy</groupId>
                <artifactId>groovy</artifactId>
                <version>${groovy.version}</version>
                <classifier>indy</classifier>
            </dependency>
109 110 111 112 113
            <dependency>
                <groupId>org.yaml</groupId>
                <artifactId>snakeyaml</artifactId>
                <version>${snakeyaml.version}</version>
            </dependency>
114 115 116 117 118
            <dependency>
                <groupId>io.netty</groupId>
                <artifactId>netty-all</artifactId>
                <version>${netty.version}</version>
            </dependency>
T
terrymanu 已提交
119 120 121 122 123 124
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>${common-lang3}</version>
            </dependency>
            <dependency>
T
terrymanu 已提交
125 126 127 128 129 130 131 132
                <groupId>org.apache.curator</groupId>
                <artifactId>curator-framework</artifactId>
                <version>${curator.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.curator</groupId>
                <artifactId>curator-client</artifactId>
                <version>${curator.version}</version>
T
tianbin 已提交
133 134 135 136 137 138
                <exclusions>
                    <exclusion>
                        <artifactId>netty</artifactId>
                        <groupId>io.netty</groupId>
                    </exclusion>
                </exclusions>
T
terrymanu 已提交
139 140 141 142 143 144
            </dependency>
            <dependency>
                <groupId>org.apache.curator</groupId>
                <artifactId>curator-recipes</artifactId>
                <version>${curator.version}</version>
            </dependency>
J
junxiong 已提交
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
            <dependency>
                <groupId>io.grpc</groupId>
                <artifactId>grpc-netty</artifactId>
                <version>${grpc.version}</version>
            </dependency>
            <dependency>
                <groupId>io.grpc</groupId>
                <artifactId>grpc-protobuf</artifactId>
                <version>${grpc.version}</version>
            </dependency>
            <dependency>
                <groupId>io.grpc</groupId>
                <artifactId>grpc-stub</artifactId>
                <version>${grpc.version}</version>
            </dependency>
J
junxiong 已提交
160 161 162 163 164
            <dependency>
                <groupId>com.github.rholder</groupId>
                <artifactId>guava-retrying</artifactId>
                <version>${guava-retrying.version}</version>
            </dependency>
T
terrymanu 已提交
165 166 167 168 169 170
            <dependency>
                <groupId>org.apache.curator</groupId>
                <artifactId>curator-test</artifactId>
                <version>${curator.version}</version>
                <scope>test</scope>
            </dependency>
171 172 173 174
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context-support</artifactId>
                <version>${springframework.version}</version>
H
haocao 已提交
175
                <scope>provided</scope>
176
            </dependency>
T
terrymanu 已提交
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.dbunit</groupId>
                <artifactId>dbunit</artifactId>
                <version>${dbunit.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>${mockito.version}</version>
                <scope>test</scope>
                <exclusions>
                    <exclusion>
                        <groupId>org.hamcrest</groupId>
                        <artifactId>hamcrest-core</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
H
haocao 已提交
201 202 203 204 205 206
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-inline</artifactId>
                <version>${mockito.version}</version>
                <scope>test</scope>
            </dependency>
T
terrymanu 已提交
207 208 209 210
            <dependency>
                <groupId>commons-pool</groupId>
                <artifactId>commons-pool</artifactId>
                <version>${commons-pool.version}</version>
H
haocao 已提交
211
                <scope>test</scope>
T
terrymanu 已提交
212 213
            </dependency>
            <dependency>
T
terrymanu 已提交
214 215 216
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-dbcp2</artifactId>
                <version>${commons-dbcp2.version}</version>
T
terrymanu 已提交
217 218 219 220 221 222
                <exclusions>
                    <exclusion>
                        <groupId>commons-pool</groupId>
                        <artifactId>commons-pool</artifactId>
                    </exclusion>
                </exclusions>
H
haocao 已提交
223
                <scope>test</scope>
T
terrymanu 已提交
224
            </dependency>
T
terrymanu 已提交
225 226 227 228 229 230
            <dependency>
                <groupId>com.h2database</groupId>
                <artifactId>h2</artifactId>
                <version>${h2.version}</version>
                <scope>test</scope>
            </dependency>
T
terrymanu 已提交
231 232 233 234 235 236
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>${mysql-connector-java.version}</version>
                <scope>test</scope>
            </dependency>
237
            <dependency>
238 239 240 241 242
                <groupId>postgresql</groupId>
                <artifactId>postgresql</artifactId>
                <version>${postgresql.version}</version>
                <scope>test</scope>
            </dependency>
243 244 245 246 247 248
            <dependency>
                <groupId>com.microsoft.sqlserver</groupId>
                <artifactId>mssql-jdbc</artifactId>
                <version>${mssql.version}</version>
                <scope>test</scope>
            </dependency>
249
            <dependency>
T
terrymanu 已提交
250 251 252 253 254
                <groupId>com.zaxxer</groupId>
                <artifactId>HikariCP-java7</artifactId>
                <version>${hikari-cp.version}</version>
                <scope>test</scope>
            </dependency>
255
            <dependency>
256 257 258 259 260 261 262 263 264 265 266
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-library</artifactId>
                <version>${hamcrest.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-test</artifactId>
                <version>${springframework.version}</version>
                <scope>test</scope>
            </dependency>
T
terrymanu 已提交
267 268 269 270 271 272 273 274 275 276
            <dependency>
                <groupId>ch.qos.logback</groupId>
                <artifactId>logback-classic</artifactId>
                <version>${logback.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                    </exclusion>
                </exclusions>
H
haocao 已提交
277
                <scope>test</scope>
T
terrymanu 已提交
278
            </dependency>
H
fix #58  
haocao 已提交
279 280 281 282 283
            <dependency>
                <groupId>com.google.code.gson</groupId>
                <artifactId>gson</artifactId>
                <version>${gson.version}</version>
            </dependency>
284 285 286 287
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter</artifactId>
                <version>${spring-boot.version}</version>
H
haocao 已提交
288
                <scope>provided</scope>
289
            </dependency>
290 291 292 293 294 295
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-configuration-processor</artifactId>
                <version>${spring-boot.version}</version>
                <optional>true</optional>
            </dependency>
296 297 298 299 300 301
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-test</artifactId>
                <version>${spring-boot.version}</version>
                <scope>test</scope>
            </dependency>
T
terrymanu 已提交
302 303
        </dependencies>
    </dependencyManagement>
W
WangKai 已提交
304
    
T
terrymanu 已提交
305
    <build>
J
junxiong 已提交
306 307 308 309
        <extensions>
            <extension>
                <groupId>kr.motd.maven</groupId>
                <artifactId>os-maven-plugin</artifactId>
T
terrymanu 已提交
310
                <version>${os-maven-plugin.version}</version>
J
junxiong 已提交
311 312
            </extension>
        </extensions>
T
terrymanu 已提交
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>${java.version}</source>
                        <target>${java.version}</target>
                        <testSource>${java.version}</testSource>
                        <testTarget>${java.version}</testTarget>
                    </configuration>
                    <version>${maven-compiler-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>${maven-resources-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>${maven-jar-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
H
haocao 已提交
338
                    <artifactId>maven-surefire-plugin</artifactId>
T
terrymanu 已提交
339
                    <configuration>
H
haocao 已提交
340
                        <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
T
terrymanu 已提交
341
                    </configuration>
T
terrymanu 已提交
342 343 344 345
                </plugin>
                <plugin>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>${maven-assembly-plugin.version}</version>
T
terrymanu 已提交
346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>${maven-site-plugin.version}</version>
                    <configuration>
                        <locales>${project.build.locale}</locales>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.eclipse.m2e</groupId>
                    <artifactId>lifecycle-mapping</artifactId>
                    <version>${lifecycle-mapping.version}</version>
                    <configuration>
                        <lifecycleMappingMetadata>
                            <pluginExecutions>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-enforcer-plugin</artifactId>
                                        <versionRange>[1.0.0,)</versionRange>
                                        <goals>
                                            <goal>enforce</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore />
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-plugin-plugin</artifactId>
                                        <versionRange>[1.0.0,)</versionRange>
                                        <goals>
                                            <goal>descriptor</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore />
                                    </action>
                                </pluginExecution>
                            </pluginExecutions>
                        </lifecycleMappingMetadata>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-plugin-plugin</artifactId>
                    <version>${maven-plugin-plugin.version}</version>
                    <configuration>
                        <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
                    </configuration>
                    <executions>
                        <execution>
                            <id>default-descriptor</id>
                            <phase>process-classes</phase>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>${maven-javadoc-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>${maven-source-plugin.version}</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <aggregate>true</aggregate>
                    <charset>${project.build.sourceEncoding}</charset>
                    <encoding>${project.build.sourceEncoding}</encoding>
                    <docencoding>${project.build.sourceEncoding}</docencoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <version>${maven-enforcer-plugin.version}</version>
                <executions>
                    <execution>
                        <id>enforce-banned-dependencies</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <configuration>
                            <rules>
                                <requireMavenVersion>
                                    <version>${maven.version.range}</version>
                                </requireMavenVersion>
                                <requireJavaVersion>
                                    <version>${java.version}</version>
                                </requireJavaVersion>
                            </rules>
                            <fail>true</fail>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
T
terrymanu 已提交
474
            <plugin>
J
junxiong 已提交
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490
                <groupId>org.xolstice.maven.plugins</groupId>
                <artifactId>protobuf-maven-plugin</artifactId>
                <version>${protobuf-maven-plugin.version}</version>
                <configuration>
                    <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
                    <pluginId>grpc-java</pluginId>
                    <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                            <goal>compile-custom</goal>
                        </goals>
                    </execution>
                </executions>
T
terrymanu 已提交
491
            </plugin>
H
haocao 已提交
492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>${cobertura-maven-plugin.version}</version>
                <configuration>
                    <check>
                        <branchRate>85</branchRate>
                        <lineRate>85</lineRate>
                        <haltOnFailure>true</haltOnFailure>
                        <totalBranchRate>85</totalBranchRate>
                        <totalLineRate>85</totalLineRate>
                        <packageLineRate>85</packageLineRate>
                        <packageBranchRate>85</packageBranchRate>
                    </check>
                    <aggregate>true</aggregate>
                    <encoding>${project.build.sourceEncoding}</encoding>
                    <quiet>true</quiet>
                    <format>xml</format>
                    <instrumentation>
                        <ignoreTrivial>true</ignoreTrivial>
                        <excludes>
                            <exclude>io/shardingjdbc/**/*Test.class</exclude>
                            <exclude>io/shardingjdbc/**/Test*.class</exclude>
                        </excludes>
                    </instrumentation>
                </configuration>
            </plugin>
H
haocao 已提交
519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>${jacoco.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>report</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
T
terrymanu 已提交
538
            <!--
T
terrymanu 已提交
539 540 541 542 543 544 545 546 547 548 549 550 551 552 553
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>${maven-gpg-plugin.version}</version>
                <executions>
                    <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
             -->
T
terrymanu 已提交
554 555
        </plugins>
    </build>
W
WangKai 已提交
556
    
T
terrymanu 已提交
557 558 559 560 561 562 563 564 565 566 567 568 569
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>${maven-project-info-reports-plugin.version}</version>
                <configuration>
                    <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
T
terrymanu 已提交
570
                <version>${maven-javadoc-plugin.version}</version>
T
terrymanu 已提交
571 572 573 574 575 576 577 578 579 580 581
                <configuration>
                    <aggregate>true</aggregate>
                    <charset>${project.build.sourceEncoding}</charset>
                    <encoding>${project.build.sourceEncoding}</encoding>
                    <docencoding>${project.build.sourceEncoding}</docencoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
                <version>${maven-jxr-plugin.version}</version>
T
terrymanu 已提交
582 583 584 585 586 587 588 589 590
                <reportSets>
                    <reportSet>
                        <id>aggregate</id>
                        <inherited>false</inherited>
                        <reports>
                            <report>aggregate</report>
                        </reports>
                    </reportSet>
                </reportSets>
T
terrymanu 已提交
591 592 593 594 595 596 597 598 599 600 601 602 603 604 605
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <version>${findbugs-maven-plugin.version}</version>
                <configuration>
                    <xmlOutput>true</xmlOutput>
                    <effort>Max</effort>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>${maven-checkstyle-plugin.version}</version>
                <configuration>
H
haocao 已提交
606
                    <configLocation>src/resources/dd_checks.xml</configLocation>
T
terrymanu 已提交
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
                <version>${maven-pmd-plugin.version}</version>
                <configuration>
                    <aggregate>true</aggregate>
                    <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
                    <targetJdk>${java.version}</targetJdk>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jdepend-maven-plugin</artifactId>
                <version>${jdepend-maven-plugin.version}</version>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>taglist-maven-plugin</artifactId>
                <version>${taglist-maven-plugin.version}</version>
                <configuration>
                    <aggregate>true</aggregate>
                </configuration>
            </plugin>
        </plugins>
    </reporting>
W
WangKai 已提交
634
    
T
terrymanu 已提交
635 636
    <repositories>
        <repository>
T
terrymanu 已提交
637
            <id>alfresco-maven-repo</id>
T
terrymanu 已提交
638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660
            <url>https://maven.alfresco.com/nexus/content/groups/public/</url>
        </repository>
        <repository>
            <id>java-net</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
        <repository>
            <id>terracotta-releases</id>
            <url>http://terracotta.org/download/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
    </repositories>
W
WangKai 已提交
661
    
T
terrymanu 已提交
662
    <url>http://shardingjdbc.io</url>
T
terrymanu 已提交
663
    <description>RDB Sharding</description>
H
haocao 已提交
664
    <licenses>
T
terrymanu 已提交
665
        <license>
T
terrymanu 已提交
666
            <name>Apache License 2.0</name>
T
terrymanu 已提交
667 668 669 670
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
W
WangKai 已提交
671
    
T
terrymanu 已提交
672
    <scm>
T
terrymanu 已提交
673 674 675
        <connection>scm:https://github.com/shardingjdbc/sharding-jdbc</connection>
        <developerConnection>scm:https://github.com/shardingjdbc/sharding-jdbc</developerConnection>
        <url>https://github.com/shardingjdbc/sharding-jdbc</url>
T
terrymanu 已提交
676
    </scm>
W
WangKai 已提交
677
    
T
terrymanu 已提交
678 679 680 681 682 683
    <mailingLists>
        <mailingList>
            <name>Zhangliang</name>
            <post>zhangliang@dangdang.com</post>
        </mailingList>
    </mailingLists>
W
WangKai 已提交
684
    
T
terrymanu 已提交
685 686 687 688 689 690 691 692
    <developers>
        <developer>
            <id>zhangliang</id>
            <name>ZhangLiang</name>
            <email>zhangliang@dangdang.com</email>
            <timezone>8</timezone>
        </developer>
    </developers>
W
WangKai 已提交
693
    
T
terrymanu 已提交
694 695 696 697 698 699 700 701 702 703
    <distributionManagement>
        <snapshotRepository>
            <id>sonatype-nexus-snapshots</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>sonatype-nexus-releases</id>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
    </distributionManagement>
T
terrymanu 已提交
704
</project>