[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building apt-bug 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-apt-plugin:1.0.2:process (querydsl-apt) @ apt-bug --- /home/xxx/apt-bug/src/main/java/something/UserStore.java:3: cannot find symbol symbol : class QUser location: package something import static something.QUser.user; ^ /home/xxx/apt-bug/src/main/java/something/UserStore.java:3: static import only from classes and interfaces import static something.QUser.user; ^ [INFO] [INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ apt-bug --- [INFO] Source directory: /home/xxx/apt-bug/target/generated-sources added. [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ apt-bug --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ apt-bug --- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 1 source file to /home/xxx/apt-bug/target/classes [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ apt-bug --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ apt-bug --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ apt-bug --- [INFO] Surefire report directory: /home/xxx/apt-bug/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running something.UserStoreTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.083 sec <<< FAILURE! Results : Tests in error: test(something.UserStoreTest) Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.895s [INFO] Finished at: Wed May 30 16:47:17 CEST 2012 [INFO] Final Memory: 22M/212M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.1:test (default-test) on project apt-bug: There are test failures. [ERROR] [ERROR] Please refer to /home/xxx/apt-bug/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