<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged artifact registry</title>
<link>https://ask.clojure.org/index.php/tag/artifact%20registry</link>
<description>Powered by Question2Answer</description>
<item>
<title>Add support for Google Artifact Registry in tools.deps and clj</title>
<link>https://ask.clojure.org/index.php/9804/add-support-for-google-artifact-registry-tools-deps-and-clj</link>
<description>&lt;p&gt;Google&#039;s Artifact Registry can be used as a Maven repository (see &lt;a rel=&quot;nofollow&quot; href=&quot;https://cloud.google.com/artifact-registry/docs/java/quickstart&quot;&gt;https://cloud.google.com/artifact-registry/docs/java/quickstart&lt;/a&gt;) but deps.edn cannot currently refer to this as it does not provide hooks for custom wagons/transports.&lt;/p&gt;
&lt;p&gt;In tools.deps, there are a couple ways this could be done. First, there is an existing Maven wagon for accessing artifact registry, so adding that + the wagon transporter (we use the newer transporter framework) + registration would allow custom urls to work with the existing code.&lt;/p&gt;
&lt;p&gt;Or, another option would be to write a custom deps procurer that talks directly to Artifact Registry, not sure of the effort there but can&#039;t possibly be too much. Probably some subset of what the code at &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/GoogleCloudPlatform/artifact-registry-maven-tools&quot;&gt;https://github.com/GoogleCloudPlatform/artifact-registry-maven-tools&lt;/a&gt; is doing.  Probably the hardest part is figuring out the transfer of credentials. One of the benefits of this would probably be a smaller set of external deps.&lt;/p&gt;
&lt;p&gt;And finally, clj would need a way to provide custom procurer support, which we have not yet designed.&lt;/p&gt;
</description>
<category>tools.deps</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9804/add-support-for-google-artifact-registry-tools-deps-and-clj</guid>
<pubDate>Fri, 13 Nov 2020 22:41:44 +0000</pubDate>
</item>
</channel>
</rss>