<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged mvn repos</title>
<link>https://ask.clojure.org/index.php/tag/mvn%20repos</link>
<description>Powered by Question2Answer</description>
<item>
<title>Programmatically connect dependencies to the maven repos that provide them</title>
<link>https://ask.clojure.org/index.php/12383/programmatically-connect-dependencies-maven-repos-provide</link>
<description>&lt;p&gt;As a Clojure developer,&lt;br&gt;
I want to be able to link project dependencies to the maven repos that provide them&lt;br&gt;
so that a) tools that work with dependencies (e.g. &lt;code&gt;nvd-clojure&lt;/code&gt;, &lt;code&gt;clj-watson&lt;/code&gt;) have more first-hand information to work with, b) I can easily find out custom maven repos that are no longer used and c) get a better understanding in general of what my project is composed of.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Workaround&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;clj -Sdeps &#039;{:mvn/local-repo &quot;tmp&quot;}&#039; -Stree&lt;/code&gt; uses a custom local maven repo to force a redownload of the jars and provides a way to do the above by looking at the messages (e.g. &lt;code&gt;Downloading: org/clojure/clojure/1.11.1/clojure-1.11.1.pom from central&lt;/code&gt;), so it can be ok in some cases.&lt;/p&gt;
&lt;p&gt;Would you consider simplifying this process by providing a way to get that information as data? I would love to have it in &lt;code&gt;clj -X:deps tree :format :edn&lt;/code&gt; for instance.&lt;/p&gt;
</description>
<category>Clojure CLI</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12383/programmatically-connect-dependencies-maven-repos-provide</guid>
<pubDate>Fri, 11 Nov 2022 20:38:29 +0000</pubDate>
</item>
<item>
<title>Support `:mvn/repos` inside an alias</title>
<link>https://ask.clojure.org/index.php/12367/support-mvn-repos-inside-an-alias</link>
<description>&lt;p&gt;This is similar to &lt;a rel=&quot;nofollow&quot; href=&quot;https://ask.clojure.org/index.php/11711/set-mvn-local-repo-via-alias&quot;&gt;https://ask.clojure.org/index.php/11711/set-mvn-local-repo-via-alias&lt;/a&gt;, sorry if I should have just added a note there instead of opening another question.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;:mvn/repos&lt;/code&gt; does not seem to work inside of an alias either -- only at the top level of &lt;code&gt;deps.edn&lt;/code&gt;. If this is intentional, it would be a nicer experience if CLI logged some sort of &quot;&lt;code&gt;:mvn/repos&lt;/code&gt; is not supported inside of aliases&quot; warning on launch.&lt;/p&gt;
</description>
<category>Tools</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12367/support-mvn-repos-inside-an-alias</guid>
<pubDate>Tue, 08 Nov 2022 19:08:24 +0000</pubDate>
</item>
</channel>
</rss>