Skip to content

Commit 9d47a2c

Browse files
authored
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.
1 parent 0a6fa28 commit 9d47a2c

File tree

5 files changed

+24
-7
lines changed

5 files changed

+24
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
timeout-minutes: 30
6262
strategy:
6363
matrix:
64-
version: [ 8, 11, 17, 21 ]
64+
version: [ 11, 17, 21 ]
6565
steps:
6666
- uses: actions/checkout@v4
6767
with:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.1/apache-maven-3.6.1-bin.zip
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
22
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Release Notes.
1515
* Support auth with username and password.
1616
* Update gRPC to 1.75.0.
1717
* Add histogram metrics to write/insert/update operations of the measure, stream and property.
18+
* Bump up parent Apache pom to v35.
19+
* Bump up maven to 3.6.3.
20+
* Add IDEA setup doc to support super large generated file(by protoc).
1821

1922
0.8.0
2023
------------------

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,20 @@ DeleteResponse deleteResponse = client.deleteProperty("default", "ui_template",
624624
# Compiling project
625625
> ./mvnw clean package
626626
627+
## IDEA Setup Notice
628+
If you are using IntelliJ IDEA, compiling passed in maven and see errors in source file editor, please add the following
629+
configurations through `Help`->`Edit Custom Properties..`:
630+
631+
```properties
632+
#---------------------------------------------------------------------
633+
# Maximum file size (kilobytes) IDE should provide code assistance for.
634+
# The larger file is the slower its editor works and higher overall system memory requirements are
635+
# if code assistance is enabled. Remove this property or set to very large number if you need
636+
# code assistance for any files available regardless their size.
637+
#---------------------------------------------------------------------
638+
idea.max.intellisense.filesize=5000
639+
```
640+
627641
# Code of conduct
628642
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.
629643
Please follow the [REPORTING GUIDELINES](https://www.apache.org/foundation/policies/conduct#reporting-guidelines) to report unacceptable behavior.

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<parent>
2828
<groupId>org.apache</groupId>
2929
<artifactId>apache</artifactId>
30-
<version>21</version>
30+
<version>35</version>
3131
<relativePath />
3232
</parent>
3333

@@ -72,7 +72,8 @@
7272

7373
<properties>
7474
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
75-
<compiler.version>1.8</compiler.version>
75+
<maven.compiler.source>8</maven.compiler.source>
76+
<maven.compiler.target>8</maven.compiler.target>
7677
<powermock.version>2.0.9</powermock.version>
7778
<checkstyle.version>6.18</checkstyle.version>
7879
<junit.version>4.13.2</junit.version>
@@ -91,7 +92,7 @@
9192
<auto-value.version>1.10.4</auto-value.version>
9293
<testcontainers.version>1.19.7</testcontainers.version>
9394
<awaitility.version>4.2.1</awaitility.version>
94-
<bufbuild.protoc-gen-validate.version>0.6.13</bufbuild.protoc-gen-validate.version>
95+
<bufbuild.protoc-gen-validate.version>1.2.1</bufbuild.protoc-gen-validate.version>
9596
<!-- necessary for Java 9+ -->
9697
<org.apache.tomcat.annotations-api.version>6.0.53</org.apache.tomcat.annotations-api.version>
9798
<slf4j.version>1.7.36</slf4j.version>
@@ -299,8 +300,7 @@
299300
<configuration>
300301
<rules>
301302
<requireJavaVersion>
302-
<!-- Build has not yet been updated for Java 9+ -->
303-
<version>1.8</version>
303+
<version>[9, )</version>
304304
</requireJavaVersion>
305305
<requireMavenVersion>
306306
<version>3.6</version>

0 commit comments

Comments
 (0)