Skip to content

Commit d7047a9

Browse files
authored
PARQUET-3532: Remove hardcoded versions (#3531)
This removes the hardcoded versions from the pom.xml and inherits from the parent pom, or it is centralized in the root pom.
1 parent d5722f1 commit d7047a9

10 files changed

Lines changed: 27 additions & 18 deletions

File tree

parquet-avro/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@
137137
<plugin>
138138
<groupId>org.apache.avro</groupId>
139139
<artifactId>avro-maven-plugin</artifactId>
140-
<version>${avro.version}</version>
141140
<executions>
142141
<execution>
143142
<id>compile-idl</id>
@@ -162,7 +161,6 @@
162161
<!-- Ensure that the specific classes are available during test compile but not included in jar -->
163162
<groupId>org.codehaus.mojo</groupId>
164163
<artifactId>build-helper-maven-plugin</artifactId>
165-
<version>3.6.0</version>
166164
<executions>
167165
<execution>
168166
<id>add-test-sources</id>

parquet-column/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@
125125
<plugin>
126126
<groupId>org.codehaus.mojo</groupId>
127127
<artifactId>build-helper-maven-plugin</artifactId>
128-
<version>3.6.0</version>
129128
<executions>
130129
<execution>
131130
<id>add-source</id>
@@ -144,7 +143,6 @@
144143
<plugin>
145144
<groupId>org.codehaus.mojo</groupId>
146145
<artifactId>exec-maven-plugin</artifactId>
147-
<version>${exec-maven-plugin.version}</version>
148146
<dependencies>
149147
<dependency>
150148
<groupId>org.apache.parquet</groupId>

parquet-common/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
<plugin>
8484
<groupId>org.codehaus.mojo</groupId>
8585
<artifactId>build-helper-maven-plugin</artifactId>
86-
<version>3.6.0</version>
8786
<executions>
8887
<execution>
8988
<id>add-source</id>
@@ -102,7 +101,6 @@
102101
<plugin>
103102
<groupId>org.codehaus.mojo</groupId>
104103
<artifactId>exec-maven-plugin</artifactId>
105-
<version>${exec-maven-plugin.version}</version>
106104
<dependencies>
107105
<dependency>
108106
<groupId>org.apache.parquet</groupId>

parquet-encoding/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
<plugin>
7070
<groupId>org.codehaus.mojo</groupId>
7171
<artifactId>build-helper-maven-plugin</artifactId>
72-
<version>3.6.0</version>
7372
<executions>
7473
<execution>
7574
<id>add-source</id>
@@ -88,7 +87,6 @@
8887
<plugin>
8988
<groupId>org.codehaus.mojo</groupId>
9089
<artifactId>exec-maven-plugin</artifactId>
91-
<version>${exec-maven-plugin.version}</version>
9290
<dependencies>
9391
<dependency>
9492
<groupId>org.apache.parquet</groupId>

parquet-format-structures/pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
<plugin>
7171
<groupId>org.apache.thrift</groupId>
7272
<artifactId>thrift-maven-plugin</artifactId>
73-
<version>${thrift-maven-plugin.version}</version>
7473
<configuration>
7574
<thriftSourceRoot>${parquet.thrift.path}</thriftSourceRoot>
7675
<thriftExecutable>${format.thrift.executable}</thriftExecutable>
@@ -136,7 +135,6 @@
136135
<plugin>
137136
<groupId>org.codehaus.mojo</groupId>
138137
<artifactId>build-helper-maven-plugin</artifactId>
139-
<version>3.6.0</version>
140138
<executions>
141139
<execution>
142140
<id>add-sources</id>
@@ -195,7 +193,6 @@
195193
<plugin>
196194
<groupId>org.codehaus.mojo</groupId>
197195
<artifactId>exec-maven-plugin</artifactId>
198-
<version>${exec-maven-plugin.version}</version>
199196
<executions>
200197
<execution>
201198
<id>check-thrift-version</id>

parquet-plugins/parquet-encoding-vector/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,11 @@
105105
<plugin>
106106
<groupId>org.apache.maven.plugins</groupId>
107107
<artifactId>maven-shade-plugin</artifactId>
108-
<version>3.6.2</version>
109108
</plugin>
110109

111110
<plugin>
112111
<groupId>org.apache.maven.plugins</groupId>
113112
<artifactId>maven-dependency-plugin</artifactId>
114-
<version>3.10.0</version>
115113
<executions>
116114
<execution>
117115
<goals>

parquet-plugins/parquet-plugins-benchmarks/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
<plugin>
8888
<groupId>org.apache.maven.plugins</groupId>
8989
<artifactId>maven-shade-plugin</artifactId>
90-
<version>3.6.2</version>
9190
<executions>
9291
<execution>
9392
<phase>package</phase>

parquet-protobuf/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@
192192
<plugin>
193193
<groupId>com.github.os72</groupId>
194194
<artifactId>protoc-jar-maven-plugin</artifactId>
195-
<version>3.11.4</version>
196195
<executions>
197196
<execution>
198197
<id>generate-sources</id>

parquet-thrift/pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@
170170
<plugin>
171171
<groupId>org.apache.thrift</groupId>
172172
<artifactId>thrift-maven-plugin</artifactId>
173-
<version>${thrift-maven-plugin.version}</version>
174173
<configuration>
175174
<thriftExecutable>${thrift.executable}</thriftExecutable>
176175
</configuration>
@@ -191,7 +190,6 @@
191190
<plugin>
192191
<groupId>org.codehaus.mojo</groupId>
193192
<artifactId>build-helper-maven-plugin</artifactId>
194-
<version>3.6.0</version>
195193
<executions>
196194
<execution>
197195
<id>add-test-sources</id>
@@ -223,7 +221,6 @@
223221
<plugin>
224222
<groupId>org.codehaus.mojo</groupId>
225223
<artifactId>exec-maven-plugin</artifactId>
226-
<version>${exec-maven-plugin.version}</version>
227224
<executions>
228225
<execution>
229226
<id>check-thrift-version</id>

pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@
9999
<brotli-codec.version>0.1.1</brotli-codec.version>
100100
<mockito.version>5.23.0</mockito.version>
101101
<net.openhft.version>0.27ea1</net.openhft.version>
102+
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
102103
<exec-maven-plugin.version>3.6.3</exec-maven-plugin.version>
104+
<protoc-jar-maven-plugin.version>3.11.4</protoc-jar-maven-plugin.version>
103105
<jts.version>1.20.0</jts.version>
104106

105107
<!-- parquet-cli dependencies -->
@@ -370,6 +372,31 @@
370372
</execution>
371373
</executions>
372374
</plugin>
375+
<plugin>
376+
<groupId>org.codehaus.mojo</groupId>
377+
<artifactId>build-helper-maven-plugin</artifactId>
378+
<version>${build-helper-maven-plugin.version}</version>
379+
</plugin>
380+
<plugin>
381+
<groupId>org.codehaus.mojo</groupId>
382+
<artifactId>exec-maven-plugin</artifactId>
383+
<version>${exec-maven-plugin.version}</version>
384+
</plugin>
385+
<plugin>
386+
<groupId>org.apache.thrift</groupId>
387+
<artifactId>thrift-maven-plugin</artifactId>
388+
<version>${thrift-maven-plugin.version}</version>
389+
</plugin>
390+
<plugin>
391+
<groupId>org.apache.avro</groupId>
392+
<artifactId>avro-maven-plugin</artifactId>
393+
<version>${avro.version}</version>
394+
</plugin>
395+
<plugin>
396+
<groupId>com.github.os72</groupId>
397+
<artifactId>protoc-jar-maven-plugin</artifactId>
398+
<version>${protoc-jar-maven-plugin.version}</version>
399+
</plugin>
373400
</plugins>
374401
</pluginManagement>
375402
<plugins>

0 commit comments

Comments
 (0)