Comments (5)
I'm unlikely to implement this myself since I'm not convinced of the reasoning. (If you use proprietary jars that aren't in any public maven repos, you should put them in private maven repos. It's a bit more work up front, but it will pay off.) But I would certainly accept a patch that implemented it cleanly.
from leiningen.
I would like this feature so that I can use git submodules in a project and automatically add the submodule src directories to the classpath. Currently I'm not sure how to setup leiningen with submodules without something that lets me add to the classpath. I'll post on the group, but it seems like exactly this feature would do the trick.
from leiningen.
The problem with putting jars in private maven repo's, is that when there's a dozen or so jar files, it becomes a pain... Especially when I have to tell every developer on the project to install them into a private maven repo. This is error prone (though admitedly I could create a script to do it).
I realise that I could probably setup a server acting as a maven repo or something, but this is fragile to developers working remotely (as I don't want to have to setup a server accessible to the internet).
I've heard people mention that clojure does something funky with classloaders (which prevents it being used with for example OSGI)... How are Clojure's classloaders structured and would it be an impedement to retroactively loading classes in the system classloader?
from leiningen.
The problem with putting jars in private maven repo's, is that when there's a dozen or so jar files, it becomes a pain... Especially when I have to tell every developer on the project to install them into a private maven repo.
I don't think you understand; I'm not talking about a local maven repo, I'm talking about one that's shared among all developers on the project, but requires a password to access. That way you know that everyone's always working from the exact same versions.
Anyway, I will take a patch for this if someone decides to implement it.
from leiningen.
This is actually covered pretty well by the checkout dependencies feature. I'll be sure it's documented for the release.
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
- test-paths are included on classpath when building uberjar HOT 4
- 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
- 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.