batch-import icon indicating copy to clipboard operation
batch-import copied to clipboard

MVN package problem

Open dav009 opened this issue 12 years ago • 0 comments

Is there an specific version of mvn to use in order to get the .jar file generated correctly?.

I'm currently trying with mvn 3.1.0, when I do mvn package I get failed tests[2]

If I skip the tests I get a .jar file without a manifest and without dependencies. [1]

[1] "no main manifest attribute, in batch-import-1.9-SNAPSHOT.jar". [2] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project batch-import: There are test failures. [ERROR] [ERROR] Please refer to /Users/dav009/Downloads/batch-import-master 2/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

dav009 avatar Sep 23 '13 15:09 dav009