We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:default
:uberjar
Profiles both configured in :default and :uberjar are not packaged into uberjar.
:deps
Scenario A: the :deps profile is included in :default and :uberjar
:target-path "target/%s" :uberjar-name "uber.jar" :profiles {:default [:leiningen/default :deps] :uberjar [:deps] :deps {:dependencies [[org.postgresql/postgresql "42.2.19"]]}}
Scenario B: the :deps profile is included only in :uberjar
:target-path "target/%s" :uberjar-name "uber.jar" :profiles {:uberjar [:deps] :deps {:dependencies [[org.postgresql/postgresql "42.2.19"]]}}
lein do clean, uberjar && unzip -l target/uber.jar | grep postgres
Expected behavior In both scenarios, the uberjar should contain PostgreSQL classes
Environment
The text was updated successfully, but these errors were encountered:
as a workaround, I am using aliases with deps profile for development commands:
:target-path "target/%s" :uberjar-name "uber.jar" :profiles {:uberjar [:deps] :deps {:dependencies [[org.postgresql/postgresql "42.2.19"]]} :aliases {"test" ["with-profile" "+deps" "test"] "repl" ["with-profile" "+deps" "repl"]}
Sorry, something went wrong.
No branches or pull requests
Profiles both configured in
:default
and:uberjar
are not packaged into uberjar.:deps
with its own dependenciesScenario A: the
:deps
profile is included in:default
and:uberjar
Scenario B: the
:deps
profile is included only in:uberjar
Expected behavior
In both scenarios, the uberjar should contain PostgreSQL classes
Environment
The text was updated successfully, but these errors were encountered: