[ 
https://issues.apache.org/jira/browse/MRESOURCES-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylwester Lachiewicz updated MRESOURCES-252:
--------------------------------------------
    Fix Version/s: 3.1.1

> 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
>            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)

Reply via email to