leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
2021-02-09T10:33:39.012Z

I would expect that when I generate a pom with:

lein with-profile my-profile pom
and my project.clj looks like this:
(defproject my-project "0.1.0-SNAPSHOT"
  :resource-paths ["resources"]
  :profiles {:my-profile {:resource-paths ["prod/resources"]}})
that prod/resources would be included in the resources, but it doesn't seem the case:
<resources>
 <resource>
  <directory>resources</directory>
 </resource>
</resources>
What's the reason for this or what am I doing wrong?