[
https://issues.apache.org/jira/browse/MDEP-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393506#comment-17393506
]
Dongjoon Hyun edited comment on MDEP-753 at 8/4/21, 11:59 PM:
--------------------------------------------------------------
I hit the same issue in Apache ORC. Could you raise the priority to `Major`?
{code}
[WARNING] Non-test scoped test only dependencies found:
[WARNING] org.apache.hive:hive-storage-api:jar:2.8.1:compile
[WARNING] org.apache.commons:commons-lang3:jar:3.12.0:compile
{code}
`commons-lang3` is used in the main body and it's incorrectly categorized.
{code}
$ git grep lang3 | grep impl
java/core/src/java/org/apache/orc/impl/ConvertTreeReaderFactory.java:import
org.apache.commons.lang3.ArrayUtils;
java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java:import
org.apache.commons.lang3.ArrayUtils;
java/core/src/java/org/apache/orc/impl/RecordReaderUtils.java:import
org.apache.commons.lang3.builder.HashCodeBuilder;
java/core/src/java/org/apache/orc/impl/mask/RedactMaskFactory.java:import
org.apache.commons.lang3.StringUtils;
java/core/src/test/org/apache/orc/impl/TestPredicatePushDownBounds.java:import
org.apache.commons.lang3.StringUtils;
{code}
was (Author: dongjoon):
I hit the same issue in Apache ORC. Could you raise the priority to `Major`?
{code}
[WARNING] Non-test scoped test only dependencies found:
[WARNING] org.apache.hive:hive-storage-api:jar:2.8.1:compile
[WARNING] org.apache.commons:commons-lang3:jar:3.12.0:compile
{code}
> Non-test dependency reported as Non-test scoped test only dependency
> --------------------------------------------------------------------
>
> Key: MDEP-753
> URL: https://issues.apache.org/jira/browse/MDEP-753
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: analyze
> Reporter: Elliotte Rusty Harold
> Assignee: Elliotte Rusty Harold
> Priority: Minor
>
> Saw this when updating the google-http-java-client from 3.1.2 to 3.2.0 of the
> plugin. I'm not immediately sure whether this is a regression:
> [INFO] --- maven-dependency-plugin:3.2.0:analyze (default-cli) @
> google-http-client ---
> Warning: Non-test scoped test only dependencies found:
> Warning: com.google.guava:guava:jar:30.1.1-android:compile
> Warning: io.opencensus:opencensus-api:jar:0.28.0:compile
> Changing Guava to scope test breaks the build, which is expected based on the
> code. The warning seems incorrect.
> https://github.com/googleapis/google-http-java-client/pull/1396
> https://github.com/googleapis/google-http-java-client/pull/1396/checks?check_run_id=2809438131
--
This message was sent by Atlassian Jira
(v8.3.4#803005)