【问题标题】:Vaadin Portlet maven dependency issueVaadin Portlet maven依赖问题
【发布时间】:2021-08-10 23:34:05
【问题描述】:

我正在阅读文档以创建我自己的 portlet: https://github.com/vaadin/flow-and-components-documentation/blob/master/documentation/portlet-support/portlet-02-creating-vaadin-portlets.asciidoc

问题似乎是maven依赖:

<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-portlet</artifactId>
    <version>1.0.0</version>
</dependency>

不再可用。

Failure to find com.vaadin:vaadin-portlet:jar:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

有人知道怎么解决吗? 提前致谢

【问题讨论】:

标签: vaadin portlet


【解决方案1】:

我认为该工件是在 Vaadin 自己的附加存储库中发布的,而不是在 maven Central 中。您需要将以下存储库添加到您的 pom.xml。

    <repository>
        <id>vaadin-addons</id>
        <url>https://maven.vaadin.com/vaadin-addons/</url>
    </repository>

【讨论】:

  • 感谢您的帮助。我下载了一个入门基础项目,所以它已经存在了,但不确定为什么找不到它
  • 我完成了手动下载1.0.0.beta3并在项目中使用但不确定与1.0.0相比是否有很大差异
猜你喜欢
  • 2020-10-21
  • 1970-01-01
  • 2021-12-06
  • 2011-10-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-11-26
  • 1970-01-01
相关资源
最近更新 更多