[
https://issues.apache.org/jira/browse/OOZIE-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Kanter updated OOZIE-1631:
---------------------------------
Attachment: OOZIE-1631.patch
Patch simply adds the mockito dependency to the tools pom; no test changes.
Verified that the {{dependency:tree}} has been updated.
> Tools module should have a direct dependency on mockito
> -------------------------------------------------------
>
> Key: OOZIE-1631
> URL: https://issues.apache.org/jira/browse/OOZIE-1631
> Project: Oozie
> Issue Type: Bug
> Components: tests
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Priority: Minor
> Attachments: OOZIE-1631.patch
>
>
> Mockito is used by some of the tests in the tools module; however, it is only
> included because its a test dependency of hive-serde, which is included with
> the hcatalog libs. We should make it a direct dependency in case hcat
> removes mockito because Oozie won't compile anymore.
> dependency tree for reference:
> {noformat}
> [INFO] org.apache.oozie:oozie-tools:jar:4.1.0-SNAPSHOT
> [INFO] +- org.apache.derby:derby:jar:10.6.1.0:compile
> [INFO] +- org.apache.oozie:oozie-hcatalog:jar:0.5.0.oozie-4.1.0-SNAPSHOT:test
> (scope not updated to compile)
> ...
> [INFO] | +- org.apache.hive:hive-serde:jar:0.10.0:test
> [INFO] | | +- org.mockito:mockito-all:jar:1.8.5:test (version managed from
> 1.8.2)
> ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1#6144)