Vaadin Portlet Maven 依赖问题

问题描述

我正在阅读文档以创建我自己的 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 自己的附加存储库中发布的,而不是在 maven 中心发布。您需要将以下存储库添加到您的 pom.xml。

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