Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Not able to download SNAPSHOT dependencies.
Steps to replicate:
git clone firstname.lastname@example.org:vaadin/vaadin-grid-flow.git.
- Run maven install by execute
mvn clean install
- The build will failed with the following error:
[ERROR] Failed to execute goal on project vaadin-grid-flow: Could not resolve dependencies for project com.vaadin:vaadin-grid-flow:jar:3.1-SNAPSHOT: The following artifacts could not be resolved: com.vaadin:flow:pom:1.5-SNAPSHOT, com.vaadin:flow-data:jar:1.5-SNAPSHOT, com.vaadin:flow-osgi:jar:1.5-SNAPSHOT, com.vaadin:vaadin-context-menu-flow:jar:2.0-SNAPSHOT, com.vaadin:flow-test-generic:jar:1.5-SNAPSHOT, com.vaadin:flow-test-util:jar:1.5-SNAPSHOT, com.vaadin:vaadin-text-field-flow:jar:1.3-SNAPSHOT: Failure to find com.vaadin:flow:pom:1.5-SNAPSHOT in https://maven.vaadin.com/vaadin-prereleases was cached in the local repository, resolution will not be reattempted until the update interval of vaadin-prereleases has elapsed or updates are forced -> [Help 1]
When I try to access https://oss.sonatype.org/content/repositories/vaadin-snapshots/ through web browser it show error
404 - Repository "Vaadin Snapshots" [id=vaadin-snapshots] exists but is not exposed.
I did try to clear my repository by running
rm -rf ~/.m2/repository/com/vaadin/flow/, but it still show the same error.
It fixed now. I can access https://oss.sonatype.org/content/repositories/vaadin-snapshots/. Thanks to whoever fixed this problem.