Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352396 - Feature: Add ability to add maven phases to eclipse builders
Summary: Feature: Add ability to add maven phases to eclipse builders
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 19:08 EDT by Todd Nine CLA
Modified: 2021-04-19 13:26 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/