slachiewicz commented on issue #14000:
URL: https://github.com/apache/maven/issues/14000#issuecomment-6884831986

   Two more ports fail on a `master` build (6145dae0de) after passing on rc-7, 
both through the renames described here:
   
   - maven-assembly-plugin: 122 of 124 ITs, all with `NoSuchMethodError: 
MojoExecution.getPlugin()`.
   - maven-dependency-plugin: 25 more ITs than on rc-7. 12 fail with 
`NoSuchMethodError: MojoExecution.getExecutionId()`. The other 13 fail with 
`AbstractMethodError: ResolvedDependency does not define ... 'java.lang.String 
groupId()' of interface org.apache.maven.api.Dependency`.
   
   The second case is the implementer break listed above. It hits a production 
class here, not a test stub. The plugin's `ResolvedDependency` implements 
`Dependency` and was compiled against 4.0, where only the `get` names exist, so 
it fails at runtime on 4.2. Making the `get` names the defaults does not help 
an implementation compiled against 4.0. A bridge in the other direction would: 
keep `groupId()` and the other new names as defaults that call `getGroupId()` 
and so on.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to