[M2]Pb pour déployer un site
Bonjour,
J'essaie de déployer un site avec la commande :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Maven Quick Start Archetype
[INFO] task-segment: [site-deploy]
[INFO] -------------------------------------------------------------------------
---
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [site:site]
[INFO] Generate "Project Team" report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[INFO] [site:deploy]
The authenticity of host '127.0.0.1' can't be established.
RSA key fingerprint is 9b:e6:57:c0:57:16:9d:15:d2:87:8d:ce:45:af:c4:ad.
Are you sure you want to continue connecting? (yes/no): |
Déjà on voit 2 ERROR dans ce log , et je ne sais pas d'où ils proviennent ?
lEnsuite je tape mon password
Code:
: Password for Administrateur@127.0.0.1:
Et j'ai la sortie suivante :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Executing command: mkdir -p /.
Executing command: mkdir -p /.
Executing command: scp -t /./wagon50073.zip
Uploading: ./wagon50073.zip to scp://127.0.0.1
########################
Transfer finished. 94248 bytes copied in 0.093 seconds
Executing command: cd /.; unzip -q -o wagon50073.zip; rm -f wagon50073.zip
scp://127.0.0.1 - Session: Disconnecting
scp://127.0.0.1 - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error uploading site
Embedded error: Error performing commands for file transfer
Exit code: 0 - unzip: not found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Tue Jul 11 17:42:18 CEST 2006
[INFO] Final Memory: 11M/21M
[INFO] ------------------------------------------------------------------------ |
A noter que l'execution de "Executing command: mkdir -p /." m'ouvre une message BOX , me disant en gros que cygintl-2.dll est introuvable , ???
J'ai paramétré le pom.xml avec :
Code:
1 2 3 4
| <site>
<id>ssh-repository</id>
<url>scp://127.0.0.1</url>
</site> |
Et le fichier settings.xml avec :
Code:
1 2 3 4 5 6 7 8 9 10
| <server>
<id>ssh-repository</id>
<username>Administrateur</username>
<privateKey/> <!-- /path/to/your/private/key</privateKey> not needed if using pageant -->
<configuration>
<sshExecutable>plink</sshExecutable>
<scpExecutable>pscp</scpExecutable>
<sshArgs/>
</configuration>
</server> |
J'ai installé et configuré un serveur SSH ( openSSH pour windows ) , et j'arrive à y accéder avec PUTTY
Et rien n'est uploadé dans le répertoire d:\ROOTSSH ( paramétré dans la registry , répertoire dans lequel j'accède via PUTTY )
Par contre , j'ai des fichiers zip comme wagon44509.zip ( comme on peut le voir dans les logs ) qui se retrouve à la racine de mon répertoire d'installation d'openSSH:?
Aurais mal configuré quelque chose ?
Merci d'avance