[
https://issues.apache.org/jira/browse/MSHARED-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197775#comment-17197775
]
Elliotte Rusty Harold commented on MSHARED-957:
-----------------------------------------------
I haven't gotten the test case to run yet:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
on project mshared957: Fatal error compiling: invalid flag: --release -> [Help
1]
[ERROR]
Regardless, you seem to expect that the maven-dependency-plugin will work when
you change the version of one of its dependencies out from under it. That's not
a promise the plugin makes, or can make.
If there's a bug here, it would be in the unreleased HEAD version of the
dependency plugin which already depends on the analyzer 1.11.3, not in the
maven-dependency-analyzer.
> API incompatibility between versions 1.11.1 and 1.11.2
> ------------------------------------------------------
>
> Key: MSHARED-957
> URL: https://issues.apache.org/jira/browse/MSHARED-957
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-dependency-analyzer
> Environment: mvn --version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /home/henning/.local/share/apache-maven-3.6.3
> Java version: 11.0.8, vendor: Red Hat, Inc., runtime:
> /usr/lib/jvm/java-11-openjdk-11.0.8.10-2.fc32.x86_64
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.8.4-200.fc32.x86_64", arch: "amd64", family:
> "unix"
> Reporter: Henning Schmiedehausen
> Assignee: Elliotte Rusty Harold
> Priority: Major
> Attachments: MSHARED-957.tar.gz
>
>
> Using the dependency analyzer as an explicit dependency for the dependency
> plugin:
>
> {quote}<plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-dependency-plugin</artifactId>
> <version>3.1.12</version>
> <dependencies>
> <dependency>
> <groupId>org.apache.maven.shared</groupId>
> <artifactId>maven-dependency-analyzer</artifactId>
> <version>1.11.1</version>
> </dependency>
> </dependencies>
> ...
> {quote}
> This works fine with version 1.11.1. Upgrading to 1.11.2 (or 1.11.3), which
> are supposed (at least that is implied by the semantic versioning) fully
> compatible to 1.11.1 yields
> {{ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only (default)
> on project duplicate-finder-maven-plugin: Execution default of goal
> org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed:
> Unsupported api 524288 -> [Help 1]}}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)