Olical / depot

Find newer versions of your dependencies in your deps.edn file
https://clojars.org/olical/depot
The Unlicense
256 stars 14 forks source link

The 2.0.0 version jar looks empty (no clojure source) #44

Closed niwinz closed 4 years ago

niwinz commented 4 years ago

Hello!

I have noticed after update to 2.0.0 that the jar does not contaiins clojure/java code.

I first found the following error:

user@main:~/uxbox/frontend/ > clojure -A:dev:outdated
Downloading: olical/depot/2.0.0/depot-2.0.0.pom from clojars
Downloading: olical/depot/2.0.0/depot-2.0.0.jar from clojars
Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
Could not locate depot/outdated/main__init.class, depot/outdated/main.clj or depot/outdated/main.cljc on classpath.

Full report at:
/tmp/clojure-8857071319473603149.edn

After looking at the downloaded jar, i found the following: depot

Olical commented 4 years ago

Oh no! I did this from a machine that I haven't deployed from before and it did have some weird complaints. Thanks for letting me know, I'll fix it.

On Wed, 1 Jul 2020, 08:21 Andrey Antukh, notifications@github.com wrote:

Hello!

I have noticed after update to 2.0.0 that the jar does not contaiins clojure/java code.

I first found the following error:

user@main:~/uxbox/frontend depot / > clojure -A:dev:outdated Downloading: olical/depot/2.0.0/depot-2.0.0.pom from clojars Downloading: olical/depot/2.0.0/depot-2.0.0.jar from clojars Execution error (FileNotFoundException) at clojure.main/main (main.java:40). Could not locate depot/outdated/main__init.class, depot/outdated/main.clj or depot/outdated/main.cljc on classpath.

Full report at: /tmp/clojure-8857071319473603149.edn

After looking at the downloaded jar, i found the following: [image: depot] https://user-images.githubusercontent.com/843689/86214870-13c15e80-bb7c-11ea-984d-cc5381e3c02f.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Olical/depot/issues/44, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACM6XM72MCQEFXWRRMTJBDRZLPWNANCNFSM4ONDV5HQ .

Olical commented 4 years ago

Fixed in v2.0.1, my pom.xml was slightly wonky.