AnsweredAssumed Answered

Problème maven SDK3 - archetype

Question asked by livier on Jul 10, 2018

Bonjour,

 

J'essaie de monter un environnement de développement via maven.

J'ai suivi les préconisation suivantes Getting started with Alfresco SDK 3.0 | Alfresco Documentation 

 

Lorsque je lance la création de l'archetype  via la commande 

 mvn archetype:generate -Dfilter=org.alfresco:

Je reçois le log suivant :

 

[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: alfresco-allinone-archetype:3.0.1
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.someco
[INFO] Parameter: artifactId, Value: tutoAlfresco
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: tuto
[INFO] Parameter: packageInPathFormat, Value: tuto
[INFO] Parameter: package, Value: tuto
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: com.someco
[INFO] Parameter: artifactId, Value: tutoAlfresco
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.577 s
[INFO] Finished at: 2018-07-11T23:46:40+04:00
[INFO] Final Memory: 19M/981M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: /usr/local/src/apache-maven/bin/tutoAlfresco/pom.xml (Aucun fichier ou dossier de ce type) -> [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

 

Je travaille sous centos 7

D'avance merci pour votre aide

Outcomes