Cumulocity-IoT / cumulocity-microservice-archetype

Maven archetype for cumulocity microservice. Developed by Global Competency Center IoT
Apache License 2.0
4 stars 1 forks source link

:generate does not complete #5

Closed joerghartmann closed 2 years ago

joerghartmann commented 2 years ago

Please see the log below.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  32.263 s
[INFO] Finished at: 2022-06-30T11:07:25+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project cumulocity-microservice-archetype: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1]
[ERROR]
[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]
[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
PestusAtSAG commented 2 years ago

It is important to run the generation script not in an cumulocity-microservice-archetype project. Before you run the archetype you have to leave the archetype folder.

~/Development/workspace/cumulocity-microservice-archetype $ cd ..