Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
Build fails on Windows on the latest master:
c:\drill> mvn clean install -DskipTests ... [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 169 licence. [INFO] [INFO] <<< exec-maven-plugin:1.2.1:java (default) < validate @ drill-common <<< [INFO] [INFO] --- exec-maven-plugin:1.2.1:java (default) @ drill-common --- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Scanning: C:\drill\common\target\classes [WARNING] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: file:C:/drill/common/target/classes/ not in [file:/C:/drill/common/target/classes/] at org.apache.drill.common.scanner.BuildTimeScan.main(BuildTimeScan.java:129) ... 6 more [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Drill Root POM .............................. SUCCESS [ 10.016 s] [INFO] tools/Parent Pom ................................... SUCCESS [ 1.062 s] [INFO] tools/freemarker codegen tooling ................... SUCCESS [ 6.922 s] [INFO] Drill Protocol ..................................... SUCCESS [ 10.062 s] [INFO] Common (Logical Plan, Base expressions) ............ FAILURE [ 9.954 s] [INFO] contrib/Parent Pom ................................. SKIPPED [INFO] contrib/data/Parent Pom ............................ SKIPPED [INFO] contrib/data/tpch-sample-data ...................... SKIPPED [INFO] exec/Parent Pom .................................... SKIPPED [INFO] exec/Java Execution Engine ......................... SKIPPED [INFO] exec/JDBC Driver using dependencies ................ SKIPPED [INFO] JDBC JAR with all dependencies ..................... SKIPPED [INFO] contrib/mongo-storage-plugin ....................... SKIPPED [INFO] contrib/hbase-storage-plugin ....................... SKIPPED [INFO] contrib/jdbc-storage-plugin ........................ SKIPPED [INFO] contrib/hive-storage-plugin/Parent Pom ............. SKIPPED [INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SKIPPED [INFO] contrib/hive-storage-plugin/core ................... SKIPPED [INFO] contrib/drill-gis-plugin ........................... SKIPPED [INFO] Packaging and Distribution Assembly ................ SKIPPED [INFO] contrib/sqlline .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 38.813 s [INFO] Finished at: 2015-10-28T12:17:19-07:00 [INFO] Final Memory: 67M/466M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project drill-common: An exception occured while executing the Java class. null: InvocationTargetException: file:C:/drill/common/target/classes/ not in [file:/C:/drill/common/target/classes/] -> [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :drill-common