Salut,
J'ai un souci avec une dépendance de mon pom.xml.
J'obtiens toujours cette erreur ci :
Dans mon Pom, j'ai ceci en dépendance :
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 org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'javax.management:jmxremote:jar': Error getting POM for 'javax.management:jmxremote' from the repository: Error transferring file javax.management:jmxremote:pom:1.0.1 from the specified remote repositories: Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/), central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), 0 (http://www.ibiblio.org/maven2/), 1 (http://mevenide.codehaus.org/repository) javax.management:jmxremote:jar:1.0.1 from the specified remote repositories: Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/), central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), 0 (http://www.ibiblio.org/maven2/), 1 (http://mevenide.codehaus.org/repository) Path to dependency: 1) l2jmx:l2jmx:jar:1.0.2
Cette version n'existe effectivement pas sur les repository de mon pom, j'ai directement mis ce fichier dans mon répertoire : .m2\repository\javax\management\jmxremote_optional\1.0.1\jmxremote_optional-1.0.1.jar
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 <dependency> <groupId>javax.management</groupId> <artifactId>jmxremote</artifactId> <version>1.0.1</version> <scope>compile</scope> <type>jar</type> </dependency>
Cela n'a pas posé de problème jusqu'à aujourd'hui.
Dans maven 1, il signalait qu'il n'arrivait pas a trouver la ressource mais il prenait celle du repository local, ici il semble ne rien vouloir entendre.
Une idée ?
Partager