Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
cherubimLV committed Dec 6, 2021
2 parents ae8b7f8 + 8dcb32d commit da36842
Show file tree
Hide file tree
Showing 459 changed files with 2,378 additions and 1,115 deletions.
2 changes: 1 addition & 1 deletion examples/example-core/config-utility/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>config-utility</artifactId>
<name>${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/example-core/example-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>example-api</artifactId>
<name>${project.artifactId}</name>
Expand Down
6 changes: 3 additions & 3 deletions examples/example-core/example-raw-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>example-raw-jdbc</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -32,12 +32,12 @@
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>config-utility</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-api</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
</project>
6 changes: 3 additions & 3 deletions examples/example-core/example-spring-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>example-spring-jpa</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -32,12 +32,12 @@
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>config-utility</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-api</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions examples/example-core/example-spring-mybatis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>example-spring-mybatis</artifactId>
<name>common::example-spring-mybatis</name>
Expand All @@ -32,12 +32,12 @@
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>config-utility</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-api</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
Expand Down
33 changes: 32 additions & 1 deletion examples/example-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>shardingsphere-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>example-core</artifactId>
<packaging>pom</packaging>
Expand All @@ -36,4 +36,35 @@
<module>example-spring-mybatis</module>
<module>example-spring-jpa</module>
</modules>

<build>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<versionRange>[1.1.0,)</versionRange>
<goals>
<goal>flatten</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
33 changes: 32 additions & 1 deletion examples/other-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>shardingsphere-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>other-example</artifactId>
<packaging>pom</packaging>
Expand All @@ -32,4 +32,35 @@
<modules>
<module>shardingsphere-parser-example</module>
</modules>

<build>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<versionRange>[1.1.0,)</versionRange>
<goals>
<goal>flatten</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>other-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>shardingsphere-parser-example</artifactId>
<name>${project.artifactId}</name>
Expand Down
28 changes: 27 additions & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>shardingsphere-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>

Expand All @@ -35,6 +35,7 @@
</modules>

<properties>
<revision>5.0.1-SNAPSHOT</revision>
<java.version>1.8</java.version>
<maven.version.range>[3.0.4,)</maven.version.range>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -72,6 +73,7 @@
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<freemarker.version>2.3.31</freemarker.version>
<snakeyaml.version>1.16</snakeyaml.version>
<flatten-maven-plugin.version>1.2.5</flatten-maven-plugin.version>

<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
</properties>
Expand Down Expand Up @@ -448,6 +450,30 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>shardingsphere-jdbc-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>mixed-feature-example</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>mixed-feature-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>sharding-readwrite-splitting-example</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>sharding-readwrite-splitting-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>sharding-readwrite-splitting-raw-jdbc-example</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-raw-jdbc</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>sharding-readwrite-splitting-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>sharding-readwrite-splitting-spring-boot-jpa-example</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-spring-jpa</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>sharding-readwrite-splitting-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>sharding-readwrite-splitting-spring-boot-mybatis-example</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-spring-mybatis</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>sharding-readwrite-splitting-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>sharding-readwrite-splitting-spring-namespace-jpa-example</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-spring-jpa</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>sharding-readwrite-splitting-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>sharding-readwrite-splitting-spring-namespace-mybatis-example</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>example-spring-mybatis</artifactId>
<version>${project.version}</version>
<version>${project.parent.version}</version>
</dependency>

<dependency>
Expand Down
33 changes: 32 additions & 1 deletion examples/shardingsphere-jdbc-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.shardingsphere.example</groupId>
<artifactId>shardingsphere-example</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>shardingsphere-jdbc-example</artifactId>
<packaging>pom</packaging>
Expand All @@ -33,4 +33,35 @@
<module>mixed-feature-example</module>
<module>single-feature-example</module>
</modules>

<build>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<versionRange>[1.1.0,)</versionRange>
<goals>
<goal>flatten</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
Loading

0 comments on commit da36842

Please sign in to comment.