You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Robin Anil <ro...@gmail.com> on 2013/04/12 18:22:15 UTC

Compile error on Macbook pro

Sorry for the spam. Looking back Lance posted something similar a while ago
but there was no response on that email. I tried it with both maven2 and
maven3. Anyone know why this is happening.

Things I have done so far
1) Try two different versions on maven
2) remove ~/.m2
3) purse repository using mvn command

I am running
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)


[INFO] Building Mahout Core
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[WARNING] POM for 'asm:asm:pom:3.1:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 640 source files to
/Users/robinanil/backup/mahout/core/target/classes
[WARNING] error: error reading
/Users/robinanil/.m2/repository/asm/asm/3.1/asm-3.1.jar; cannot read zip
file
[WARNING] Note: Some input files use or override a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 231 source files to
/Users/robinanil/backup/mahout/core/target/test-classes
[WARNING] error: error reading
/Users/robinanil/.m2/repository/asm/asm/3.1/asm-3.1.jar; cannot read zip
file
[WARNING] Note: Some input files use or override a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/Users/robinanil/backup/mahout/core/target/mahout-core-0.8-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar:
/Users/robinanil/backup/mahout/core/target/mahout-core-0.8-SNAPSHOT-tests.jar
[INFO] [assembly:single {execution: job}]
[INFO] Reading assembly descriptor: src/main/assembly/job.xml
[WARNING] POM for 'asm:asm:pom:3.1:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to create assembly: Error creating assembly archive job:
error in opening zip file

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 30 seconds
[INFO] Finished at: Fri Apr 12 11:16:03 CDT 2013
[INFO] Final Memory: 64M/123M
[INFO]
------------------------------------------------------------------------

Re: Compile error on Macbook pro

Posted by Robin Anil <ro...@gmail.com>.
Removing everything and reinstalling maven3 seems to have done the trick.

Robin Anil | Software Engineer | +1 312 869 2602 | Google Inc.


On Fri, Apr 12, 2013 at 11:26 AM, Robin Anil <ro...@gmail.com> wrote:

> The downloaded asm pom file is showing the following. Anyone has any clue
> what is happening?
>
> <html>
> <head><title>301 Moved Permanently</title></head>
> <body bgcolor="white">
> <center><h1>301 Moved Permanently</h1></center>
> <hr><center>nginx/0.6.39</center>
> </body>
> </html>
>
> Robin Anil | Software Engineer | +1 312 869 2602 | Google Inc.
>
>
> On Fri, Apr 12, 2013 at 11:22 AM, Robin Anil <ro...@gmail.com> wrote:
>
>> command I am running
>>
>> mvn install -DskipTests=true
>>
>
>

Re: Compile error on Macbook pro

Posted by Robin Anil <ro...@gmail.com>.
The downloaded asm pom file is showing the following. Anyone has any clue
what is happening?

<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/0.6.39</center>
</body>
</html>

Robin Anil | Software Engineer | +1 312 869 2602 | Google Inc.


On Fri, Apr 12, 2013 at 11:22 AM, Robin Anil <ro...@gmail.com> wrote:

> command I am running
>
> mvn install -DskipTests=true
>

Re: Compile error on Macbook pro

Posted by Robin Anil <ro...@gmail.com>.
command I am running

mvn install -DskipTests=true