giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Emre Aladağ <emre.ala...@agmlab.com>
Subject Re: mvn changes PageRankVertex.java
Date Tue, 09 Apr 2013 08:05:56 GMT
Hi,

I fixed the modified file problem I mentioned in my previous post with a 
trick modifying the line /* to /** and it didn't happen.

Now I'm getting the following error:

[ERROR] Failed to execute goal on project giraph-examples: Could not 
resolve dependencies for project 
org.apache.giraph:giraph-examples:jar:0.2-SNAPSHOT: Failure to find 
org.apache.giraph:giraph-core:jar:tests:0.2-SNAPSHOT in 
http://repo1.maven.org/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of central 
has elapsed or updates are forced -> [Help 1]

Seems like giraph packages are not available on any maven repos on the 
web. I removed giraph-examples from the modules in pom.xml now I got

[ERROR] Failed to execute goal on project giraph-accumulo: Could not 
resolve dependencies for project 
org.apache.giraph:giraph-accumulo:jar:0.2-SNAPSHOT: Failure to find 
org.apache.giraph:giraph-core:jar:tests:0.2-SNAPSHOT in 
http://repo1.maven.org/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of central 
has elapsed or updates are forced -> [Help 1]


What can I do?

On 04/08/2013 04:00 PM, Ahmet Emre Aladağ wrote:
> Hi,
>
> I'm trying to build giraph. I start hadoop 1.1.2 and run "mvn test" on 
> a clean git clone. Then I get errors.
>
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile 
> (default-compile) on project giraph-core: Compilation failure: 
> Compilation failure:
> [ERROR] 
> /home/emre/git/giraph/giraph-core/target/munged/main/org/apache/giraph/benchmark/PageRankVertex.java:[1,1]

> class, interface, or enum expected
> [ERROR] 
> /home/emre/git/giraph/giraph-core/target/munged/main/org/apache/giraph/benchmark/PageRankVertex.java:[10,16]

> class, interface, or enum expected
> [ERROR] -> [Help 1]
>
> When I looked at this file, I see that mvn causes a change on the 
> comments like below. Is this a bug or am I doing something wrong?
>
> [emre@localhost giraph]$ git diff
> diff --git 
> a/giraph-core/src/main/java/org/apache/giraph/benchmark/PageRankVertex.java 
> b/giraph-core/src/main/java/org/apache/giraph/benchmark/PageRankVertex.java 
>
> index 9c3b9f5..d9dbe24 100644
> --- 
> a/giraph-core/src/main/java/org/apache/giraph/benchmark/PageRankVertex.java
> +++ 
> b/giraph-core/src/main/java/org/apache/giraph/benchmark/PageRankVertex.java
> @@ -1,4 +1,7 @@
> -/*
> +/
> +
> +*
> +
>   * Licensed to the Apache Software Foundation (ASF) under one
>
>


Mime
View raw message