ubuntu デスクトップ 12.04 に Hoop をインストールしようとしています。すでに hadoop-1.0.2 をインストールしています。私のインストールは次のとおりですhttp://cloudera.github.com/hoop/docs/latest/ServerSetup.html 私はmaven 3.0.4をインストールし、フープをgitしました。しかし、私がやったときに問題が発生し、
hoop $ mvn clean package site assembly:single
問題は:
[FATAL] Non-parseable POM /home/pc/.m2/repository/com/sun/jersey/jersey-project/1.4/jersey-project-1.4.pom: end tag name </body> must match start tag name <hr> from line 5 (position: TEXT seen ...</center>\r\n</body>... @6:8) @ /home/pc/.m2/repository/com/sun/jersey/jersey-project/1.4/jersey-project-1.4.pom, line 6, column 8
と
[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
私は何をすべきか?
私はmavenをmaven2に変更しました。
rm -rf ~/.m2/repository/com/sun/jersey
rm -rf ~/.m2/repository/org/glassfish/packager
rm -rf ~/.m2/repository/jersey
ダニエル・バクティアが言ったように。しかし、現在新たな問題が発生しています
[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] ------------------------------------------------------------------------
私は今どうすればいい?