Commit 565b957
authored
MINOR: [Java] Fix dependencies scope in flight-sql module (#36132)
### Rationale for this change
flight-sql module advertises dependencies which are not actually used by the published code, causing those dependencies to show up in downstream projects.
### What changes are included in this PR?
Fix dependencies scope in flight-sql module:
* move hamcrest to test scope as it is only used during unit tests
* add optional flag for commons-cli as it is only used in the example class
### Are these changes tested?
No new test. Confirming that there's no build issue
### Are there any user-facing changes?
No
Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>1 parent 9923a8b commit 565b957
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
0 commit comments