Skip to content

[MNG-8588] Add a way to get the activated profiles from the Project interface #9367

@jira-importer

Description

@jira-importer

Giovanni van der Schelde opened MNG-8588 and commented

I'm trying to move the maven-help-plugin forward into a 4.0.0 release. It currently (3.x) uses a method to get the activated profiles MavenProject#getInjectedProfileIds() from the project. This method is not yet available on the new interface. I think it is necessary to introduce this method in order to get the activated profiles from the build without needing to rebuild the project again.

I've decided to keep the interface the same for now, but I can imagine that we would want a better representation such as a new class or making use of the Profile class?


Affects: 4.0.0-rc-2

Remote Links:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:minorMinor loss of function, or other problem where easy workaround is present

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions