[ 
https://issues.apache.org/jira/browse/MSHARED-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197895#comment-17197895
 ] 

Elliotte Rusty Harold commented on MSHARED-957:
-----------------------------------------------

I was using Java 11.

maven-dependency-plugin 3.1.2 declares a dependency on analyzer 1.11.1 and it 
works with that version. There is no expectation that 3.1.2 works with any 
other version of the dependency analyzer and failure to do so is not a bug.

What's at HEAD does declare a dependency on  analyzer 1.11.3 so if that fails 
that would be a bug. 



> 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)

Reply via email to