Setup Vaadin framework 8.0.0.rc1 failure

According to
https://vaadin.com/blog/-/blogs/vaadin-8-beta-is-out-we-need-your-help-?_33_delta=20&_33_keywords=&_33_advancedSearch=false&_33_andOperator=true&p_r_p_564233524_resetCur=false&_33_cur=2
I used the following comand:

mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeRepository=https://maven.vaadin.com/vaadin-prereleases -DarchetypeVersion=8.0.0.rc1 Maven failed and the end of the output reads

[code]
[INFO]
Generating project in Interactive mode
[INFO]
Archetype repository not defined. Using the one from [com.vaadin:vaadin-a
rchetype-application:7.7.7] found in catalog remote
[WARNING]
The POM for com.vaadin:vaadin-archetype-application:jar:8.0.0.rc1 is m
issing, no dependency information available
[INFO]

[INFO]
BUILD FAILURE
[INFO]

[INFO]
Total time: 4.352 s
[INFO]
Finished at: 2017-02-15T09:19:45+01:00
[INFO]
Final Memory: 14M/163M
[INFO]

[ERROR]
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3
.0.0:generate (default-cli) on project standalone-pom: The desired archetype doe
s not exist (com.vaadin:vaadin-archetype-application:8.0.0.rc1) → [Help 1]

[ERROR]

[ERROR]
To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR]
Re-run Maven using the -X switch to enable full debug logging.
[ERROR]

[ERROR]
For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR]
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[/code]Is there currently a general problem with the archetype?

What maven version do you have?

3.3.9

Works for me. Try again, maybe?

-Olli

I think it is the same problem reported in https://vaadin.com/forum#!/thread/15182890

It seems that starting from 7.7.4 the parent of the archetype has been changed from vaadin-parent to vaadin-archetypes, but the latter is not deployed on maven central

Edit:
vaadin-archetypes is missing also in vaadin prereleases repository

I can confirm this. We are going to release 8.0.0.rc2 today to fix this.

Actually, this issue was caused by the maven-archetype-plugin 3.0.0 update, released last week. It seems to require the parent of the archetype to be deployed.

For 7.7.4-7.7.7 we have fixed this for archetype plugin version 3.0.0 by deploying
vaadin-archetypes
to maven central.

For 8.0.0.rc1 and 8.0.0.rc2 it is not working with archetype plugin version 3.0.0 because it is ignoring the -DartifactRepository parameter. You can get around that by using previous version of archetype plugin, with e.g.

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeVersion=8.0.0.rc1 -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DgroupId=on.se -DartifactId=vaikeaa -Dversion=1.0-SNAPSHOT -DarchetypeRepository=http://maven.vaadin.com/vaadin-prereleases