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

Tamas Cservenak commented on MGPG-109:
--------------------------------------

Yes, this call is about to happen when the POM to be deployed have validation 
issues. So you need to fix the POM I guess...

> 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