[
https://issues.apache.org/jira/browse/BIGTOP-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stanley shi updated BIGTOP-1424:
--------------------------------
Description:
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.
was:
In the file bigtop-packages / src / common / hive / do-component-build, it is
using
-Dmaven.test.skip=true
we should change to use
-DskipTests
> 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)