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 :

problème d'intégration Archiva + maven2


Sujet :

Maven Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Inscrit en
    Janvier 2006
    Messages
    194
    Détails du profil
    Informations personnelles :
    Âge : 43

    Informations forums :
    Inscription : Janvier 2006
    Messages : 194
    Par défaut problème d'intégration Archiva + maven2
    Bonjour tous le monde,

    Je viens d'installer archiva comme repo interne, pour ce la j'ai ajouté dans mon fichier settings.xml

    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>
    puis dans mon repository manager Archiva j'ai ajouté les proxy suivants :
    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
    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] ------------------------------------------------------------------------
    Est ce que quelqu'un a une idée

    Merci d'avance

  2. #2
    Membre expérimenté
    Homme Profil pro
    Inscrit en
    Février 2008
    Messages
    197
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 48
    Localisation : France, Seine et Marne (Île de France)

    Informations forums :
    Inscription : Février 2008
    Messages : 197
    Par défaut
    Tu as créé un groupe dans archiva pour y mettre tes repos internes et tes proxy ??

  3. #3
    Membre confirmé
    Inscrit en
    Janvier 2006
    Messages
    194
    Détails du profil
    Informations personnelles :
    Âge : 43

    Informations forums :
    Inscription : Janvier 2006
    Messages : 194
    Par défaut
    Yes j'ai fais la configuration nécessaire.
    En faite le problème vient de cette ligne dans le settings.xml

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <url>http://localhost:8080/archiva/repository/internal/</url>
    il faut enlever l'anti slash à la fin de la ligne.

Discussions similaires

  1. problème d'intégration
    Par leila2006 dans le forum Décisions SGBD
    Réponses: 1
    Dernier message: 02/05/2006, 16h41
  2. [FLASH MX2004] Problème d'intégration des clips
    Par mosquito dans le forum Flash
    Réponses: 2
    Dernier message: 02/03/2006, 08h59
  3. [XSL/JavaScript]problème d'intégration code JS dans le XSL
    Par Devil666 dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 27/04/2005, 16h36
  4. Problème d'intégration de directX9...
    Par Coderm@n dans le forum DirectX
    Réponses: 4
    Dernier message: 12/03/2005, 23h52
  5. [eclipse][struts][tomcat] Problème d'intégration
    Par Alwin dans le forum Eclipse Java
    Réponses: 1
    Dernier message: 03/07/2004, 21h48

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