Coder Social home page Coder Social logo

Don't leak dev-time dependencies about morse HOT 3 CLOSED

otann avatar otann commented on May 27, 2024
Don't leak dev-time dependencies

from morse.

Comments (3)

Deraen avatar Deraen commented on May 27, 2024

So I tested how Lein and Ultra work, and looks like the solution is to add ultra to :repl profile instead of :dev: https://github.com/Otann/morse/blob/master/project.clj#L15

This can be tested by running lein install and checking the created pom file:

# ultra on dev profile
~/.m2/repository/plugin-dep-leak/plugin-dep-leak/0.1.0-SNAPSHOT master*
❯ cat plugin-dep-leak-0.1.0-SNAPSHOT.pom | grep ultra
      <artifactId>ultra</artifactId>

# ultra on repl profile
~/.m2/repository/plugin-dep-leak/plugin-dep-leak/0.1.0-SNAPSHOT master*
❯ cat plugin-dep-leak-0.1.0-SNAPSHOT.pom | grep ultra

from morse.

Otann avatar Otann commented on May 27, 2024

Changed ultra to humane-test-output. And ultra should go to :user profile anyway ;)
Released 0.2.7

$ boot -d morse show -d
Retrieving morse-0.2.6.pom from https://repo.clojars.org/ (3k)
Retrieving morse-0.2.6.jar from https://repo.clojars.org/ (14k)
Classpath conflict: org.clojure/clojure version 1.7.0 already loaded, NOT loading version 1.4.0
[morse "0.2.6"]
├── [cheshire "5.5.0"]
│   ├── [com.fasterxml.jackson.core/jackson-core "2.5.3"]
│   ├── [com.fasterxml.jackson.dataformat/jackson-dataformat-cbor "2.5.3"]
│   ├── [com.fasterxml.jackson.dataformat/jackson-dataformat-smile "2.5.3"]
│   └── [tigris "0.1.1"]
├── [clj-http "2.1.0"]
│   ├── [commons-codec "1.10" :exclusions [[org.clojure/clojure]]]
│   ├── [commons-io "2.4" :exclusions [[org.clojure/clojure]]]
│   ├── [org.apache.httpcomponents/httpclient "4.5.1" :exclusions [[org.clojure/clojure]]]
│   │   └── [commons-logging "1.2"]
│   ├── [org.apache.httpcomponents/httpcore "4.4.4" :exclusions [[org.clojure/clojure]]]
│   ├── [org.apache.httpcomponents/httpmime "4.5.1" :exclusions [[org.clojure/clojure]]]
│   ├── [potemkin "0.4.3" :exclusions [[org.clojure/clojure]]]
│   │   ├── [clj-tuple "0.2.2"]
│   │   └── [riddley "0.1.12"]
│   └── [slingshot "0.12.2" :exclusions [[org.clojure/clojure]]]
├── [clj-stacktrace "0.2.8"]
├── [org.clojure/core.async "0.2.374"]
│   └── [org.clojure/tools.analyzer.jvm "0.6.9"]
│       ├── [org.clojure/core.memoize "0.5.8"]
│       │   └── [org.clojure/core.cache "0.6.4"]
│       │       └── [org.clojure/data.priority-map "0.0.4"]
│       ├── [org.clojure/tools.analyzer "0.6.7"]
│       ├── [org.clojure/tools.reader "1.0.0-alpha1"]
│       └── [org.ow2.asm/asm-all "4.2"]
├── [org.clojure/tools.logging "0.3.1"]
└── [org.clojure/tools.macro "0.1.5"]
    └── [org.clojure/clojure "1.4.0"]

from morse.

martinklepsch avatar martinklepsch commented on May 27, 2024

Awesome, thank you very much! 👍

from morse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.