I have maven-gwt project. It has lots of dependencies which is usual by a large project. I think it is at the limit with creation of classpath. I found some information about the limitation. Allowed is 1023 Character. But I need the libraries.
I receive the following error when i want to package my project mit Maven
.
The command line is too long.
How can I get around the problem.?
Here is the expanded error in Jenkins:
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ MyProject ---
[INFO] Surefire report directory: C:\Documents and Settings\User\.jenkins\workspace\Myproject\target\surefire-reports
The command line is too long.
The command line is too long.
[ERROR] There are test failures.
--- maven-surefire-plugin:2.5:test (default-test)
。 - Kaysermvn dependency:build-classpath | wc -c
,它会显示 10290。你的mvn dependency:build-classpath | wc -c
输出是什么?是 Maven 添加东西到你的类路径中,还是你自己添加的? - Christian Uhl[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project AuswertungsDB: There are test failures. [ERROR] [ERROR] Please refer to C:\Workspaces_auf_C\GWT\ADB_Install\target\surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR]
- Kayser