You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ORT only considers dependencies of the Maven profile that is activated by default for the platform / environment ORT runs on. Ideally, ORT would instead enumerate all profiles and analyze each one separately. This could be modeled by "virtual" projects that are a combination of project name and profile name: A project "foo" with profiles "p1" and "p2" could be modeled as two projects "foo-p1" and "foo-p2", each with potentially different dependencies.
The text was updated successfully, but these errors were encountered:
If I understand the issue description correctly, the current ORT version does not allow me to specify a Maven profile to be used for the analysis. Only the default profile will be used. Is this correct?
sschuberth
changed the title
Take all Maven profiles into account instead of just the default one
Take only specified Maven profiles into account instead of the default one
Jun 9, 2021
A thought about the implementation: Conceptually, profile selection could work via something like "profile excludes" similar to scope / path excludes, in the sense that also dependencies from excluded profiles do not disappear completely, but are only marked as excluded.
Currently, ORT only considers dependencies of the Maven profile that is activated by default for the platform / environment ORT runs on. Ideally, ORT would instead enumerate all profiles and analyze each one separately. This could be modeled by "virtual" projects that are a combination of project name and profile name: A project "foo" with profiles "p1" and "p2" could be modeled as two projects "foo-p1" and "foo-p2", each with potentially different dependencies.
The text was updated successfully, but these errors were encountered: