Bonjour,
J'essaie de déployer la source de jtrac et en generant les dépendances, maven n'arrive pas à trouver les paquets à télécharger. Voici les erreurs:
Est-ce que quelqu'un pourrait m'expliquer ce qui se passe?
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138 C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jtrac>mvn antprops:generate [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building JTrac [INFO] task-segment: [antprops:generate] [INFO] ------------------------------------------------------------------------ Downloading: http://maven.openqa.org/org/openqa/selenium/client-drivers/selenium-java-clien t-driver/0.9.0/selenium-java-client-driver-0.9.0.pom [INFO] Unable to find resource 'org.openqa.selenium.client-drivers:selenium-java-client-dri ver:pom:0.9.0' in repository openqa.org (http://maven.openqa.org) Downloading: http://repo1.maven.org/maven2/org/openqa/selenium/client-drivers/selenium-java -client-driver/0.9.0/selenium-java-client-driver-0.9.0.pom [INFO] Unable to find resource 'org.openqa.selenium.client-drivers:selenium-java-client-dri ver:pom:0.9.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://maven.openqa.org/org/openqa/selenium/server/selenium-server/0.9.0/selen ium-server-0.9.0.pom [INFO] Unable to find resource 'org.openqa.selenium.server:selenium-server:pom:0.9.0' in re pository openqa.org (http://maven.openqa.org) Downloading: http://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-server/0.9.0 /selenium-server-0.9.0.pom [INFO] Unable to find resource 'org.openqa.selenium.server:selenium-server:pom:0.9.0' in re pository central (http://repo1.maven.org/maven2) [INFO] [antprops:generate {execution: default-cli}] [INFO] resolving artifact: junit:junit:jar:3.8.1:test [INFO] resolving artifact: javax.servlet:servlet-api:jar:2.4:provided [INFO] resolving artifact: org.springframework:spring-test:jar:2.5.1:test [INFO] resolving artifact: org.openqa.selenium.client-drivers:selenium-java-client-driver:j ar:0.9.0:test Downloading: http://maven.openqa.org/org/openqa/selenium/client-drivers/selenium-java-clien t-driver/0.9.0/selenium-java-client-driver-0.9.0.jar [INFO] Unable to find resource 'org.openqa.selenium.client-drivers:selenium-java-client-dri ver:jar:0.9.0' in repository openqa.org (http://maven.openqa.org) Downloading: http://repo1.maven.org/maven2/org/openqa/selenium/client-drivers/selenium-java -client-driver/0.9.0/selenium-java-client-driver-0.9.0.jar [INFO] Unable to find resource 'org.openqa.selenium.client-drivers:selenium-java-client-dri ver:jar:0.9.0' in repository central (http://repo1.maven.org/maven2) org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifa ct from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.openqa.selenium.client-drivers -DartifactId=sele nium-java-client-driver -Dversion=0.9.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.openqa.selenium.client-drivers -DartifactId=seleni um-java-client-driver -Dversion=0.9.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dre positoryId=[id] Path to dependency: 1) info.jtrac:jtrac:war:2.1.0 org.openqa.selenium.client-drivers:selenium-java-client-driver:jar:0.9.0 from the specified remote repositories: openqa.org (http://maven.openqa.org), central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifa ctResolver.java:228) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifa ctResolver.java:90) at info.jtrac.maven.AntPropsMojo.resolveArtifact(AntPropsMojo.java:239) at info.jtrac.maven.AntPropsMojo.getFiles(AntPropsMojo.java:251) at info.jtrac.maven.AntPropsMojo.execute(AntPropsMojo.java:140) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.ja va:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycl eExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(Defaul tLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycle Executor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultL ifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExec utor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav a:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the art ifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonMa nager.java:404) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifa ctResolver.java:216) ... 23 more [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.openqa.selenium.client-drivers -DartifactId=sele nium-java-client-driver -Dversion=0.9.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.openqa.selenium.client-drivers -DartifactId=seleni um-java-client-driver -Dversion=0.9.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dre positoryId=[id] Path to dependency: 1) info.jtrac:jtrac:war:2.1.0 org.openqa.selenium.client-drivers:selenium-java-client-driver:jar:0.9.0 from the specified remote repositories: openqa.org (http://maven.openqa.org), central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 35 seconds [INFO] Finished at: Tue Jun 29 14:38:56 GMT+03:00 2010 [INFO] Final Memory: 5M/15M [INFO] ------------------------------------------------------------------------ C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jtrac>
Merci d'avance.![]()
Partager