| <?xml version="1.0" encoding="UTF-8"?> |
| <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> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-sphere-example</artifactId> |
| <version>3.1.0</version> |
| <packaging>pom</packaging> |
| |
| <modules> |
| <module>common-repository</module> |
| <module>example-utility</module> |
| <module>sharding-jdbc-example</module> |
| <module>sharding-proxy-example</module> |
| </modules> |
| |
| <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> |
| |
| <sharding-sphere.version>3.1.0</sharding-sphere.version> |
| |
| <aspectjweaver.version>1.8.9</aspectjweaver.version> |
| <spring-framework.version>4.3.20.RELEASE</spring-framework.version> |
| <spring-boot.version>1.5.17.RELEASE</spring-boot.version> |
| <commons-dbcp.version>1.4</commons-dbcp.version> |
| <mysql-connector-java.version>5.1.42</mysql-connector-java.version> |
| <postgresql.version>9.1-901-1.jdbc4</postgresql.version> |
| <slf4j.version>1.7.7</slf4j.version> |
| <logback.version>1.2.0</logback.version> |
| |
| <mybatis.version>3.4.2</mybatis.version> |
| <mybatis-spring.version>1.3.0</mybatis-spring.version> |
| <jpa.version>1.0.0.Final</jpa.version> |
| <hibernate.version>4.3.11.Final</hibernate.version> |
| |
| <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version> |
| <maven-resources-plugin.version>2.7</maven-resources-plugin.version> |
| <maven-jar-plugin.version>2.6</maven-jar-plugin.version> |
| <maven-source-plugin.version>2.4</maven-source-plugin.version> |
| |
| <javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-core</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-jdbc-core</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-jdbc-orchestration</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-jdbc-spring-boot-starter</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-jdbc-orchestration-spring-boot-starter</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-jdbc-spring-namespace</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-jdbc-orchestration-spring-namespace</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-transaction</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-transaction-2pc-xa</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-transaction-spring</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-transaction-spring-boot-starter</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-orchestration-reg-zookeeper-curator</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.shardingsphere</groupId> |
| <artifactId>sharding-orchestration-reg-etcd</artifactId> |
| <version>${sharding-sphere.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjweaver</artifactId> |
| <version>${aspectjweaver.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jdbc</artifactId> |
| <version>${spring-framework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-orm</artifactId> |
| <version>${spring-framework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context-support</artifactId> |
| <version>${spring-framework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</artifactId> |
| <version>${spring-framework.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hibernate.javax.persistence</groupId> |
| <artifactId>hibernate-jpa-2.1-api</artifactId> |
| <version>${jpa.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-core</artifactId> |
| <version>${hibernate.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-entitymanager</artifactId> |
| <version>${hibernate.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-data-jpa</artifactId> |
| <version>${spring-boot.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-aop</artifactId> |
| <version>${spring-boot.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mybatis</groupId> |
| <artifactId>mybatis</artifactId> |
| <version>${mybatis.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mybatis</groupId> |
| <artifactId>mybatis-spring</artifactId> |
| <version>${mybatis-spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mybatis.spring.boot</groupId> |
| <artifactId>mybatis-spring-boot-starter</artifactId> |
| <version>${mybatis-spring.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>commons-dbcp</groupId> |
| <artifactId>commons-dbcp</artifactId> |
| <version>${commons-dbcp.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>${mysql-connector-java.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${logback.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <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> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${maven-source-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |