You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Micah Whitacre (JIRA)" <ji...@apache.org> on 2016/02/12 04:57:18 UTC

[jira] [Updated] (CRUNCH-594) Missing lambda dependency when building with Java 7

     [ https://issues.apache.org/jira/browse/CRUNCH-594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Micah Whitacre updated CRUNCH-594:
----------------------------------
    Attachment: CRUNCH-594.patch

Here's a patch that should make crunch-lambda included only when building under Java 8.

> Missing lambda dependency when building with Java 7
> ---------------------------------------------------
>
>                 Key: CRUNCH-594
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-594
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Micah Whitacre
>            Assignee: Micah Whitacre
>             Fix For: 0.14.0
>
>         Attachments: CRUNCH-594.patch
>
>
> Building with Java 7 and a clean maven repo causes the build to fail 
> {noformat}
> [INFO] Apache Crunch for Spark ............................ SUCCESS [ 12.923 s]
> [INFO] Apache Crunch Hive ................................. SUCCESS [  1.192 s]
> [INFO] Apache Crunch Distribution ......................... FAILURE [  1.174 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 01:16 min
> [INFO] Finished at: 2016-02-11T21:50:22-06:00
> [INFO] Final Memory: 107M/801M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project crunch-dist: Could not resolve dependencies for project org.apache.crunch:crunch-dist:pom:0.14.0-SNAPSHOT: Could not find artifact org.apache.crunch:crunch-lambda:jar:0.14.0-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
> {noformat}
> Specifically since the lambda project doesn't build on that profile the dependency is not available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)