You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Martin Kleppmann (JIRA)" <ji...@apache.org> on 2014/12/01 12:49:12 UTC

[jira] [Commented] (SAMZA-485) hello-samza build fails due to missing dependency: org.apache.samza:samza-serializers_2.10:jar:0.8.0-SNAPSHOT

    [ https://issues.apache.org/jira/browse/SAMZA-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229696#comment-14229696 ] 

Martin Kleppmann commented on SAMZA-485:
----------------------------------------

Hi Josh,

Only official releases of Samza are available in the Maven repositories. To build the "latest" version of hello-samza you need to first compile Samza from source:

{noformat}
git clone http://git-wip-us.apache.org/repos/asf/incubator-samza.git samza
cd samza
./gradlew clean build publishToMavenLocal
{noformat}

We should add that to the instructions. I thought we used to have it in the hello-samza docs, but it seems to have got lost.

> hello-samza build fails due to missing dependency: org.apache.samza:samza-serializers_2.10:jar:0.8.0-SNAPSHOT
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: SAMZA-485
>                 URL: https://issues.apache.org/jira/browse/SAMZA-485
>             Project: Samza
>          Issue Type: Bug
>          Components: hello-samza
>            Reporter: josh gruenberg
>
> Following the steps from the hello-samza walkthrough (http://samza.incubator.apache.org/startup/hello-samza/latest/) leads to a broken build on 'latest' (the master branch does build):
> {quote}
> $ git checkout latest
> Switched to branch 'latest'
> Your branch is up-to-date with 'origin/latest'.
> $ mvn package
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Samza Example 0.8.0
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for org.apache.samza:samza-serializers_2.10:jar:0.8.0-SNAPSHOT is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.573s
> [INFO] Finished at: Fri Nov 28 13:18:47 PST 2014
> [INFO] Final Memory: 8M/245M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project hello-samza: Could not resolve dependencies for project org.apache.samza:hello-samza:jar:0.8.0: Failure to find org.apache.samza:samza-serializers_2.10:jar:0.8.0-SNAPSHOT in file:///Users/josh/.m2/repository was cached in the local repository, resolution will not be reattempted until the update interval of my-local-repo has elapsed or updates are forced -> [Help 1]
> {quote}



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