spring-cloud-dataflow 从本地存储库注册自定义模块

spring-cloud-dataflow register custom module from local repository

我有一个带有父级 spring-cloud-dataflow-parent 的 jar,我使用本地存储库 --coordinates 注册了它。但是一旦我在其上执行模块信息,我就会收到此错误:java.lang.RuntimeException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact ... in repository 1 (https://repo.spring.io/libs-snapshot) 这个开放的问题似乎不一样:https://github.com/spring-cloud/spring-cloud-dataflow/issues/191

看起来 AetherModuleResolver 没有找到我在 ~/.m2/repository... 中的模块,并回退到默认存储库。

我尝试修改.../springframework/cloud/dataflow/admin/config/AdminProperties.java 进行测试但没有成功

我尝试修改 ~/.m2/repository/org/springframework/cloud/spring-cloud-stream-module-launcher/1.0 中的默认存储库。 0.BUILD-SNAPSHOT$ vi META-INF/spring-configuration-metadata.json 但没有成功

马特:对延迟回复表示歉意。

自从您尝试在 Spring Cloud Data Flow 中注册自定义应用程序后,我们进行了很多改进。目前,支持从 mavenhttpclasspathfile-system 或作为 docker 工件注册自定义应用程序。文档 PR 即将合并。

请尝试最新的,如果您发现任何其他问题,请告诉我们and/or反馈。