简体   繁体   中英

Vaadin Portlet maven dependency issue

I'm reading the documentation to create my own portlets: https://github.com/vaadin/flow-and-components-documentation/blob/master/documentation/portlet-support/portlet-02-creating-vaadin-portlets.asciidoc

The issue is that it seems that the maven dependency:

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

is not available anymore.

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

Anyone knows how to solve that? Thanks in advance

I think the artifact is released in Vaadin's own add-on repository, not in maven central. You need to add the following reposiotory to your pom.xml.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM