我在构建我的snappy
. 我按照以下步骤操作:
- 从http://code.google.com/p/snappy/下载。
- 用命令解压它
tar xvzf snappy-1.1.3
- 然后按照以下命令
hadoop@HadoopPseudoVM:~$ mv google-snappy-0852af7 snappy1 hadoop@HadoopPseudoVM:~$ vi /home/hadoop/.bashrc
hadoop@HadoopPseudoVM:~$ exec bash
hadoop@HadoopPseudoVM:~$ mvn package -Dsnappy.prefix=/home /hadoop/snappy1
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.433s
[INFO] Finished at: Fri Sep 18 16:08:43 IST 2015
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/hadoop). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
该错误表明我没有提到该项目。怎么提?