You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Mark Grover (JIRA)" <ji...@apache.org> on 2014/09/03 17:20:51 UTC
[jira] [Commented] (BIGTOP-1424) hive do-component-build should use
skipTest instead of maven.test.skip
[ https://issues.apache.org/jira/browse/BIGTOP-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14119951#comment-14119951 ]
Mark Grover commented on BIGTOP-1424:
-------------------------------------
Sounds good, thanks, Stanley. Please upload a patch.
> hive do-component-build should use skipTest instead of maven.test.skip
> ----------------------------------------------------------------------
>
> Key: BIGTOP-1424
> URL: https://issues.apache.org/jira/browse/BIGTOP-1424
> Project: Bigtop
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: stanley shi
>
> In the file bigtop-packages / src / common / hive / do-component-build, it is using
> -Dmaven.test.skip=true
> we should change to use
> -DskipTests
> The difference between these two:
> http://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html
> -Dmaven.test.skip will not compile the test source code;
> -DskipTests will only skip the test;
> hive-service has dependency on hive-exec:
> {quote}
> <dependency>
> <groupId>org.apache.hive</groupId>
> <artifactId>hive-exec</artifactId>
> <version>${project.version}</version>
> <scope>test</scope>
> <classifier>tests</classifier>
> </dependency>
> {quote}
> without this fix, when build hive-service, it will get the hive-exec-test jar from apache maven repository instead of get what we just built.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)