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

