[
https://issues.apache.org/jira/browse/MDEP-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413177#comment-17413177
]
Rune Flobakk commented on MDEP-753:
-----------------------------------
[~sbrunov] Just because I am curious, are there new features you are waiting
for in version >= 3.2.0 of the plugin? We use dependency-analyze in our project
on Java 16 with no problems using this configuration:
{{<plugin>}}
{{ <artifactId>maven-dependency-plugin</artifactId>}}
{{ <version>3.1.2</version>}}
{{ <executions>}}
{{ <execution>}}
{{ <id>check-declared-vs-used-dependencies</id>}}
{{ <goals>}}
{{ <goal>analyze-only</goal>}}
{{ </goals>}}
{{ </execution>}}
{{ </executions>}}
{{ <dependencies>}}
{{ <dependency>}}
{{ <groupId>org.apache.maven.shared</groupId>}}
{{ <artifactId>maven-dependency-analyzer</artifactId>}}
{{ <version>1.11.3</version>}}
{{ </dependency>}}
{{ <dependency>}}
{{ <groupId>org.ow2.asm</groupId>}}
{{ <artifactId>asm</artifactId>}}
{{ <version>9.2</version>}}
{{ </dependency>}}
{{ </dependencies>}}
{{</plugin>}}
So while I would sure appreciate a new release myself, there is nothing
blocking us from using the previous version 3.1.2 until it happens.
> 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)