Skip to content

Commit

Permalink
Merge pull request #192 from walkertest/feature/antlrfind
Browse files Browse the repository at this point in the history
Feature/antlrfind
  • Loading branch information
TimmyYu authored May 11, 2022
2 parents e6f0020 + 0a1db80 commit 95d2683
Show file tree
Hide file tree
Showing 29 changed files with 2,857 additions and 39 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ target/
*.dat
examples/**/testapp/
**/.DS_Store
.flattened-pom.xml
2 changes: 1 addition & 1 deletion core/client.pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<artifactId>tars-client</artifactId>
<name>${project.artifactId}</name>
Expand Down
3 changes: 2 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tars-core</artifactId>
<name>${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion core/server.pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<artifactId>tars-server</artifactId>
<name>${project.artifactId}</name>
Expand Down
3 changes: 2 additions & 1 deletion distributedContext/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>tars-context</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tars-examples</artifactId>
<name>${project.artifactId}</name>
Expand Down
4 changes: 2 additions & 2 deletions examples/quickstart-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-core</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency> <dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-net</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>

</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<artifactId>tars-quickstart-server</artifactId>
<name>${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/stress-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<artifactId>tars-stress-server</artifactId>
<name>${project.artifactId}</name>
Expand Down
4 changes: 2 additions & 2 deletions examples/tars-spring-boot-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring-boot-starter</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
</dependencies>

Expand Down Expand Up @@ -84,7 +84,7 @@
<plugin>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-maven-plugin</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
<configuration>
<tars2JavaConfig>
<!-- tars文件位置 -->
Expand Down
4 changes: 2 additions & 2 deletions examples/tars-spring-boot-http-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring-boot-starter</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
</dependencies>

Expand Down Expand Up @@ -81,7 +81,7 @@
<plugin>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-maven-plugin</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
<configuration>
<tars2JavaConfig>
<!-- tars文件位置 -->
Expand Down
4 changes: 2 additions & 2 deletions examples/tars-spring-boot-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>tars-examples</artifactId>
<groupId>com.tencent.tars</groupId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -31,7 +31,7 @@
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring-boot-starter</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
</dependencies>

Expand Down
10 changes: 5 additions & 5 deletions examples/tars-spring-cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring-cloud-client</artifactId>
<version> 1.7.2</version>
<version> ${revision}</version>
<packaging>war</packaging>

<name>tars-spring-cloud-client</name>
Expand All @@ -23,22 +23,22 @@
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-core</artifactId>
<version> 1.7.2</version>
<version> ${revision}</version>
</dependency>
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-protobuf</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring-cloud-starter</artifactId>
<version> 1.7.2</version>
<version> ${revision}</version>
</dependency>
</dependencies>
</project>
10 changes: 5 additions & 5 deletions examples/tars-spring-cloud-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring-cloud-server</artifactId>
<packaging>war</packaging>
<version>1.7.2</version>
<version>${revision}</version>

<name>tars-spring-cloud-server</name>
<url>http://maven.apache.org</url>
Expand Down Expand Up @@ -43,22 +43,22 @@
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-core</artifactId>
<version> 1.7.2</version>
<version> ${revision}</version>
</dependency>
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-protobuf</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-spring-cloud-starter</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/tars-spring-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>tars-examples</artifactId>
<groupId>com.tencent.tars</groupId>
<version> 1.7.2</version>
<version> ${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>war</packaging>
Expand Down
3 changes: 2 additions & 1 deletion net/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tars-net</artifactId>
<packaging>jar</packaging>
Expand Down
30 changes: 29 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
<packaging>pom</packaging>
<name>Tars</name>
<description>Super POM For Projects</description>
Expand Down Expand Up @@ -50,6 +50,7 @@
</modules>

<properties>
<revision>1.7.2</revision>
<java_source_version>1.8</java_source_version>
<java_target_version>1.8</java_target_version>
<file_encoding>UTF-8</file_encoding>
Expand All @@ -63,6 +64,7 @@
<maven_deploy_plugin_version>2.8.2</maven_deploy_plugin_version>
<maven_release_plugin_version>2.5.3</maven_release_plugin_version>
<maven_junit_version>4.8.2</maven_junit_version>
<maven_flatten_version>1.2.5</maven_flatten_version>
</properties>

<build>
Expand All @@ -77,6 +79,32 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven_javadoc_plugin_version}</version>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${maven_flatten_version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</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>

<pluginManagement>
Expand Down
2 changes: 1 addition & 1 deletion protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>tars-parent</artifactId>
<groupId>com.tencent.tars</groupId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>tars-parent</artifactId>
<groupId>com.tencent.tars</groupId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion spring/tars-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>tars-spring-parent</artifactId>
<groupId>com.tencent.tars</groupId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion spring/tars-spring-cloud-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>tars-spring-parent</artifactId>
<groupId>com.tencent.tars</groupId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>

<artifactId>tars-spring-cloud-starter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion spring/tars-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>tars-spring-parent</artifactId>
<groupId>com.tencent.tars</groupId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
8 changes: 4 additions & 4 deletions tars-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>tars-parent</artifactId>
<groupId>com.tencent.tars</groupId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>tars-plugins</artifactId>
Expand All @@ -16,7 +16,7 @@
<maven.compiler.source>${targetJdk}</maven.compiler.source>
<maven.compiler.target>${targetJdk}</maven.compiler.target>
<encoding>UTF-8</encoding>
<slf4j.version>1.7.25</slf4j.version>
<slf4j.version>${revision}5</slf4j.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -28,12 +28,12 @@
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-client</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-server</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
Expand Down
2 changes: 1 addition & 1 deletion tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-parent</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<artifactId>tars-tools</artifactId>
<name>${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion tools/tars-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.tencent.tars</groupId>
<artifactId>tars-tools</artifactId>
<version>1.7.2</version>
<version>${revision}</version>
</parent>
<artifactId>tars-maven-plugin</artifactId>
<name>${project.artifactId}</name>
Expand Down
Loading

0 comments on commit 95d2683

Please sign in to comment.