Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 89ea352

Browse files
committedNov 8, 2024·
fix pom version
1 parent 97171d7 commit 89ea352

File tree

6 files changed

+22
-27
lines changed

6 files changed

+22
-27
lines changed
 

‎polardbx-common/src/main/java/com/alibaba/polardbx/common/utils/version/Version.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private Version() {
3535
}
3636

3737
// TODO get product version from config property
38-
public static final String PRODUCT_VERSION = "2.5.0";
38+
public static final String PRODUCT_VERSION = "2.4.1";
3939

4040
private static final Logger logger = LoggerFactory.getLogger(Version.class);
4141
private static final Package myPackage = VersionAnnotation.class.getPackage();

‎polardbx-executor/pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@
236236
<artifactId>aircompressor</artifactId>
237237
<version>${aircompressor.version}</version>
238238
</dependency>
239-
<dependency>
240-
<groupId>com.alibaba.polardbx</groupId>
241-
<artifactId>airlift-all-shade</artifactId>
242-
<version>${airlift.shade.version}</version>
243-
</dependency>
239+
<!-- <dependency>-->
240+
<!-- <groupId>com.alibaba.polardbx</groupId>-->
241+
<!-- <artifactId>airlift-all-shade</artifactId>-->
242+
<!-- <version>${airlift.shade.version}</version>-->
243+
<!-- </dependency>-->
244244
<dependency>
245245
<groupId>javax.validation</groupId>
246246
<artifactId>validation-api</artifactId>

‎polardbx-executor/src/main/java/com/alibaba/polardbx/executor/gsi/utils/Transformer.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
import com.google.common.base.Preconditions;
2424
import com.google.common.io.BaseEncoding;
2525
import com.mysql.jdbc.StringUtils;
26-
import com.mysql.jdbc.ZeroDate;
27-
import com.mysql.jdbc.ZeroTime;
28-
import com.mysql.jdbc.ZeroTimestamp;
26+
import com.alibaba.polardbx.common.jdbc.ZeroDate;
27+
import com.alibaba.polardbx.common.jdbc.ZeroTime;
28+
import com.alibaba.polardbx.common.jdbc.ZeroTimestamp;
2929
import com.alibaba.polardbx.common.exception.TddlNestableRuntimeException;
3030
import com.alibaba.polardbx.common.jdbc.ParameterContext;
3131
import com.alibaba.polardbx.common.jdbc.ParameterMethod;

‎polardbx-test/pom.xml

+5-16
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<artifactId>polardbx-test</artifactId>
1616

1717
<properties>
18-
<mysql_connector_v5>5.1.40.12</mysql_connector_v5>
18+
<mysql_connector_v5>5.1.49</mysql_connector_v5>
1919
<mysql_connector_v8>8.0.26</mysql_connector_v8>
2020
<polardbx_connector>1.4.0-SNAPSHOT</polardbx_connector>
2121
<mvn_parallel>none</mvn_parallel>
@@ -40,12 +40,6 @@
4040
<artifactId>jcip-annotations</artifactId>
4141
<version>${jcip.version}</version>
4242
</dependency>
43-
<dependency>
44-
<groupId>com.alibaba.external</groupId>
45-
<artifactId>test.junit.hamcrest</artifactId>
46-
<version>${test.junit.hamcrest.version}</version>
47-
<scope>test</scope>
48-
</dependency>
4943
<dependency>
5044
<groupId>${project.groupId}</groupId>
5145
<artifactId>polardbx-optimizer</artifactId>
@@ -95,20 +89,15 @@
9589
<version>${mysql_connector_v5}</version>
9690
<scope>test</scope>
9791
</dependency>
92+
9893
<dependency>
99-
<groupId>com.aliyun</groupId>
100-
<artifactId>polardbx-java-connector</artifactId>
101-
<version>${polardbx_connector}</version>
94+
<groupId>org.hamcrest</groupId>
95+
<artifactId>hamcrest</artifactId>
10296
<scope>test</scope>
103-
<exclusions>
104-
<exclusion>
105-
<groupId>org.junit.jupiter</groupId>
106-
<artifactId>junit-jupiter</artifactId>
107-
</exclusion>
108-
</exclusions>
10997
</dependency>
11098

11199

100+
112101
<dependency>
113102
<groupId>com.google.truth</groupId>
114103
<artifactId>truth</artifactId>

‎polardbx-test/src/test/java/com/alibaba/polardbx/qatest/ddl/sharding/gsi/group1/CreateGsiTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import static com.alibaba.polardbx.qatest.validator.DataValidator.resultSetContentSameAssert;
3939
import static org.hamcrest.MatcherAssert.assertThat;
4040
import static org.hamcrest.core.Is.is;
41-
import static org.hamcrest.number.OrderingComparisons.greaterThan;
41+
import static org.hamcrest.number.OrderingComparison.greaterThan;
4242

4343
/**
4444
* @author chenmo.cm

‎pom.xml

+7-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
<jackson-mapper-asl.version>1.9.13</jackson-mapper-asl.version>
143143
<dtafEx.version>0.0.2-SNAPSHOT</dtafEx.version>
144144
<ddl-parser.version>1.0.2</ddl-parser.version>
145-
<test.junit.hamcrest.version>1.1</test.junit.hamcrest.version>
145+
<hamcrest.version>2.2</hamcrest.version>
146146
<sshtester.version>0.2.8</sshtester.version>
147147
<xml-apis.version>1.4.01</xml-apis.version>
148148
<jetty.version>9.4.20.v20190813</jetty.version>
@@ -483,6 +483,12 @@
483483
<version>${mockito.verison}</version>
484484
<scope>test</scope>
485485
</dependency>
486+
<dependency>
487+
<groupId>org.hamcrest</groupId>
488+
<artifactId>hamcrest</artifactId>
489+
<version>${hamcrest.version}</version>
490+
<scope>test</scope>
491+
</dependency>
486492
<!-- <dependency>-->
487493
<!-- <groupId>org.apache.arrow</groupId>-->
488494
<!-- <artifactId>arrow-vector</artifactId>-->

0 commit comments

Comments
 (0)
Please sign in to comment.