|
152 | 152 | <aws.kinesis.client.version>1.2.1</aws.kinesis.client.version> |
153 | 153 | <commons.httpclient.version>4.3.2</commons.httpclient.version> |
154 | 154 | <commons.math3.version>3.4.1</commons.math3.version> |
155 | | - <test_classpath_file>${project.build.directory}/spark-test-classpath.txt</test_classpath_file> |
156 | 155 | <scala.version>2.10.4</scala.version> |
157 | 156 | <scala.binary.version>2.10</scala.binary.version> |
158 | 157 | <jline.version>${scala.version}</jline.version> |
|
318 | 317 | <artifactId>unused</artifactId> |
319 | 318 | <version>1.0.0</version> |
320 | 319 | </dependency> |
321 | | - <!-- |
322 | | - This depndency has been added to provided scope as it is needed for executing build |
323 | | - specific groovy scripts using gmaven+ and not required for downstream project building |
324 | | - with spark. |
325 | | - --> |
326 | | - <dependency> |
327 | | - <groupId>org.codehaus.groovy</groupId> |
328 | | - <artifactId>groovy-all</artifactId> |
329 | | - <version>2.3.7</version> |
330 | | - <scope>provided</scope> |
331 | | - </dependency> |
332 | 320 | <!-- |
333 | 321 | This is needed by the scalatest plugin, and so is declared here to be available in |
334 | 322 | all child modules, just as scalatest is run in all children |
|
1423 | 1411 | </goals> |
1424 | 1412 | <configuration> |
1425 | 1413 | <includeScope>test</includeScope> |
1426 | | - <outputFile>${test_classpath_file}</outputFile> |
| 1414 | + <outputProperty>test_classpath</outputProperty> |
1427 | 1415 | </configuration> |
1428 | 1416 | </execution> |
1429 | 1417 | </executions> |
1430 | 1418 | </plugin> |
1431 | 1419 |
|
1432 | | - <!-- This plugin reads a file into maven property. And it lets us write groovy !! --> |
1433 | | - <plugin> |
1434 | | - <groupId>org.codehaus.gmavenplus</groupId> |
1435 | | - <artifactId>gmavenplus-plugin</artifactId> |
1436 | | - <version>1.5</version> |
1437 | | - <executions> |
1438 | | - <execution> |
1439 | | - <phase>process-test-classes</phase> |
1440 | | - <goals> |
1441 | | - <goal>execute</goal> |
1442 | | - </goals> |
1443 | | - <configuration> |
1444 | | - <scripts> |
1445 | | - <script><![CDATA[ |
1446 | | - def file = new File(project.properties.test_classpath_file) |
1447 | | - project.properties.test_classpath = file.getText().split().join(":") |
1448 | | - ]]></script> |
1449 | | - </scripts> |
1450 | | - </configuration> |
1451 | | - </execution> |
1452 | | - </executions> |
1453 | | - </plugin> |
1454 | 1420 | <!-- |
1455 | 1421 | The shade plug-in is used here to create effective pom's (see SPARK-3812), and also |
1456 | 1422 | remove references from the shaded libraries from artifacts published by Spark. |
|
0 commit comments