我已经将我的Protobuf Schema发布到了http://platform.here.com,我也想将同样的模式发布到https://platform.hereolp.cn,但是我找不到任何文档可以这样做。
我找到的唯一文档是这个:https://developer.here.com/olp/documentation/archetypes/dev_guide/index.html
发布于 2019-08-04 14:18:31
我设法发布了我的模式。我从https://platform.hereolp.cn下载了不同的凭证集(credentials.properties),类似于here,然后将其保存到~/.here目录。
我还切换到了最新的HERE Wagon插件1.6.1,正如dependency management中描述的那样。我已经更改了版本和存储库url:
<artifact.wagon.version>1.6.1</artifact.wagon.version>
和
<repositories>
<repository>
<id>HERE_PLATFORM_ARTIFACT</id>
<layout>default</layout>
<url>here+artifact-service://artifact-service</url>
</repository>
</repositories>似乎在这里,根据credentials.properties文件的不同,旅行车插件会以不同的方式解析存储库链接here+artifact-service://artifact-service。
现在可以在不更改代码的情况下将架构发布到两个网站。我只需要更改~/.here目录中的credentials.properties
https://stackoverflow.com/questions/57342723
复制相似问题