将存储库 Maven 转换为 sbt 解析器
Convert repository Maven to sbt resolver
我想知道 sbt 中这个 maven 存储库的等价物是什么:
专家:
<repositories>
<repository>
<id>hwr</id>
<name>Hortonworks repository</name>
<url>https://repo.hortonworks.com/content/repositories/releases/</url>
</repository>
<repository>
<id>spring</id>
<name>Spring repository</name>
<url>https://repo.spring.io/plugins-release/</url>
</repository>
</repositories>
我想知道在sbt中哪里可以添加id参数:
resolvers += "Hortonworks repository" at "https://repo.hortonworks.com/content/repositories/releases"
resolvers += "Spring repository" at "https://repo.spring.io/plugins-release/"
你有什么想法吗?谢谢
您的配置应该有效。不要以为你需要在sbt中添加id参数。
resolvers += "Hortonworks repository" at "https://repo.hortonworks.com/content/repositories/releases"
resolvers += "Spring repository" at "https://repo.spring.io/plugins-release/"
我想知道 sbt 中这个 maven 存储库的等价物是什么: 专家:
<repositories>
<repository>
<id>hwr</id>
<name>Hortonworks repository</name>
<url>https://repo.hortonworks.com/content/repositories/releases/</url>
</repository>
<repository>
<id>spring</id>
<name>Spring repository</name>
<url>https://repo.spring.io/plugins-release/</url>
</repository>
</repositories>
我想知道在sbt中哪里可以添加id参数:
resolvers += "Hortonworks repository" at "https://repo.hortonworks.com/content/repositories/releases"
resolvers += "Spring repository" at "https://repo.spring.io/plugins-release/"
你有什么想法吗?谢谢
您的配置应该有效。不要以为你需要在sbt中添加id参数。
resolvers += "Hortonworks repository" at "https://repo.hortonworks.com/content/repositories/releases"
resolvers += "Spring repository" at "https://repo.spring.io/plugins-release/"