You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2020/02/23 18:11:00 UTC

[jira] [Commented] (MRESOURCES-252) Add m2e lifecycle Metadata to plugin

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

Sylwester Lachiewicz commented on MRESOURCES-252:
-------------------------------------------------

Done inĀ [4f108f8e30a5edc07175d72f3cfb57c66a740408|https://gitbox.apache.org/repos/asf?p=maven-resources-plugin.git;a=commit;h=4f108f8e30a5edc07175d72f3cfb57c66a740408]

> Add m2e lifecycle Metadata to plugin
> ------------------------------------
>
>                 Key: MRESOURCES-252
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-252
>             Project: Maven Resources Plugin
>          Issue Type: Improvement
>         Environment: eclipse for java 4.11.0
> m2e maven plugin 1.11
> OS: nixOS 2019-03
>            Reporter: Alexander Krimm
>            Assignee: Sylwester Lachiewicz
>            Priority: Major
>             Fix For: 3.1.1
>
>
> Would it be possible to add m2e lifecycle information [1] to this plugin?
> I think this would increase usability in eclipse a lot, because the default 'quick fix' in eclipse is to ignore the plugin, leading to missing resources when running an application from Eclipse.
> It would require adding the following file:
> META-INF/m2e/lifecycle-mapping-metadata.xml:
> {code:xml}
> <lifecycleMappingMetadata>
>     <pluginExecutions>
>         <pluginExecution>
>             <pluginExecutionFilter>
>                 <goals>
>                     <goal>resources</goal>
>                     <goal>testResources</goal>
>                 </goals>
>             </pluginExecutionFilter>
>             <action>
>                 <execute>
>                     <runOnIncremental>true</runOnIncremental>
>                 </execute>
>             </action>
>         </pluginExecution>
>     </pluginExecutions>
> </lifecycleMappingMetadata>
> {code}
> [1] [https://www.eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html]



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