IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Maven Java Discussion :

erreur:Unable to download the artifact


Sujet :

Maven Java

  1. #1
    Rédacteur

    Profil pro
    Inscrit en
    Juin 2003
    Messages
    4 184
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2003
    Messages : 4 184
    Points : 5 059
    Points
    5 059
    Par défaut erreur:Unable to download the artifact
    bonjour,
    maven n'arrive pas à telecharger axis-ant 1.3 alors qu'il existe bien dans le repository centrale, pourriez vous me dire pourquoi..?

    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
     
    Downloading: http://ftp.ggi-project.org/pub/packages/maven2/axis/axis-ant/1.3/axis-ant-1.3.jar
    [WARNING] An error occurred during dependency resolution.
    Failed to retrieve axis:axis-ant-1.3
    Caused by: Unable to download the artifact from any repository
     
    Try downloading the file manually from the project website.
     
    ...
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2)
     
    [INFO] Unable to read jar manifest from C:\maven\repository\axis\axis-ant\1.3\axis-ant-1.3.jar
    Downloading: http://ftp.ggi-project.org/pub/packages/maven2/axis/axis-wsdl4j/1.5.1/axis-wsdl4j-1.5.1.j
    [WARNING] An error occurred during dependency resolution.
        Failed to retrieve axis:axis-wsdl4j-1.5.1
    Caused by: Unable to download the artifact from any repository
    merciii

  2. #2
    Rédacteur

    Profil pro
    Inscrit en
    Juin 2003
    Messages
    4 184
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2003
    Messages : 4 184
    Points : 5 059
    Points
    5 059
    Par défaut
    il semble que toutes les dependances sont gerees dans le pom d'axis
    j'ai ajouter juste la dependance du pour axis..

  3. #3
    Candidat au Club
    Inscrit en
    Février 2008
    Messages
    2
    Détails du profil
    Informations forums :
    Inscription : Février 2008
    Messages : 2
    Points : 2
    Points
    2
    Par défaut
    Bonjour,
    je débute avec Maven et je n'arrive pas à créer un nouveau projet.
    En exécutant la commende suivante :
    mvn archetype:create -DgroupId=com.my company.app -DartifactId=my-app

    j'ai toujours l'erreur suivante :

    GroupId: plexus
    ArtifactId: plexus-containers
    Version: 1.0.2

    Reason: Unable to download the artifact from any repository

    plexus:plexus-containers:pom:1.0.2

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2),
    apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)


    Par ailleurs, Est-ce qu'il faut être toujours connecté à internet pour pouvoir exécuter Maven ?

    Merci

  4. #4
    Membre habitué Avatar de DanielW33
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    327
    Détails du profil
    Informations personnelles :
    Localisation : France, Gironde (Aquitaine)

    Informations forums :
    Inscription : Mai 2006
    Messages : 327
    Points : 164
    Points
    164
    Par défaut
    Par ailleurs, Est-ce qu'il faut être toujours connecté à internet pour pouvoir exécuter Maven ?
    Oui et non :
    Tu peux travailler en mode "offline", ce qui permet de ne pas avoir a chaque fois des tentatives de download/update d'artifact sur tes remotes repositories que tu possède déjà sur ton local repository ( utilise l'argument --offline ou -o dans ta ligne de commande lmaven).
    Maintenant cela peux générer des problèmes si tu a besoin des ces artifacts (ou si, comme les plugins ou les artifact en version suffixé en "SNAPSHOT", maven tente de les updater) : d'ailleurs c'est justement de la que peux venir ton problème.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 3
    Dernier message: 05/05/2011, 17h27
  2. [Sonar] [Maven] Unable to download the artifact from any repository
    Par niro75 dans le forum Qualimétrie
    Réponses: 16
    Dernier message: 16/07/2010, 10h12
  3. Unable to download the artifact from any repository
    Par Methode dans le forum Maven
    Réponses: 3
    Dernier message: 02/02/2009, 14h27
  4. [PHP 5.2] Erreur : Unable to find the wrapper "http"
    Par Troopers dans le forum Langage
    Réponses: 2
    Dernier message: 23/01/2009, 11h11
  5. [Word-basic] Erreur 537: unable to run the specified macro
    Par zahui_eric dans le forum VBA Word
    Réponses: 7
    Dernier message: 13/07/2007, 13h27

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo