deshanxiao commented on issue #1277: URL: https://github.com/apache/orc/issues/1277#issuecomment-1284848437
The root cause of the difference between these two commands is that `-Dmaven.test.skip=true` does not compile the test classes. _Apache Maven Dependency Plugin_ will throw an error if a dependency is not used. We can use `ignoreNonCompile `defined in https://maven.apache.org/plugins/maven-dependency-plugin/analyze-only-mojo.html#ignoreNonCompile to avoid the problem. After adding this tag, I found that we have some classes such as slf4j-api in MapReduce module that only appear in test but scope is defined as compile. Maybe we can fix the problem. What do you think? @zjx20 @dongjoon-hyun -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
