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
Bonjour,
En recherchant un peu on trouve beaucoup de cas similaires lorsque l'on veut créer une application dans un répertoire ou l'on ne possède pas tout les droits.
As-tu testé de créer un répertoire dédié, puis relancer la commande à partir de ce répertoire ?
Cordialement,
Yann
Discussions about Alfresco Content Services and Alfresco Process Services in French
Related:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.