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

Tamas Cservenak edited comment on MGPG-109 at 3/5/24 2:00 PM:
--------------------------------------------------------------

Could you provide a bit more information?
* Java version
* Maven version

Also, 3.0.1 is quite old, can you try to reproduce this issue with 3.1.0 of gpg 
plugin?


was (Author: cstamas):
Could you provide a bit more information?
* Java version
* Maven version

> command line  gpg:sign-and-deploy-file fails an API compat issue
> ----------------------------------------------------------------
>
>                 Key: MGPG-109
>                 URL: https://issues.apache.org/jira/browse/MGPG-109
>             Project: Maven GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Rod Widdowson
>            Priority: Minor
>
> Almost certainly PEBKAC, so apologies.
> Following the documentation I tried this:
> {code}mvn gpg:sign-and-deploy-file -Dfile=..... -DrepositoryId=... 
> -Durl=....{code}
> and it says {code}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-gpg-plugin:3.0.1:sign-and-deploy-file 
> (default-cli) on project idp-jetty-base-windows: Execution default-cli of 
> goal org.apache.maven.plugins:maven-gpg-plugin:3.0.1:sign-and-deploy-file 
> failed: An API incompatibility was encountered while executing 
> org.apache.maven.plugins:maven-gpg-plugin:3.0.1:sign-and-deploy-file: 
> java.lang.AbstractMethodError: Receiver class 
> org.apache.maven.plugins.gpg.SignAndDeployFileMojo$SimpleModelProblemCollector
>  does not define or inherit an implementation of the resolved method 
> 'abstract void 
> add(org.apache.maven.model.building.ModelProblemCollectorRequest)' of 
> interface org.apache.maven.model.building.ModelProblemCollector.{code}
> I was hoping for a quick cut, but I can probably manage this in the pom.  
> Thanks



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to