This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/skywalking-banyandb-java-client.git
The following commit(s) were added to refs/heads/main by this push:
new 9d47a2c Bump up env and add setup doc for IDEA (#93)
9d47a2c is described below
commit 9d47a2cd35a50b48eb9f5debc3c376606d6945f3
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Wed Aug 27 15:04:42 2025 +0800
Bump up env and add setup doc for IDEA (#93)
* Bump up parent Apache pom to v35.
* Bump up maven to 3.6.3.
* Add IDEA setup doc to support super large generated file(by protoc).
* Recommend JDK9+ for compiling.
---
.github/workflows/ci.yaml | 2 +-
.mvn/wrapper/maven-wrapper.properties | 2 +-
CHANGES.md | 3 +++
README.md | 14 ++++++++++++++
pom.xml | 10 +++++-----
5 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 2cb3f87..f9c7ee6 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -61,7 +61,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
- version: [ 8, 11, 17, 21 ]
+ version: [ 11, 17, 21 ]
steps:
- uses: actions/checkout@v4
with:
diff --git a/.mvn/wrapper/maven-wrapper.properties
b/.mvn/wrapper/maven-wrapper.properties
index fa87ad7..15fbe3d 100644
--- a/.mvn/wrapper/maven-wrapper.properties
+++ b/.mvn/wrapper/maven-wrapper.properties
@@ -1,2 +1,2 @@
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.1/apache-maven-3.6.1-bin.zip
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
diff --git a/CHANGES.md b/CHANGES.md
index b646a34..8bfa974 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -15,6 +15,9 @@ Release Notes.
* Support auth with username and password.
* Update gRPC to 1.75.0.
* Add histogram metrics to write/insert/update operations of the measure,
stream and property.
+* Bump up parent Apache pom to v35.
+* Bump up maven to 3.6.3.
+* Add IDEA setup doc to support super large generated file(by protoc).
0.8.0
------------------
diff --git a/README.md b/README.md
index b8161b9..4ef8c1d 100644
--- a/README.md
+++ b/README.md
@@ -624,6 +624,20 @@ DeleteResponse deleteResponse =
client.deleteProperty("default", "ui_template",
# Compiling project
> ./mvnw clean package
+## IDEA Setup Notice
+If you are using IntelliJ IDEA, compiling passed in maven and see errors in
source file editor, please add the following
+configurations through `Help`->`Edit Custom Properties..`:
+
+```properties
+#---------------------------------------------------------------------
+# Maximum file size (kilobytes) IDE should provide code assistance for.
+# The larger file is the slower its editor works and higher overall system
memory requirements are
+# if code assistance is enabled. Remove this property or set to very large
number if you need
+# code assistance for any files available regardless their size.
+#---------------------------------------------------------------------
+idea.max.intellisense.filesize=5000
+```
+
# Code of conduct
This project adheres to the Contributor Covenant [code of
conduct](https://www.apache.org/foundation/policies/conduct). By participating,
you are expected to uphold this code.
Please follow the [REPORTING
GUIDELINES](https://www.apache.org/foundation/policies/conduct#reporting-guidelines)
to report unacceptable behavior.
diff --git a/pom.xml b/pom.xml
index 646c2f7..69b0e5b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
- <version>21</version>
+ <version>35</version>
<relativePath />
</parent>
@@ -72,7 +72,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <compiler.version>1.8</compiler.version>
+ <maven.compiler.source>8</maven.compiler.source>
+ <maven.compiler.target>8</maven.compiler.target>
<powermock.version>2.0.9</powermock.version>
<checkstyle.version>6.18</checkstyle.version>
<junit.version>4.13.2</junit.version>
@@ -91,7 +92,7 @@
<auto-value.version>1.10.4</auto-value.version>
<testcontainers.version>1.19.7</testcontainers.version>
<awaitility.version>4.2.1</awaitility.version>
-
<bufbuild.protoc-gen-validate.version>0.6.13</bufbuild.protoc-gen-validate.version>
+
<bufbuild.protoc-gen-validate.version>1.2.1</bufbuild.protoc-gen-validate.version>
<!-- necessary for Java 9+ -->
<org.apache.tomcat.annotations-api.version>6.0.53</org.apache.tomcat.annotations-api.version>
<slf4j.version>1.7.36</slf4j.version>
@@ -299,8 +300,7 @@
<configuration>
<rules>
<requireJavaVersion>
- <!-- Build has not yet been updated for
Java 9+ -->
- <version>1.8</version>
+ <version>[9, )</version>
</requireJavaVersion>
<requireMavenVersion>
<version>3.6</version>