Vaadin Portlet maven dependency issue

44 Views Asked by At

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

1

There are 1 best solutions below

2
Tatu Lund On

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>