Command Line Maven Install of Vaadin 8.5.2 Does not work.

Ok. So I broke down and am learning Maven. In this spirit, I want to create Vaadin projects from Maven.

In this case, 8.5.2. I went here: https://vaadin.com/start/framework/project-base

And I got this from the page:

mvn archetype:generate -DarchetypeGroupId=com.Vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=8.5.2

I ran this from the command line and got the following …

[INFO]
 Scanning for projects...
[INFO]
 ------------------------------------------------------------------------
[INFO]
 Building Maven Stub Project (No POM) 1
[INFO]
 ------------------------------------------------------------------------
[INFO]
 >>> maven-archetype-plugin:2.2:generate (default-cli) > generate-sources@ standalone-pom >>>
[INFO]
 <<< maven-archetype-plugin:2.2:generate (default-cli) < generate-sources@ standalone-pom <<<
[INFO]
 --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---
[INFO]
 Generating project in Interactive mode
[WARNING]
 Archetype not found in any catalog. Falling back to central repository (http://repo1.maven.org/maven2).
[WARNING]
 Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.

Downloading from vaadin-archetype-application-repo: http://repo1.maven.org/maven2/com/Vaadin/vaadin-archetype-application/8.5.2/vaadin-archetype-application-8.5.2.jar

[INFO]
 ------------------------------------------------------------------------
[INFO]
 BUILD FAILURE
[INFO]
 ------------------------------------------------------------------------
[INFO]
 Total time: 5.331 s
[INFO]
 Finished at: 2018-09-20T13:35:24-07:00
[INFO]
 Final Memory: 15M/185M
[INFO]
 ------------------------------------------------------------------------
[ERROR]
 Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2
.2:generate (default-cli) on project standalone-pom: The desired archetype does
not exist (com.Vaadin:vaadin-archetype-application:8.5.2) -> [Help 1]


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

[ERROR]
 For more information about the errors and possible solutions, please read the following articles:
[ERROR]
 [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

So I copy from the error to the URL bar in browser:
http://repo1.maven.org/maven2/com/Vaadin/vaadin-archetype-application/8.5.2/vaadin-archetype-application-8.5.2.jar

Get file not found in browser. So there is something wrong with maven

When I change the URL to this, it wants to download the JAR.
http://repo1.maven.org/maven2/com/vaadin/vaadin-archetype-application/8.5.2/vaadin-archetype-application-8.5.2.jar

Seems Vaadin is capitalized in maven but the URL is actually not capitalized, as so.

I don’t know how to proceed.

I think, the culprit is this one

mvn archetype:generate -DarchetypeGroupId=com.Vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=8.5.2

And it should be

mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=8.5.2

Fixed. Thanks.