如何将我的 Protobuf Schema 发布到 HERE OLP 中国?
How can I publish my Protobuf Schema to HERE OLP China?
我已将我的 Protobuf 架构发布到 http://platform.here.com and I would like to publish the same schema to https://platform.hereolp.cn,但我找不到任何文档来说明如何执行此操作。
我找到的唯一文档是这个:https://developer.here.com/olp/documentation/archetypes/dev_guide/index.html
我成功发布了我的架构。我从 https://platform.hereolp.cn, similar as it is written here 下载了不同的凭据集 (credentials.properties
),然后将其保存到 ~/.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>
HERE Wagon 插件似乎根据 credentials.properties
文件解析存储库 link here+artifact-service://artifact-service
。
现在无需更改代码即可将架构发布到两个网站。我只需要更改 ~/.here
目录中的 credentials.properties
我已将我的 Protobuf 架构发布到 http://platform.here.com and I would like to publish the same schema to https://platform.hereolp.cn,但我找不到任何文档来说明如何执行此操作。
我找到的唯一文档是这个:https://developer.here.com/olp/documentation/archetypes/dev_guide/index.html
我成功发布了我的架构。我从 https://platform.hereolp.cn, similar as it is written here 下载了不同的凭据集 (credentials.properties
),然后将其保存到 ~/.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>
HERE Wagon 插件似乎根据 credentials.properties
文件解析存储库 link here+artifact-service://artifact-service
。
现在无需更改代码即可将架构发布到两个网站。我只需要更改 ~/.here
目录中的 credentials.properties