提交 412fe43c 编写于 作者: T tristaZero

change pom

上级 a97537a5
<?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-jdbc-plugin</artifactId>
<version>3.0.0.M3-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<sharding-sphere.version>3.0.0.M3-SNAPSHOT</sharding-sphere.version>
<junit.version>4.12</junit.version>
<powermock.version>1.6.6</powermock.version>
<java.version>1.7</java.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>
</properties>
<dependencies>
<dependency>
<groupId>io.shardingsphere</groupId>
<artifactId>sharding-jdbc</artifactId>
<version>${sharding-sphere.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</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>
......@@ -7,15 +7,17 @@
<artifactId>sharding-sphere</artifactId>
<version>3.0.0.M3-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>sharding-orchestration</artifactId>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<modules>
<module>sharding-orchestration-core</module>
<module>sharding-jdbc-orchestration-spring</module>
<module>sharding-jdbc-orchestration</module>
<module>sharding-orchestration-reg</module>
<module>sharding-jdbc-orchestration-spring</module>
</modules>
<properties>
......
......@@ -19,13 +19,11 @@
<master-slave:data-source id="refMasterSlaveDataSource" master-data-source-name="dbtbl_1_master" slave-data-source-names="dbtbl_1_slave_0, dbtbl_1_slave_1" strategy-ref="randomStrategy" />
<master-slave:data-source id="defaultMasterSlaveDataSource" master-data-source-name="dbtbl_1_master" slave-data-source-names="dbtbl_1_slave_0, dbtbl_1_slave_1" />
<sharding:data-source id="defaultShardingDataSource">
<sharding:data-source id="defaultShardingDataSource" registry-center-ref="regCenter">
<sharding:sharding-rule data-source-names="randomMasterSlaveDataSource,refMasterSlaveDataSource,defaultMasterSlaveDataSource" default-data-source-name="defaultMasterSlaveDataSource">
<sharding:table-rules>
<sharding:table-rule logic-table="t_order" />
</sharding:table-rules>
</sharding:sharding-rule>
</sharding:data-source>
<orche:datadsource datasource="xxx" registry-center-ref="regCenter"></orche:datadsource>
</beans>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册