Rod Widdowson created MGPG-109:
----------------------------------

             Summary: 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
            Reporter: Rod Widdowson


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