This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-java.git


The following commit(s) were added to refs/heads/master by this push:
     new 5afa72e20 hint IDE the source code generated by thrift (#3400)
5afa72e20 is described below

commit 5afa72e200a210d0ff773482b269bfba2fc77e7b
Author: Zehua Zou <[email protected]>
AuthorDate: Wed Feb 25 15:35:39 2026 +0800

    hint IDE the source code generated by thrift (#3400)
---
 parquet-format-structures/pom.xml | 19 +++++++++++++++++++
 parquet-thrift/pom.xml            | 19 +++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/parquet-format-structures/pom.xml 
b/parquet-format-structures/pom.xml
index b680d6016..7ff9c6a11 100644
--- a/parquet-format-structures/pom.xml
+++ b/parquet-format-structures/pom.xml
@@ -133,6 +133,25 @@
           <quiet>true</quiet>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <version>3.6.0</version>
+        <executions>
+          <execution>
+            <id>add-sources</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                
<source>${project.build.directory}/generated-sources/thrift</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 
diff --git a/parquet-thrift/pom.xml b/parquet-thrift/pom.xml
index 0ac455f33..9c4d1fe8c 100644
--- a/parquet-thrift/pom.xml
+++ b/parquet-thrift/pom.xml
@@ -206,6 +206,25 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <version>3.6.0</version>
+        <executions>
+          <execution>
+            <id>add-test-sources</id>
+            <phase>generate-test-sources</phase>
+            <goals>
+              <goal>add-test-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                
<source>${project.build.directory}/generated-test-sources/thrift</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 

Reply via email to