0
我試圖安裝一個插件使用Maven(批量導入neo4j)。使用Maven插件錯誤:測試失敗
mvn clean compile assembly:single
給我一個錯誤,指出目錄無法創建。我把它改爲:
sudo mvn clean compile package assembly:single
,它似乎工作,直到構建失敗,因爲下面的測試:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.798s
[INFO] Finished at: Fri Mar 29 16:17:14 EDT 2013
[INFO] Final Memory: 22M/949M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project batch-import: There are test failures.
[ERROR]
[ERROR] Please refer to /u/omusayev/batch-import/batch-import/target/surefire-reports for the individual test results.
[ERROR] -> [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/MojoFailureException
之前從未使用過的Maven,這是很神祕的。有沒有人知道這些可能意味着什麼,以及我如何解決這個問題?如果我可以提供更多信息,請詢問。
謝謝。
完美。謝謝。讓我們希望一切正常... –