Fork me on GitHub
#leiningen
<
2015-11-28
>
hlship00:11:24

Is there a way to determine which profiles are active, when a middleware is invoked/

hlship00:11:57

My situation; the shared-deps plugin updates the :dependencies key in the project.

hlship00:11:09

That's causing a problem with pom generation, as dependency sets that are actually in the

hlship00:11:20

:dev profile end up looking like non-:dev dependencies.

hlship00:11:35

So I need to iterate through the active profiles, get just the dependency sets for that profile,

hlship00:11:48

and update the :dependencies key in correct profile.

hlship00:11:55

And I'm not sure how to get that information in my middleware.

hlship00:11:11

Oh, I think I found it. :active-profiles in the project meta.