Unable to setup Camunda Maven Archetypes project

It looks like Maven Archetypes is broken for camunda-archetype-spring-boot and camunda-archetype-spring-boot-demo.

I am following the link: Maven Project Templates (Archetypes) | docs.camunda.org. It is stuck after 33 percent.



Tried couple of times, clearing Maven Cache files, clean start of Eclipse. No luck.

Hi @cpbpm,

your setup uses the interactive project generation. The last line in the screenshot requests an input from you.

You have to acknowledge the package name.

Hope this helps, Ingo

@Ingo_Richtsmeier , I did select the desired type(camunda-archetype-spring-boot) and downloaded few packages, then got stuck at 33%. Issue still persists.

I tested all the different archetypes and all are having same issue.

Hi @cpbpm,

after hitting Enter when the console window in Eclipse shows Y:, it worked on my machine:

[INFO] Scanning for projects...
Downloading from : https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading from : https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloaded from : https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 44 kB/s)
Downloaded from : https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 60 kB/s)
Downloading from : https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml
Downloaded from : https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml (980 B at 26 kB/s)
[INFO] 
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] >>> maven-archetype-plugin:3.2.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO] 
[INFO] <<< maven-archetype-plugin:3.2.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO] 
[INFO] 
[INFO] --- maven-archetype-plugin:3.2.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] Archetype repository not defined. Using the one from [org.camunda.bpm.archetype:camunda-archetype-spring-boot:7.19.0] found in catalog remote
[INFO] Using property: project-name = Camunda Spring Boot Application
[INFO] Using property: project-description = Spring Boot Application using [Camunda](http://docs.camunda.org).
[INFO] Using property: camunda-version = 7.19.0
[INFO] Using property: spring-boot-version = 2.7.9
[INFO] Using property: archetype-groupId = org.camunda.bpm.archetype
[INFO] Using property: archetype-artifactId = camunda-archetype-spring-boot
[INFO] Using property: archetype-version = 7.19.0
[INFO] Using property: groupId = com.camunda.consulting
[INFO] Using property: artifactId = testing-artifacts
[INFO] Using property: version = 0.0.1-SNAPSHOT
[INFO] Using property: package = com.camunda.consulting.testing_artifacts
Confirm properties configuration:
project-name: Camunda Spring Boot Application
project-description: Spring Boot Application using [Camunda](http://docs.camunda.org).
camunda-version: 7.19.0
spring-boot-version: 2.7.9
archetype-groupId: org.camunda.bpm.archetype
archetype-artifactId: camunda-archetype-spring-boot
archetype-version: 7.19.0
groupId: com.camunda.consulting
artifactId: testing-artifacts
version: 0.0.1-SNAPSHOT
package: com.camunda.consulting.testing_artifacts
 Y: : 
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: camunda-archetype-spring-boot:7.19.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.camunda.consulting
[INFO] Parameter: artifactId, Value: testing-artifacts
[INFO] Parameter: version, Value: 0.0.1-SNAPSHOT
[INFO] Parameter: package, Value: com.camunda.consulting.testing_artifacts
[INFO] Parameter: packageInPathFormat, Value: com/camunda/consulting/testing_artifacts
[INFO] Parameter: project-name, Value: Camunda Spring Boot Application
[INFO] Parameter: package, Value: com.camunda.consulting.testing_artifacts
[INFO] Parameter: archetype-groupId, Value: org.camunda.bpm.archetype
[INFO] Parameter: groupId, Value: com.camunda.consulting
[INFO] Parameter: camunda-version, Value: 7.19.0
[INFO] Parameter: artifactId, Value: testing-artifacts
[INFO] Parameter: project-description, Value: Spring Boot Application using [Camunda](http://docs.camunda.org).
[INFO] Parameter: spring-boot-version, Value: 2.7.9
[INFO] Parameter: version, Value: 0.0.1-SNAPSHOT
[INFO] Parameter: archetype-artifactId, Value: camunda-archetype-spring-boot
[INFO] Parameter: archetype-version, Value: 7.19.0
[INFO] Project created from Archetype in dir: C:\Users\Ingo Richtsmeier\workspaces\sts-2023-01\testing-artifacts
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.866 s
[INFO] Finished at: 2023-08-08T14:46:13+02:00
[INFO] ------------------------------------------------------------------------

Hope this helps, Ingo

Thank you for testing the same scenario. Would you mind sharing the IDE and JDK info. I will test in same IDE version and JDK. I am currently using OpenJDK 17 and Eclipse 2023 Edition.

Hi @cpbpm,

I’m on

Spring Tool Suite 4 

Version: 4.17.1.RELEASE
Build Id: 202301011401
Revision: 394b6c753a82ab73b912e8efdc97c92d30d07dfc

and running Java 17 as well.

Hope this helps, Ingo

Thanks Ingo, Found the root cause, I need to unselect the option “run archetype generation interactively” to create the project in Eclipse.