I tried to find a way around it but did not succeed. Also not sure if it's a Gora issue or a general maven issue. When running mvn with -X it's possible to get more output. I think it's best that someone more skilled with maven takes a look at it.
On Fri, May 4, 2012 at 8:26 PM, Ferdy Galema <[email protected]>wrote: > You are right, it happens here too when cleaning the m2 folder. > > To be continued... > > > On Fri, May 4, 2012 at 5:07 PM, Renato Marroquín Mogrovejo < > [email protected]> wrote: > >> Hi all, >> >> Happy to have started the first user thread, and hope to be able to >> close it soon (: >> I did remove the ~/.m2 but I still get the same error. I am starting >> to think that maybe it's the opposite guys, you already have all the >> dependencies so when you compile gora, it doesn't need them. The error >> I am getting is because asm. >> >> {code} >> Downloading: >> http://people.apache.org/~rawson/repo//asm/asm/3.1/asm-3.1.jar >> [INFO] Unable to find resource >> 'com.google.code.findbugs:jsr305:jar:1.3.9' in repository codehaus >> (http://repository.codehaus.org/) >> Downloading: >> http://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar >> >> [INFO] Unable to find resource 'asm:asm:jar:3.1' in repository >> temp-thrift (http://people.apache.org/~rawson/repo/) >> Downloading: http://download.java.net/maven/2//asm/asm/3.1/asm-3.1.jar >> Downloading: >> http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar >> [INFO] Unable to find resource 'asm:asm:jar:3.1' in repository >> java.net (http://download.java.net/maven/2/) >> Downloading: http://repository.codehaus.org//asm/asm/3.1/asm-3.1.jar >> [INFO] Unable to find resource 'asm:asm:jar:3.1' in repository >> codehaus (http://repository.codehaus.org/) >> Downloading: >> http://maven.glassfish.org/content/groups/glassfish/asm/asm/3.1/asm-3.1.jar >> 185b<http://maven.glassfish.org/content/groups/glassfish/asm/asm/3.1/asm-3.1.jar185b>downloaded >> (asm-3.1.jar) >> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote = '<html> >> <head><title>301' - RETRYING >> Downloading: >> http://maven.glassfish.org/content/groups/glassfish/asm/asm/3.1/asm-3.1.jar >> 185b<http://maven.glassfish.org/content/groups/glassfish/asm/asm/3.1/asm-3.1.jar185b>downloaded >> (asm-3.1.jar) >> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote = '<html> >> <head><title>301' - IGNORING >> Downloading: >> http://people.apache.org/~rawson/repo//org/apache/thrift/thrift/0.2.0/thrift-0.2.0.jar >> >> Its dependencies (if any) will NOT be available to the current build. >> [INFO] [compiler:compile {execution: default-compile}] >> [INFO] Compiling 9 source files to >> /home/rmogrovejo/workspace/gora/gora-hbase/target/classes >> [INFO] ------------------------------------------------------------- >> [ERROR] COMPILATION ERROR : >> [INFO] ------------------------------------------------------------- >> [ERROR] error: error reading >> /home/rmogrovejo/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in >> opening zip file >> [INFO] 1 error >> [INFO] ------------------------------------------------------------- >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Compilation failure >> error: error reading >> /home/rmogrovejo/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in >> opening zip file >> >> {\code} >> >> I tried the urls where I am supposed to get that jar, but they don't >> seem to have the specific jar. I think I will try with [1] and then >> see if that clears the problem, Any other tips? >> Thanks again for the help guys! >> >> >> Renato M. >> >> [1] >> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/ow2/jonas/asm/asm/3.1/asm-3.1.jar >> >> 2012/5/4 Lewis John Mcgibbney <[email protected]>: >> > Hi Renato, >> > >> > Yeah I can only back up what Ferdy advised about possibly removing >> > your ~/.m2 cache and trying again. >> > >> > Please let us know how you get on. >> > >> > On Thu, May 3, 2012 at 9:01 PM, Ferdy Galema <[email protected]> >> wrote: >> >> Current trunk builds fine at my workstation. Not really sure what >> causes >> >> your problem. Did you try cleaning local maven cache folders? That's >> ~/.m2 >> >> >> >> Oh and congrats about opening the first 'real' user thread ;) >> >> >> >> >> >> On Thu, May 3, 2012 at 3:50 PM, Renato Marroquín Mogrovejo >> >> <[email protected]> wrote: >> >>> >> >>> Thanks for the reply Henry, but I keep getting errors >> >>> What I did is that I downloaded a fresh copy of gora through git and >> >>> tried again. Now I keep on getting errors about asm-3.1.pom saying >> >>> that it hasn't a valid checksum from the places its supposed to >> >>> download it. >> >>> >> >>> [INFO] >> >>> >> ------------------------------------------------------------------------ >> >>> [INFO] Building Apache Gora :: Hbase >> >>> [INFO] task-segment: [compile] >> >>> [INFO] >> >>> >> ------------------------------------------------------------------------ >> >>> [INFO] [build-helper:add-source {execution: default}] >> >>> [INFO] Source directory: >> >>> /home/rmogrovejo/workspace/gora/gora-hbase/src/examples/java added. >> >>> [INFO] [remote-resources:process {execution: default}] >> >>> Downloading: >> >>> http://people.apache.org/~rawson/repo//asm/asm/3.1/asm-3.1.pom >> >>> [INFO] Unable to find resource 'asm:asm:pom:3.1' in repository >> >>> temp-thrift (http://people.apache.org/~rawson/repo/) >> >>> Downloading: >> http://download.java.net/maven/2//asm/asm/3.1/asm-3.1.pom >> >>> [INFO] Unable to find resource 'asm:asm:pom:3.1' in repository >> >>> java.net (http://download.java.net/maven/2/) >> >>> Downloading: http://repository.codehaus.org//asm/asm/3.1/asm-3.1.pom >> >>> [INFO] Unable to find resource 'asm:asm:pom:3.1' in repository >> >>> codehaus (http://repository.codehaus.org/) >> >>> Downloading: >> >>> >> http://maven.glassfish.org/content/groups/glassfish/asm/asm/3.1/asm-3.1.pom >> >>> 185b downloaded (asm-3.1.pom) >> >>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> >>> '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote = '<html> >> >>> <head><title>301' - RETRYING >> >>> Downloading: >> >>> >> http://maven.glassfish.org/content/groups/glassfish/asm/asm/3.1/asm-3.1.pom >> >>> 185b downloaded (asm-3.1.pom) >> >>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> >>> '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote = '<html> >> >>> <head><title>301' - IGNORING >> >>> [WARNING] POM for 'asm:asm:pom:3.1:compile' is invalid. >> >>> >> >>> Its dependencies (if any) will NOT be available to the current build. >> >>> Downloading: >> >>> http://people.apache.org/~rawson/repo//asm/asm/3.1/asm-3.1.jar >> >>> [INFO] Unable to find resource 'asm:asm:jar:3.1' in repository >> >>> temp-thrift (http://people.apache.org/~rawson/repo/) >> >>> Downloading: >> http://download.java.net/maven/2//asm/asm/3.1/asm-3.1.jar >> >>> [INFO] Unable to find resource 'asm:asm:jar:3.1' in repository >> >>> java.net (http://download.java.net/maven/2/) >> >>> Downloading: http://repository.codehaus.org//asm/asm/3.1/asm-3.1.jar >> >>> [INFO] Unable to find resource 'asm:asm:jar:3.1' in repository >> >>> codehaus (http://repository.codehaus.org/) >> >>> Downloading: >> >>> >> http://maven.glassfish.org/content/groups/glassfish/asm/asm/3.1/asm-3.1.jar >> >>> 185b downloaded (asm-3.1.jar) >> >>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> >>> '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote = '<html> >> >>> <head><title>301' - RETRYING >> >>> Downloading: >> >>> >> http://maven.glassfish.org/content/groups/glassfish/asm/asm/3.1/asm-3.1.jar >> >>> 185b downloaded (asm-3.1.jar) >> >>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >> >>> '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote = '<html> >> >>> <head><title>301' - IGNORING >> >>> [WARNING] Invalid project model for artifact [asm:asm:3.1]. It will be >> >>> ignored by the remote resources Mojo. >> >>> [debug] execute contextualize >> >>> [INFO] [resources:resources {execution: default-resources}] >> >>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> >>> [INFO] skip non existing resourceDirectory >> >>> /home/rmogrovejo/workspace/gora/gora-hbase/src/main/resources >> >>> [INFO] Copying 3 resources >> >>> [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] Compiling 9 source files to >> >>> /home/rmogrovejo/workspace/gora/gora-hbase/target/classes >> >>> [INFO] ------------------------------------------------------------- >> >>> [ERROR] COMPILATION ERROR : >> >>> [INFO] ------------------------------------------------------------- >> >>> [ERROR] error: error reading >> >>> /home/rmogrovejo/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in >> >>> opening zip file >> >>> [INFO] 1 error >> >>> [INFO] ------------------------------------------------------------- >> >>> [INFO] >> >>> >> ------------------------------------------------------------------------ >> >>> [ERROR] BUILD FAILURE >> >>> [INFO] >> >>> >> ------------------------------------------------------------------------ >> >>> [INFO] Compilation failure >> >>> error: error reading >> >>> /home/rmogrovejo/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in >> >>> opening zip file >> >>> >> >>> >> >>> Any suggestion on this? >> >>> Thanks again! >> >>> >> >>> >> >>> Renato M. >> >>> >> >>> 2012/5/3 Henry Saputra <[email protected]>: >> >>> > Hmm this usually happen when connection drop from maven repo. Could >> >>> > you try couple more times? >> >>> > >> >>> > - Henry >> >>> > >> >>> > On Wed, May 2, 2012 at 8:29 PM, Renato Marroquín Mogrovejo >> >>> > <[email protected]> wrote: >> >>> >> Hi, >> >>> >> >> >>> >> I tried to install latest Gora release following [1] but after >> making >> >>> >> mvn clean compile I got some errors that maybe you guys can help me >> >>> >> resolving. >> >>> >> >> >>> >> >> >>> >> [INFO] >> >>> >> >> ------------------------------------------------------------------------ >> >>> >> [ERROR] BUILD ERROR >> >>> >> [INFO] >> >>> >> >> ------------------------------------------------------------------------ >> >>> >> [INFO] Failed to resolve dependencies for one or more projects in >> the >> >>> >> reactor. Reason: Missing: >> >>> >> ---------- >> >>> >> 1) commons-httpclient:commons-httpclient:jar:3.0.1 >> >>> >> >> >>> >> Try downloading the file manually from the project website. >> >>> >> Then, install it using the command: >> >>> >> mvn install:install-file -DgroupId=commons-httpclient >> >>> >> -DartifactId=commons-httpclient -Dversion=3.0.1 -Dpackaging=jar >> >>> >> -Dfile=/path/to/file >> >>> >> Alternatively, if you host your own repository you can deploy the >> file >> >>> >> there: >> >>> >> mvn deploy:deploy-file -DgroupId=commons-httpclient >> >>> >> -DartifactId=commons-httpclient -Dversion=3.0.1 -Dpackaging=jar >> >>> >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >>> >> Path to dependency: >> >>> >> 1) org.apache.gora:gora-core:bundle:0.3-SNAPSHOT >> >>> >> 2) org.apache.hadoop:hadoop-core:jar:1.0.1 >> >>> >> 3) commons-httpclient:commons-httpclient:jar:3.0.1 >> >>> >> ---------- >> >>> >> 1 required artifact is missing. >> >>> >> >> >>> >> for artifact: >> >>> >> org.apache.gora:gora-core:bundle:0.3-SNAPSHOT >> >>> >> >> >>> >> from the specified remote repositories: >> >>> >> apache.snapshots (http://repository.apache.org/snapshots/), >> >>> >> central (http://repo1.maven.org/maven2) >> >>> >> >> >>> >> >> >>> >> I mean is this expected? Or how can I bypass this? >> >>> >> Thanks in advance. >> >>> >> >> >>> >> [1] http://gora.apache.org/version_control.html >> >> >> >> >> > >> > >> > >> > -- >> > Lewis >> > >

