|
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> |
|
283 | 282 | <enabled>false</enabled> |
284 | 283 | </snapshots> |
285 | 284 | </repository> |
286 | | - <!-- TODO: This can be deleted after Spark 1.4 is posted --> |
287 | | - <repository> |
288 | | - <id>spark-1.4-staging</id> |
289 | | - <name>Spark 1.4 RC4 Staging Repository</name> |
290 | | - <url>https://repository.apache.org/content/repositories/orgapachespark-1112</url> |
291 | | - <releases> |
292 | | - <enabled>true</enabled> |
293 | | - </releases> |
294 | | - <snapshots> |
295 | | - <enabled>false</enabled> |
296 | | - </snapshots> |
297 | | - </repository> |
298 | 285 | </repositories> |
299 | 286 | <pluginRepositories> |
300 | 287 | <pluginRepository> |
|
318 | 305 | <artifactId>unused</artifactId> |
319 | 306 | <version>1.0.0</version> |
320 | 307 | </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 | 308 | <!-- |
333 | 309 | This is needed by the scalatest plugin, and so is declared here to be available in |
334 | 310 | all child modules, just as scalatest is run in all children |
|
1412 | 1388 | <artifactId>maven-deploy-plugin</artifactId> |
1413 | 1389 | <version>2.8.2</version> |
1414 | 1390 | </plugin> |
| 1391 | + <!-- This plugin's configuration is used to store Eclipse m2e settings only. --> |
| 1392 | + <!-- It has no influence on the Maven build itself. --> |
| 1393 | + <plugin> |
| 1394 | + <groupId>org.eclipse.m2e</groupId> |
| 1395 | + <artifactId>lifecycle-mapping</artifactId> |
| 1396 | + <version>1.0.0</version> |
| 1397 | + <configuration> |
| 1398 | + <lifecycleMappingMetadata> |
| 1399 | + <pluginExecutions> |
| 1400 | + <pluginExecution> |
| 1401 | + <pluginExecutionFilter> |
| 1402 | + <groupId>org.apache.maven.plugins</groupId> |
| 1403 | + <artifactId>maven-dependency-plugin</artifactId> |
| 1404 | + <versionRange>[2.8,)</versionRange> |
| 1405 | + <goals> |
| 1406 | + <goal>build-classpath</goal> |
| 1407 | + </goals> |
| 1408 | + </pluginExecutionFilter> |
| 1409 | + <action> |
| 1410 | + <ignore></ignore> |
| 1411 | + </action> |
| 1412 | + </pluginExecution> |
| 1413 | + <pluginExecution> |
| 1414 | + <pluginExecutionFilter> |
| 1415 | + <groupId>org.apache.maven.plugins</groupId> |
| 1416 | + <artifactId>maven-jar-plugin</artifactId> |
| 1417 | + <versionRange>[2.6,)</versionRange> |
| 1418 | + <goals> |
| 1419 | + <goal>test-jar</goal> |
| 1420 | + </goals> |
| 1421 | + </pluginExecutionFilter> |
| 1422 | + <action> |
| 1423 | + <ignore></ignore> |
| 1424 | + </action> |
| 1425 | + </pluginExecution> |
| 1426 | + <pluginExecution> |
| 1427 | + <pluginExecutionFilter> |
| 1428 | + <groupId>org.apache.maven.plugins</groupId> |
| 1429 | + <artifactId>maven-antrun-plugin</artifactId> |
| 1430 | + <versionRange>[1.8,)</versionRange> |
| 1431 | + <goals> |
| 1432 | + <goal>run</goal> |
| 1433 | + </goals> |
| 1434 | + </pluginExecutionFilter> |
| 1435 | + <action> |
| 1436 | + <ignore></ignore> |
| 1437 | + </action> |
| 1438 | + </pluginExecution> |
| 1439 | + </pluginExecutions> |
| 1440 | + </lifecycleMappingMetadata> |
| 1441 | + </configuration> |
| 1442 | + </plugin> |
1415 | 1443 | </plugins> |
1416 | 1444 | </pluginManagement> |
1417 | 1445 |
|
|
1429 | 1457 | </goals> |
1430 | 1458 | <configuration> |
1431 | 1459 | <includeScope>test</includeScope> |
1432 | | - <outputFile>${test_classpath_file}</outputFile> |
| 1460 | + <outputProperty>test_classpath</outputProperty> |
1433 | 1461 | </configuration> |
1434 | 1462 | </execution> |
1435 | 1463 | </executions> |
1436 | 1464 | </plugin> |
1437 | 1465 |
|
1438 | | - <!-- This plugin reads a file into maven property. And it lets us write groovy !! --> |
1439 | | - <plugin> |
1440 | | - <groupId>org.codehaus.gmavenplus</groupId> |
1441 | | - <artifactId>gmavenplus-plugin</artifactId> |
1442 | | - <version>1.5</version> |
1443 | | - <executions> |
1444 | | - <execution> |
1445 | | - <phase>process-test-classes</phase> |
1446 | | - <goals> |
1447 | | - <goal>execute</goal> |
1448 | | - </goals> |
1449 | | - <configuration> |
1450 | | - <scripts> |
1451 | | - <script><![CDATA[ |
1452 | | - def file = new File(project.properties.test_classpath_file) |
1453 | | - project.properties.test_classpath = file.getText().split().join(":") |
1454 | | - ]]></script> |
1455 | | - </scripts> |
1456 | | - </configuration> |
1457 | | - </execution> |
1458 | | - </executions> |
1459 | | - </plugin> |
1460 | 1466 | <!-- |
1461 | 1467 | The shade plug-in is used here to create effective pom's (see SPARK-3812), and also |
1462 | 1468 | remove references from the shaded libraries from artifacts published by Spark. |
|
1523 | 1529 | <groupId>org.apache.maven.plugins</groupId> |
1524 | 1530 | <artifactId>maven-enforcer-plugin</artifactId> |
1525 | 1531 | </plugin> |
1526 | | - <plugin> |
1527 | | - <groupId>org.codehaus.mojo</groupId> |
1528 | | - <artifactId>build-helper-maven-plugin</artifactId> |
1529 | | - <executions> |
1530 | | - <execution> |
1531 | | - <id>add-scala-sources</id> |
1532 | | - <phase>generate-sources</phase> |
1533 | | - <goals> |
1534 | | - <goal>add-source</goal> |
1535 | | - </goals> |
1536 | | - <configuration> |
1537 | | - <sources> |
1538 | | - <source>src/main/scala</source> |
1539 | | - </sources> |
1540 | | - </configuration> |
1541 | | - </execution> |
1542 | | - <execution> |
1543 | | - <id>add-scala-test-sources</id> |
1544 | | - <phase>generate-test-sources</phase> |
1545 | | - <goals> |
1546 | | - <goal>add-test-source</goal> |
1547 | | - </goals> |
1548 | | - <configuration> |
1549 | | - <sources> |
1550 | | - <source>src/test/scala</source> |
1551 | | - </sources> |
1552 | | - </configuration> |
1553 | | - </execution> |
1554 | | - </executions> |
1555 | | - </plugin> |
1556 | 1532 | <plugin> |
1557 | 1533 | <groupId>net.alchim31.maven</groupId> |
1558 | 1534 | <artifactId>scala-maven-plugin</artifactId> |
|
0 commit comments