title: How ot install Hoop in ubuntu
body: <p>I try to install Hoop in ubuntu desktop 12.04. I have already install hadoop-1.0.2. My installation is following <a href="http://cloudera.github.com/hoop/docs/latest/ServerSetup.html" rel="nofollow">http://cloudera.github.com/hoop/docs/latest/ServerSetup.html</a>
  I installed maven 3.0.4, git the hoop. However, the problem come when I did,</p>
  
  <pre><code>hoop $ mvn clean package site assembly:single
  </code></pre>
  
  <p>the problem is:</p>
  
  <pre><code>[FATAL] Non-parseable POM /home/pc/.m2/repository/com/sun/jersey/jersey-project/1.4/jersey-project-1.4.pom: end tag name &lt;/body&gt; must match start tag name &lt;hr&gt; from line 5 (position: TEXT seen ...&lt;/center&gt;\r\n&lt;/body&gt;... @6:8)  @ /home/pc/.m2/repository/com/sun/jersey/jersey-project/1.4/jersey-project-1.4.pom, line 6, column 8
  </code></pre>
  
  <p>and </p>
  
  <pre><code>[ERROR] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/hoop/Hoop.java:[222,23] error: cannot find symbol
  [ERROR] class Hoop
  
  [WARNING] Unable to create Maven project from repository.
  org.apache.maven.project.InvalidProjectModelException: Some problems were encountered while processing the POMs:
  [ERROR] Invalid packaging for parent POM [unknown-group-id]:[unknown-artifact-id]:   [unknown-version], must be "pom" but is "jar" @ [unknown-group-id]:[unknown-artifact-id]:[unknown-version]
  [ERROR] 'groupId' is missing. @ line 44, column 99
  [ERROR] 'version' is missing. @ line 44, column 99
  
  
  [INFO] Hoop Project POM .................................. SUCCESS [7.774s]
  [INFO] Hoop TestNG ....................................... SUCCESS [12:16.761s]
  [INFO] Hoop Server ....................................... FAILURE [1.161s]
  [INFO] Hoop WebApp ....................................... SKIPPED
  [INFO] Hoop Client ....................................... SKIPPED
  [INFO] Hoop Docs ......................................... SKIPPED
  [INFO] Hoop Distro ....................................... SKIPPED
  [INFO] Hoop Main ......................................... SKIPPED
  </code></pre>
  
  <p>what should I do?</p>
  
  <p>I change the maven to maven2, and I did </p>
  
  <pre><code>rm -rf ~/.m2/repository/com/sun/jersey
  rm -rf ~/.m2/repository/org/glassfish/packager
  rm -rf ~/.m2/repository/jersey
  </code></pre>
  
  <p>as Daniel Baktiar said. But there is new problem now</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO] Reactor build order: 
  [INFO]   Hoop Project POM
  [INFO]   Hoop TestNG
  [INFO]   Hoop Server
  [INFO]   Hoop WebApp
  [INFO]   Hoop Client
  [INFO]   Hoop Docs
  [INFO]   Hoop Distro
  [INFO]   Hoop Main
  [INFO] ------------------------------------------------------------------------
  [INFO] Building Hoop Project POM
  [INFO]    task-segment: [clean, package, site, assembly:single]
  [INFO] ------------------------------------------------------------------------
  [INFO] [enforcer:enforce {execution: clean}]
  [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with     message:
  Detected Maven Version: 2.2.1 is not in the allowed range [3.0.0,).
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  [INFO] ------------------------------------------------------------------------
  [INFO] Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
  [INFO] ------------------------------------------------------------------------
  [INFO] For more information, run Maven with the -e switch
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 1 second
  [INFO] Finished at: Fri Jun 01 15:51:06 CST 2012
  [INFO] Final Memory: 13M/141M
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>what should I do now?</p>