Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341091 - Run Configurations - Unable to use Variables on fields "Goals" and "Profiles"
Summary: Run Configurations - Unable to use Variables on fields "Goals" and "Profiles"
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 08:25 EDT by Jerry A. G. CLA
Modified: 2021-04-19 13:25 EDT (History)
1 user (show)

See Also:


Attachments

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