Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352396

Summary: Feature: Add ability to add maven phases to eclipse builders
Product: z_Archived Reporter: Todd Nine <todd>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: igor, todd
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Todd Nine CLA 2011-07-18 19:08:40 EDT
Currently it is impossible to explicitly invoke maven plugins or phases via the eclipse automatic build system.  Please add the ability to invoke specific maven targets during build.

This feature request is a result of custom resource processing we perform.  The plugin copies the resources, but does not correctly perform the variable substitution.
Comment 1 Igor Fedorenko CLA 2011-07-19 02:38:38 EDT
Running build phases as part of eclipse workspace build results very hard to troubleshoot problems with missing resources and endless builds (see [1] for more details). 

Standard maven-resources-plugin resource processing is expected work out of the box and custom resource processing plugins can be supported either via explicit lifecycle mapping (explained in [1]) or by custom m2e extensions (see [2] for some pointers where to start).


[1] http://wiki.eclipse.org/M2E_plugin_execution_not_covered
[2] http://wiki.eclipse.org/M2E_Extension_Development
Comment 2 Denis Roy CLA 2021-04-19 13:26:06 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/