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

Bug 341091

Summary: Run Configurations - Unable to use Variables on fields "Goals" and "Profiles"
Product: z_Archived Reporter: Jerry A. G. <jerryag>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Jerry A. G. CLA 2011-03-28 08:25:12 EDT
Build Identifier: 20100617-1415

At Run Configurations when setting a Maven Build configuragion i would like Eclipse Variables (e.g. ${string_prompt}, ${resource_name}, etc) in fields  Goals and Profiles. 

Today I have to create many configurations because my maven projects has a couple of profiles and I use some different goals like clean, install, tomcat:run, tomcat:deploy. 

In Base directory field I can use variables and this is very usefull because I use the entry: ${workspace_loc:/${selected_resource_name}} so I select the project before in Project Explorer then I select the target run configuration.

If I could use variables in fields Goals and Profiles I could to have less run configurations because configurations would be more generic. 

I could use ${string_prompt} on Goal and Profiles so only one configuration do everithing what I need.

Reproducible: Always

Steps to Reproduce:
1. Open Run Configurations dialog
2. You will see there is not way to use Variables on fields Goals and Profiles
Comment 1 Igor Fedorenko CLA 2013-09-28 23:20:09 EDT
closing old/stale bugreports
Comment 2 Denis Roy CLA 2021-04-19 13:25:40 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/