Comments (4)
Aha; I see now, I was running lein new foo
instead of lein new app foo
which meant that there was no :aot :all
in the project.clj
.
The core of this issue is that because of the AOT settings, the project is first compiled as-is, then the profile settings are applied, then the jar/uberjar is created. So the tests are still excluded from the artifact, but they are present during the AOT phase. We'll have to see if we can get the profile merged earlier on in the process to fix this.
from leiningen.
Sorry, I'm unable to reproduce this problem with the steps given. Is it possible you have a plugin installed in your user.clj
which is triggering this?
from leiningen.
I believe that I've disabled all plugins
$ ls ~/.lein/
profiles.clj.bak repl-history self-installs
Is there anywhere else they could be getting installed?
Here's the repo I'm working with in case there's something that could cause our templates to be different: https://github.com/lverns/repro-lein-2808
from leiningen.
I think 6e17ebb fixes this.
from leiningen.
Related Issues (20)
- Bump Clojure to 1.11 HOT 1
- Looking to Build Leiningen from Source HOT 6
- lein deps hangs and exits due to StackOverflowError HOT 2
- Moving the repository to a new host HOT 13
- Lein uberjar producing different results to jar in different environments ( Ubuntu vs. OS X ) HOT 5
- Leiningen Homebrew 2.9.10 Upgrade Failing HOT 1
- Use :check-paths in check task if specified HOT 4
- CVE-2022-36033: Upgrade jsoup to version 1.15.3 HOT 3
- Leiningen 2.9.1 with java 7 HOT 2
- Add more versatile dependency/plugin resolution options (issue with plugin resolution order) HOT 1
- changing the error message if a parent pom file is missing HOT 1
- Global :exclusions in profile do not apply to root :dependencies HOT 6
- A way to pass a profile to generated jar HOT 1
- Leiningen 2.11.0 breaks Eastwood HOT 12
- Leiningen hangs instead of complaining about not finding JAVA_HOME HOT 1
- Bump default clojure version to fix CVE-2024-22871 HOT 3
- lein doesn't fully reify org.apache.maven.wagon.Wagon HOT 1
- `lein repl` gets stuck when adding opentelemetry agent jar as `:jvm-opts` in a project that has `:java-source-paths`
- Java installed by sdkman not being recognized on emacs+cider runs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leiningen.