You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/08/12 15:32:00 UTC

[jira] [Comment Edited] (MPLUGIN-351) Support m2e execution of goal "descriptor"

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

Konrad Windszus edited comment on MPLUGIN-351 at 8/12/21, 3:31 PM:
-------------------------------------------------------------------

I provided a fix in https://github.com/apache/maven-plugin-tools/pull/36 which supports full builds in Eclipse. Supporting incremental build is way more effort as a lot of SPI methods would need to be extended for that (so that the modified source is propagated e.g. to https://github.com/apache/maven-plugin-tools/blob/7adc5c18054a04520df932f1aef7d912e125e2ce/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/MojoAnnotationsScanner.java#L51).


was (Author: kwin):
I provided a fix in https://github.com/apache/maven-plugin-tools/pull/36 which supports full builds in Eclipse. Supporting incremental build is way more effort as a lot of SPI methods would need to be extended for that (so that the modified source is propagated to e.g. to https://github.com/apache/maven-plugin-tools/blob/7adc5c18054a04520df932f1aef7d912e125e2ce/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/MojoAnnotationsScanner.java#L51).

> Support m2e execution of goal "descriptor"
> ------------------------------------------
>
>                 Key: MPLUGIN-351
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-351
>             Project: Maven Plugin Tools
>          Issue Type: Improvement
>          Components: Plugin Plugin
>    Affects Versions: 3.6.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> It would be nice if the descriptor goal (https://maven.apache.org/plugin-tools/maven-plugin-plugin/descriptor-mojo.html) would be automatically executed by Eclipse as well (http://www.eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html). As first step just a {{META-INF/m2e/lifecycle-mapping-metadata.xml}} would be sufficient which would ignore all goals but "descriptor".
> This would be especially helpful in the context of executing tests with m-p-testing-harness (MPLUGINTESTING-57).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)