Salut tout le monde,
j'utilise le plugin eclipse pour maven2 et j'obtiens ceci pour le goal compile (pour package aussi, ceux de base):
J'ai configuré le proxy ds c:/.../maven/conf/setting.xml (j'ai pris les memes parametres que pour firefox donc je pense qu'ils sont exacts)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\xxx\.m2\plugin-registry.xml' [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\xxx\.m2\plugin-registry.xml' [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Unnamed - ValidationXML:ValidationXML:jar:0.0.1 [INFO] task-segment: [compile] [INFO] ---------------------------------------------------------------------------- [DEBUG] maven-resources-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the latest version org.apache.maven.plugins:maven-resources-plugin:pom:LATEST [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-resources-plugin:pom:LATEST [DEBUG] maven-resources-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the release version org.apache.maven.plugins:maven-resources-plugin:pom:RELEASE [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-resources-plugin:pom:RELEASE [ERROR] project-execute : ValidationXML:ValidationXML:jar:0.0.1 ( task-segment: [compile] ) Diagnosis: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found FATAL ERROR: Error executing Maven for a project [ERROR] reactor-execute : E:\workspace\ValidationXML Diagnosis: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found FATAL ERROR: Error executing Maven for a project [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [DEBUG] Trace The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon May 07 11:10:25 CEST 2007 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ [INFO] Error for project: Unnamed - ValidationXML:ValidationXML:jar:0.0.1 (during compile) [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [DEBUG] Trace The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [ERROR] reactor-execute : E:\workspace\ValidationXML FATAL ERROR: Error executing Maven for a project [INFO] BUILD ERRORS [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon May 07 11:10:25 CEST 2007 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------
A l'emplacement C:\Documents and Settings\xxx\.m2\repository\org\apache\maven\plugins\maven-resources-plugin
j'ai ce maven-metadata-central.xml
donc il doit aller sur le net recupérer les plugins?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <?xml version="1.0" encoding="UTF-8"?><metadata> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> </metadata>
faut-il spécifier le site sur lequel il va chercher les plugins?
dois-je spécifier des profils?
Pour tester si c'est bien un probleme de connexion, où coller le maven-compiler-plugin.jar?
je précise que mon java_home pointe sur une jdk1.6
Partager