vaadin-archetype-widget - two folders with same name

Hi all,

Running the below command:

mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-widget -DarchetypeVersion=LATEST -DgroupId=com.company -DartifactId=myproject -Dversion=1.0.0 -Dpackaging=war

Generates:

  • myproject
    • myproject
    • myproject-demo

If this is imported with eclipse, only the root folder is used, and there would be a compilation errors.

The archetype should generate the root folder as “myproject-root” to match the pom.xml artifactId (or rename the child to myproject-widget)