Skip to content

Commit 7d0fa6f

Browse files
committed
Add back an implicit dependency; add comments
1 parent a6222b0 commit 7d0fa6f

File tree

4 files changed

+19
-50
lines changed

4 files changed

+19
-50
lines changed

parquet-column/pom.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -88,30 +88,12 @@
8888
<version>0.7.2</version>
8989
<scope>test</scope>
9090
</dependency>
91-
<dependency>
92-
<groupId>com.h2database</groupId>
93-
<artifactId>h2</artifactId>
94-
<version>2.3.232</version>
95-
<scope>test</scope>
96-
</dependency>
97-
<dependency>
98-
<groupId>org.slf4j</groupId>
99-
<artifactId>slf4j-simple</artifactId>
100-
<version>${slf4j.version}</version>
101-
<scope>test</scope>
102-
</dependency>
10391
<dependency>
10492
<groupId>org.mockito</groupId>
10593
<artifactId>mockito-all</artifactId>
10694
<version>${mockito.version}</version>
10795
<scope>test</scope>
10896
</dependency>
109-
<dependency>
110-
<groupId>com.google.guava</groupId>
111-
<artifactId>guava</artifactId>
112-
<version>${guava.version}</version>
113-
<scope>test</scope>
114-
</dependency>
11597
<dependency>
11698
<groupId>org.apache.commons</groupId>
11799
<artifactId>commons-lang3</artifactId>

parquet-hadoop/pom.xml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<dependency>
6262
<groupId>org.apache.hadoop</groupId>
6363
<artifactId>hadoop-client</artifactId>
64-
<scope>provided</scope>
64+
<scope>test</scope>
6565
</dependency>
6666
<dependency>
6767
<groupId>org.apache.hadoop</groupId>
@@ -107,12 +107,6 @@
107107
</exclusion>
108108
</exclusions>
109109
</dependency>
110-
<dependency>
111-
<groupId>org.apache.parquet</groupId>
112-
<artifactId>parquet-jackson</artifactId>
113-
<version>${project.version}</version>
114-
<scope>runtime</scope>
115-
</dependency>
116110
<dependency>
117111
<groupId>${jackson.groupId}</groupId>
118112
<artifactId>jackson-core</artifactId>
@@ -174,23 +168,12 @@
174168
<version>${mockito.version}</version>
175169
<scope>test</scope>
176170
</dependency>
177-
<dependency>
178-
<groupId>org.slf4j</groupId>
179-
<artifactId>slf4j-simple</artifactId>
180-
<version>${slf4j.version}</version>
181-
<scope>test</scope>
182-
</dependency>
183171
<dependency>
184172
<groupId>com.squareup.okhttp3</groupId>
185173
<artifactId>okhttp</artifactId>
186174
<version>4.12.0</version>
187175
<scope>test</scope>
188176
</dependency>
189-
<dependency>
190-
<groupId>org.slf4j</groupId>
191-
<artifactId>slf4j-api</artifactId>
192-
<version>${slf4j.version}</version>
193-
</dependency>
194177
<dependency>
195178
<groupId>commons-io</groupId>
196179
<artifactId>commons-io</artifactId>
@@ -209,6 +192,11 @@
209192
<version>${commons-lang3.version}</version>
210193
<scope>test</scope>
211194
</dependency>
195+
<dependency>
196+
<groupId>org.slf4j</groupId>
197+
<artifactId>slf4j-api</artifactId>
198+
<version>${slf4j.version}</version>
199+
</dependency>
212200
</dependencies>
213201

214202
<build>

parquet-protobuf/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,6 @@
105105
</exclusion>
106106
</exclusions>
107107
</dependency>
108-
<dependency>
109-
<groupId>org.apache.hadoop</groupId>
110-
<artifactId>hadoop-client</artifactId>
111-
<scope>provided</scope>
112-
</dependency>
113108
<dependency>
114109
<groupId>org.apache.hadoop</groupId>
115110
<artifactId>hadoop-mapreduce-client-core</artifactId>
@@ -125,12 +120,6 @@
125120
<artifactId>slf4j-api</artifactId>
126121
<version>${slf4j.version}</version>
127122
</dependency>
128-
<dependency>
129-
<groupId>org.slf4j</groupId>
130-
<artifactId>slf4j-simple</artifactId>
131-
<version>${slf4j.version}</version>
132-
<scope>test</scope>
133-
</dependency>
134123
</dependencies>
135124

136125
<dependencyManagement>

parquet-thrift/pom.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
<artifactId>parquet-common</artifactId>
5353
<version>${project.version}</version>
5454
</dependency>
55+
<!-- Several of these hadoop dependencies will show up as "unused" in dependnency analysis
56+
but they are needed at runtime for several tests -->
5557
<dependency>
5658
<groupId>org.apache.hadoop</groupId>
5759
<artifactId>hadoop-client</artifactId>
@@ -65,7 +67,15 @@
6567
<dependency>
6668
<groupId>org.apache.hadoop</groupId>
6769
<artifactId>hadoop-common</artifactId>
68-
<scope>provided</scope>
70+
<scope>test</scope>
71+
</dependency>
72+
<!-- Guava is a dependency of hadoop-common, but scoped to compile. We need to
73+
explicity declare it as a test dependency. -->
74+
<dependency>
75+
<groupId>com.google.guava</groupId>
76+
<artifactId>guava</artifactId>
77+
<version>${guava.version}</version>
78+
<scope>test</scope>
6979
</dependency>
7080
<dependency>
7181
<groupId>com.twitter.elephantbird</groupId>
@@ -137,12 +147,12 @@
137147
<artifactId>slf4j-api</artifactId>
138148
<version>${slf4j.version}</version>
139149
</dependency>
140-
<dependency>
150+
<!-- dependency>
141151
<groupId>org.slf4j</groupId>
142152
<artifactId>slf4j-simple</artifactId>
143153
<version>${slf4j.version}</version>
144154
<scope>test</scope>
145-
</dependency>
155+
</dependency-->
146156
<dependency>
147157
<groupId>org.apache.parquet</groupId>
148158
<artifactId>parquet-hadoop</artifactId>

0 commit comments

Comments
 (0)