Bonjour tous le monde,
Je viens d'installer archiva comme repo interne, pour ce la j'ai ajouté dans mon fichier settings.xml
puis dans mon repository manager Archiva j'ai ajouté les proxy suivants :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7<mirrors> <mirror> <id>archiva.default</id> <url>http://localhost:8080/archiva/repository/internal/</url> <mirrorOf>*</mirrorOf> </mirror> </mirrors>
1-http://maven2.exoplatform.org/rest/maven2
2-http://oauth.googlecode.com/svn/code/maven.
3-http://repository.jboss.com/maven2.
4- http://google-caja.googlecode.com/svn/maven.
mais lorsque je lance cette commande maven :
j'ai toujours cette erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part mvn package
Est ce que quelqu'un a une idée
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112 [INFO] Using encoding: 'ISO-8859-1' to copy filtered resources. Downloading: http://localhost:8080/archiva/repository/internal//pdfbox/pdfbox/0.7.2/pdfbox-0.7.2.pom Downloading: http://localhost:8080/archiva/repository/internal//pdfbox/pdfbox/0.7.2/pdfbox-0.7.2.pom Downloading: http://localhost:8080/archiva/repository/internal//pdfbox/pdfbox/0.7.2/pdfbox-0.7.2.pom Downloading: http://localhost:8080/archiva/repository/internal//pdfbox/pdfbox/0.7.2/pdfbox-0.7.2.pom Downloading: http://localhost:8080/archiva/repository/internal//pdfbox/pdfbox/0.7.2/pdfbox-0.7.2.pom Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.pom Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.pom Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.pom Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.pom Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.pom Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.p om Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.p om Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.p om Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.p om Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.p om Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.jar Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.jar Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.jar Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.jar Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.jar Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.jar Downloading: http://localhost:8080/archiva/repository/internal//caja/caja/r2438/caja-r2438.jar Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.j ar Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.j ar Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.j ar Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.j ar Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.j ar Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.j ar Downloading: http://localhost:8080/archiva/repository/internal//caja/json_simple/r1/json_simple-r1.j ar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) caja:caja:jar:r2438 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=caja -DartifactId=caja -Dversion=r2438 -Dpackaging=jar -Dfi le=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=caja -DartifactId=caja -Dversion=r2438 -Dpackaging=jar -Dfile =/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.exoplatform.cp130709:StrutsAlmerysPortlet:war:1.0 2) org.exoplatform.ecm:exo.ecm.webui.ecm:jar:2.2 3) org.exoplatform.portal:exo.portal.webui.core:jar:2.5 4) org.exoplatform.portal:exo.portal.component.web:jar:2.5 5) org.apache.shindig:shindig-gadgets:jar:0.8.1-1-r719456 6) caja:caja:jar:r2438 2) caja:json_simple:jar:r1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=caja -DartifactId=json_simple -Dversion=r1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=caja -DartifactId=json_simple -Dversion=r1 -Dpackaging=jar -D file=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.exoplatform.cp130709:StrutsAlmerysPortlet:war:1.0 2) org.exoplatform.ecm:exo.ecm.webui.ecm:jar:2.2 3) org.exoplatform.portal:exo.portal.webui.core:jar:2.5 4) org.exoplatform.portal:exo.portal.component.web:jar:2.5 5) org.apache.shindig:shindig-gadgets:jar:0.8.1-1-r719456 6) caja:json_simple:jar:r1 ---------- 2 required artifacts are missing. for artifact: org.exoplatform.cp130709:StrutsAlmerysPortlet:war:1.0 from the specified remote repositories: archiva.default (http://localhost:8080/archiva/repository/internal/) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 minutes 26 seconds [INFO] Finished at: Tue Jul 14 13:03:24 GMT+01:00 2009 [INFO] Final Memory: 18M/32M [INFO] ------------------------------------------------------------------------
Merci d'avance
Partager