Skip to content

Commit 685f28b

Browse files
committed
Revert: [SPARK-17807][CORE] split test-tags into test-JAR
1 parent 1311448 commit 685f28b

File tree

30 files changed

+9
-272
lines changed

30 files changed

+9
-272
lines changed

common/network-common/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,6 @@
9191
<groupId>org.apache.spark</groupId>
9292
<artifactId>spark-tags_${scala.binary.version}</artifactId>
9393
</dependency>
94-
95-
<!--
96-
This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
97-
them will yield errors.
98-
-->
99-
<dependency>
100-
<groupId>org.apache.spark</groupId>
101-
<artifactId>spark-tags_${scala.binary.version}</artifactId>
102-
<type>test-jar</type>
103-
<scope>test</scope>
104-
</dependency>
105-
10694
<dependency>
10795
<groupId>org.mockito</groupId>
10896
<artifactId>mockito-core</artifactId>

common/network-shuffle/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,6 @@
7070
<groupId>org.apache.spark</groupId>
7171
<artifactId>spark-tags_${scala.binary.version}</artifactId>
7272
</dependency>
73-
74-
<!--
75-
This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
76-
them will yield errors.
77-
-->
78-
<dependency>
79-
<groupId>org.apache.spark</groupId>
80-
<artifactId>spark-tags_${scala.binary.version}</artifactId>
81-
<type>test-jar</type>
82-
<scope>test</scope>
83-
</dependency>
84-
8573
<dependency>
8674
<groupId>log4j</groupId>
8775
<artifactId>log4j</artifactId>

common/network-yarn/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,6 @@
5050
<artifactId>spark-tags_${scala.binary.version}</artifactId>
5151
</dependency>
5252

53-
<!--
54-
This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
55-
them will yield errors.
56-
-->
57-
<dependency>
58-
<groupId>org.apache.spark</groupId>
59-
<artifactId>spark-tags_${scala.binary.version}</artifactId>
60-
<type>test-jar</type>
61-
<scope>test</scope>
62-
</dependency>
63-
6453
<!-- Provided dependencies -->
6554
<dependency>
6655
<groupId>org.apache.hadoop</groupId>

common/sketch/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@
3939
<groupId>org.apache.spark</groupId>
4040
<artifactId>spark-tags_${scala.binary.version}</artifactId>
4141
</dependency>
42-
43-
<!--
44-
This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
45-
them will yield errors.
46-
-->
47-
<dependency>
48-
<groupId>org.apache.spark</groupId>
49-
<artifactId>spark-tags_${scala.binary.version}</artifactId>
50-
<type>test-jar</type>
51-
<scope>test</scope>
52-
</dependency>
53-
5442
</dependencies>
5543

5644
<build>

common/tags/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
<sbt.project.name>tags</sbt.project.name>
3535
</properties>
3636

37+
<dependencies>
38+
<dependency>
39+
<groupId>org.scalatest</groupId>
40+
<artifactId>scalatest_${scala.binary.version}</artifactId>
41+
<scope>compile</scope>
42+
</dependency>
43+
</dependencies>
44+
3745
<build>
3846
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
3947
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>

common/unsafe/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@
3939
<groupId>org.apache.spark</groupId>
4040
<artifactId>spark-tags_${scala.binary.version}</artifactId>
4141
</dependency>
42-
43-
<!--
44-
This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
45-
them will yield errors.
46-
-->
47-
<dependency>
48-
<groupId>org.apache.spark</groupId>
49-
<artifactId>spark-tags_${scala.binary.version}</artifactId>
50-
<type>test-jar</type>
51-
<scope>test</scope>
52-
</dependency>
53-
5442
<dependency>
5543
<groupId>com.twitter</groupId>
5644
<artifactId>chill_${scala.binary.version}</artifactId>

core/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -337,18 +337,6 @@
337337
<groupId>org.apache.spark</groupId>
338338
<artifactId>spark-tags_${scala.binary.version}</artifactId>
339339
</dependency>
340-
341-
<!--
342-
This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
343-
them will yield errors.
344-
-->
345-
<dependency>
346-
<groupId>org.apache.spark</groupId>
347-
<artifactId>spark-tags_${scala.binary.version}</artifactId>
348-
<type>test-jar</type>
349-
<scope>test</scope>
350-
</dependency>
351-
352340
<dependency>
353341
<groupId>org.apache.commons</groupId>
354342
<artifactId>commons-crypto</artifactId>

0 commit comments

Comments
 (0)