You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Grzegorz Grzybek (Jira)" <ji...@apache.org> on 2022/12/06 12:56:00 UTC

[jira] [Commented] (CAMEL-11767) camel-catalog-maven - Maybe use shrinkwrap instead of gradle

    [ https://issues.apache.org/jira/browse/CAMEL-11767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17643867#comment-17643867 ] 

Grzegorz Grzybek commented on CAMEL-11767:
------------------------------------------

For the context, {{groovy.grape.Grape#grab()}} is used in:

h5. Directly in Camel 3.x
* {{camel-grape}} component (that's obvious)
* {{catalog/camel-catalog-maven}}:
** org.apache.camel.catalog.maven.DefaultMavenArtifactProvider#addArtifactToCatalog() - implementation of org.apache.camel.catalog.maven.MavenArtifactProvider#addArtifactToCatalog()
** org.apache.camel.catalog.maven.MavenVersionManager#loadRuntimeProviderVersion() - implementation of org.apache.camel.catalog.VersionManager#loadRuntimeProviderVersion()
** org.apache.camel.catalog.maven.MavenVersionManager#loadVersion() - implementation of org.apache.camel.catalog.VersionManager#loadVersion()

h5. Camel 2.x
* There is platforms/camel-catalog-rest/src/main/java/org/apache/camel/catalog/rest/CamelCatalogRest.java, but it was removed in https://github.com/apache/camel/commit/28e7cc87beb9

h5. Indirectly, in other projects that use Camel 3.x
* camel-tooling/camel-idea-plugin
** com.github.cameltooling.idea.service.CamelMavenVersionManager#loadRuntimeProviderVersion - implementation of org.apache.camel.catalog.VersionManager#loadRuntimeProviderVersion()
** com.github.cameltooling.idea.service.CamelMavenVersionManager#loadVersion() - implementation of org.apache.camel.catalog.VersionManager#loadVersion()
** com.github.cameltooling.idea.runner.debugger.CamelDebuggerPatcher.ExecutionMode#autoAddCamelDebugger() - in com.github.cameltooling.idea.runner.debugger.CamelDebuggerPatcher.ExecutionMode#JAVA enum
* camel-tooling/camel-language-server
** com.github.cameltooling.lsp.internal.CamelTextDocumentService#updateCatalogVersion() instantiates {{org.apache.camel.catalog.maven.MavenVersionManager}}
* syndesisio/connectors was using camel-catalog, but it's no longer doing it (or rather the project is archived and is using Camel 2 anyway)
* syndesisio/syndesis-rest was using camel-catalog, but it's no longer doing it (or rather the project is archived and is using Camel 2 anyway)

> camel-catalog-maven - Maybe use shrinkwrap instead of gradle
> ------------------------------------------------------------
>
>                 Key: CAMEL-11767
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11767
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-catalog, tooling
>            Reporter: Claus Ibsen
>            Assignee: Grzegorz Grzybek
>            Priority: Minor
>             Fix For: 3.x
>
>
> We can look at using shrinkwrap resolver which has a nice API for downloading Maven JARs. We just need that to be able to download the camel-catalog JAR of a given version
> https://github.com/shrinkwrap/resolver



--
This message was sent by Atlassian Jira
(v8.20.10#820010)