Please try again with the -U switch. The archetype is in the archetype catalog of Maven Central (http://repo1.maven.org/maven2/archetype-catalog.xml), and your command works for me, so I suspect your archetype catalog was cached somehow incorrectly.
Note that for pre-releases (such as Vaadin 8.0.0.rc1), you need to give an additional parameter or two to specify to use the pre-release repository by adding the parameter
-DarchetypeRepository=https://maven.vaadin.com/vaadin-prereleases .
Henri, I can reproduce this. I tried executing mvn with the -X switch and I see
[DEBUG]
Searching for remote catalog: https://repo.maven.apache.org/maven2/archetype-catalog.xml
[DEBUG]
Using catalog /Users/ollimurto/.m2/repository/archetype-catalog.xml
[INFO]
Archetype repository not defined. Using the one from [com.vaadin:vaadin-archetype-application:7.7.7]
found in catalog remote
[DEBUG]
Not found archetype com.vaadin:vaadin-archetype-application:7.7.7 in cache
[DEBUG]
Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
[DEBUG]
Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
[INFO]
Downloading: https://repo.maven.apache.org/maven2/com/vaadin/vaadin-archetypes/7.7.7/vaadin-archetypes-7.7.7.pom
[DEBUG]
Writing tracking file /Users/ollimurto/.m2/repository/com/vaadin/vaadin-archetypes/7.7.7/vaadin-archetypes-7.7.7.pom.lastUpdated
[DEBUG]
Archetype com.vaadin:vaadin-archetype-application:7.7.7 doesn't exist
org.apache.maven.archetype.downloader.DownloadException: Error downloading com.vaadin:vaadin-archetype-application:jar:7.7.7.
...
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.vaadin:vaadin-archetypes:pom:7.7.7 in central (https://repo.maven.apache.org/maven2)
in the stacktrace…
I think that should be “vaadin-archetype-application” instead of “vaadin-archetypes”, which is not found in the repository, correct?
Having this issue too, the problem is that vaadin-archetype-application defines vaadin-archetypes as parent pom, and that parent pom is the one missing @ maven central repo.
This was caused by maven-archetype-plugin version 3.0.0 update, which requires the parent to be deployed. We’ve fixed this now for versions 7.7.4-7.7.7 by deploying vaadin-archetypes to maven central.