Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.0.12
-
Component/s: Dependency Resolver, Indexer, UI
-
Labels:None
Description
This request is to allow profiles to be activated from within Eclipse UI itself.
(Note: This is not a request for the maven launcher functionality, but rather for profile enablement for dependency and repository management.)
Currently, the only means to activate a profile with property based activatation is to launch eclipse with -vmargs -Dproperty=activatingValue.
One approach might be to:
- evaluate the effective pom and retrieve the available and activated profiles
- present a dialog with the available profiles (List: [checkbox] [profilename] activatated profiles checked)
- allow the user to check and uncheck profiles
- save this state within plugin metadata
- update the repository management
- re-evaluate the dependencies based on the new active profile settings
This functionality is analogous to passing mvn -P switch.
The enhancement was originally discussed here:
http://www.nabble.com/Profile-dependencies-tf3890948s177.html#a11092303
Thanks for considering.
Tim, can you please create and attach sample project that would have several profiles that would result into different dependencies. I have nearly done with this feature but need a test case before I can resolve this issue. Thanks.