[
https://issues.apache.org/jira/browse/LENS-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231000#comment-14231000
]
Jaideep Dhok commented on LENS-82:
----------------------------------
{noformat}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Lens Checkstyle Rules ............................. SUCCESS [3.526s]
[INFO] Lens .............................................. SUCCESS [2.826s]
[INFO] Lens API .......................................... SUCCESS [9.037s]
[INFO] Lens API for server and extensions ................ SUCCESS [4.022s]
[INFO] Lens Cube ......................................... SUCCESS [7:35.938s]
[INFO] Lens DB storage ................................... SUCCESS [15.512s]
[INFO] Lens Query Library ................................ FAILURE [3.376s]
[INFO] Lens Hive Driver .................................. SKIPPED
[INFO] Lens Driver for Cloudera Impala ................... SKIPPED
[INFO] Lens Driver for JDBC .............................. SKIPPED
[INFO] Lens Server ....................................... SKIPPED
[INFO] Lens client ....................................... SKIPPED
[INFO] Lens CLI .......................................... SKIPPED
[INFO] Lens Examples ..................................... SKIPPED
[INFO] Lens Distribution ................................. SKIPPED
[INFO] Lens Client Distribution .......................... SKIPPED
[INFO] Lens ML Lib ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8:14.895s
[INFO] Finished at: Tue Dec 02 10:32:18 IST 2014
[INFO] Final Memory: 50M/477M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project lens-query-lib: Compilation failure:
Compilation failure:
[ERROR]
lens-query-lib/src/test/java/org/apache/lens/lib/query/TestAbstractFileFormatter.java:[32,41]
cannot find symbol
[ERROR] symbol: class MockDriver
[ERROR] location: package org.apache.lens.server.api.driver
[ERROR]
lens-query-lib/src/test/java/org/apache/lens/lib/query/TestAbstractFileFormatter.java:[32,41]
cannot find symbol
[ERROR] symbol: class MockDriver
[ERROR] location: package org.apache.lens.server.api.driver
[ERROR]
lens-query-lib/src/test/java/org/apache/lens/lib/query/TestAbstractFileFormatter.java:[219,39]
cannot find symbol
[ERROR] symbol: class MockDriver
[ERROR] location: class org.apache.lens.lib.query.TestAbstractFileFormatter
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :lens-query-lib
{noformat}
> Move Mock* classes in lens-server-api to test jar
> -------------------------------------------------
>
> Key: LENS-82
> URL: https://issues.apache.org/jira/browse/LENS-82
> Project: Apache Lens
> Issue Type: Bug
> Components: api
> Affects Versions: 2.0
> Reporter: Amareshwari Sriramadasu
> Assignee: Sreekanth Ramakrishnan
> Fix For: 2.0
>
> Attachments: lens-82-1.patch, lens-82-2.patch, lens-82-3.patch,
> output.txt
>
>
> MockDriver and MockQueryContext classes are present in lens-server-api. They
> should be moved to test and other modules can depend on lens-server-api's
> test jar module.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)