Dans le but d'installer le plugin Maven pour Eclipse j'ai installé Maven et lancé la commande suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
mvn -Declipse.workspace=C:\Documents and Settings\KRBRAU\workspace eclipse:add-maven-repo
Voici l'erreur remonté par Maven :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
27
28
29
 
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Invalid task 'and': you must specify a valid lifecycle phase, or a goal i
n the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Jan 04 13:45:43 CET 2007
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
 
C:\Documents and Settings\KRBRAU>mvn help
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Invalid task 'help': you must specify a valid lifecycle phase, or a goal
in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Jan 04 13:46:04 CET 2007
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------