[
https://issues.apache.org/jira/browse/HBASE-16555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15676730#comment-15676730
]
Sean Busbey commented on HBASE-16555:
-------------------------------------
Sorry for the noise Jan. I thought this looked familiar and just managed to dig
out HBASE-12909. It looks like we still need JUnit in our assembly for running
some integration tests against live clusters and right now having a non-test
scope is how that's accomplished.
Would you be up for starting an email thread on dev@hbase about sequestering
dependencies that are needed for test runs away from the general runtime
dependencies in our assembly artifact?
> JUnit dependency not scoped as test
> -----------------------------------
>
> Key: HBASE-16555
> URL: https://issues.apache.org/jira/browse/HBASE-16555
> Project: HBase
> Issue Type: Bug
> Components: build
> Affects Versions: 1.2.2
> Reporter: Robert G Duncan
> Assignee: Jan Hentschel
> Attachments: HBASE-16555.master.001.patch
>
>
> *Issue*
> JUnit is included as a compile scope dependency. This increases the size of
> dependent project shaded/Uber JARs unnecessarily.
> *Actual Entry*
> {code:xml}
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>${junit.version}</version>
> </dependency>
> {code}
> *Expected Entry*
> {code:xml}
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>${junit.version}</version>
> <scope>test</scope>
> </dependency>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)