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 :

Error building POM


Sujet :

Maven Java

  1. #1
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut Error building POM
    Bonjour,

    J'essaye de compiler les ressources d'un projet et j'obtiens le message d'erreur suivant

    [code]
    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
     
    C:\xxx\xxxxx>mvn compile
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Unnamed - xxxxx:jar:1.0.0
    [INFO]    task-segment: [compile]
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour
    ces-plugin/2.3/maven-resources-plugin-2.3.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi
    n:pom:2.3' from repository central (http://repo1.maven.org/maven2): Error transf
    erring file
    Downloading: http://download.java.net/maven/1/org/apache/maven/plugins/maven-res
    ources-plugin/2.3/maven-resources-plugin-2.3.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi
    n:pom:2.3' from repository sunrepository (http://download.java.net/maven/1): Err
    or transferring file
    Downloading: http://repository.jboss.org/maven2/org/apache/maven/plugins/maven-r
    esources-plugin/2.3/maven-resources-plugin-2.3.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi
    n:pom:2.3' from repository jbossrepository (http://repository.jboss.org/maven2):
     Error transferring file
    Downloading: http://repository.apache.org/snapshots/org/apache/maven/plugins/mav
    en-resources-plugin/2.3/maven-resources-plugin-2.3.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi
    n:pom:2.3' from repository apacherepository (http://repository.apache.org/snapsh
    ots): Error transferring file
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plug
    ins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi
    n:pom:2.3' from repository ibibliorepository (http://mirrors.ibiblio.org/pub/mir
    rors/maven2): Error transferring file
    Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour
    ces-plugin/2.3/maven-resources-plugin-2.3.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi
    n:pom:2.3' from repository central (http://repo1.maven.org/maven2): Error transf
    erring file
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Error building POM (may not be this project's POM).
     
     
    Project ID: org.apache.maven.plugins:maven-resources-plugin
     
    Reason: POM 'org.apache.maven.plugins:maven-resources-plugin' not found in repos
    itory: Unable to download the artifact from any repository
     
      org.apache.maven.plugins:maven-resources-plugin:pom:2.3
     
    from the specified remote repositories:
      jbossrepository (http://repository.jboss.org/maven2),
      ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2),
      central (http://repo1.maven.org/maven2),
      apacherepository (http://repository.apache.org/snapshots),
      sunrepository (http://download.java.net/maven/1)
     
     for project org.apache.maven.plugins:maven-resources-plugin
     
     
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 9 seconds
    [INFO] Finished at: Fri Jun 03 11:52:03 CEST 2011
    [INFO] Final Memory: 1M/15M
    [INFO] ------------------------------------------------------------------------
    je vous remercie pour votre aide

  2. #2
    Membre éclairé Avatar de le Daoud
    Profil pro
    Inscrit en
    Novembre 2002
    Messages
    287
    Détails du profil
    Informations personnelles :
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations forums :
    Inscription : Novembre 2002
    Messages : 287
    Par défaut
    Bonjour,

    Ne rencontres-tu pas un pb de connexion ? Es-tu derrière un proxy ?
    Si tu mets une des URL (par exemple http://repo1.maven.org/maven2/org/ap...plugin-2.3.pom) dans le navigateur, ça passe ?

    daoud

  3. #3
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    merci pour ta réponse
    effectivement je croyais que c'est dû au proxy alors que je n'ai aucun problème pour acceder à la page http://repo1.maven.org/maven2/org/ap...plugin-2.3.pom par exemple.

    j'ai quand même configuré le proxy dans settings.xml
    j'obtiens d'autres types d'erreurs :

    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
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
     
    Missing:
    ----------
    1) apache-logging:commons-logging:jar:1.1.0.jboss
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=apache-logging -DartifactId=commons-log
    ging -Dversion=1.1.0.jboss -Dpackaging=jar -Dfile=/path/to/file
     
      Alternatively, if you host your own repository you can deploy the file there:
     
          mvn deploy:deploy-file -DgroupId=apache-logging -DartifactId=commons-loggi
    ng -Dversion=1.1.0.jboss -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo
    sitoryId=[id]
     
      Path to dependency:
            1) xxx:xxxx:jar:1.0.0
            2) apache-logging:commons-logging:jar:1.1.0.jboss
     
    2) opensaml:xmltooling:jar:1.1.0
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=opensaml -DartifactId=xmltooling -Dvers
    ion=1.1.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=opensaml -DartifactId=xmltooling -Dversio
    n=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) xxx:xxxx:jar:1.0.0
            2) opensaml:xmltooling:jar:1.1.0
     
    3) opensaml:opensaml:jar:2.1.0
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=opensaml -DartifactId=opensaml -Dversio
    n=2.1.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=opensaml -DartifactId=opensaml -Dversion=
    2.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) xxx:xxxx:jar:1.0.0
            2) opensaml:opensaml:jar:2.1.0
     
    4) org.apache.commons:commons-codec:jar:1.3
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=org.apache.commons -DartifactId=commons
    -codec -Dversion=1.3 -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.apache.commons -DartifactId=commons-c
    odec -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepository
    Id=[id]
     
      Path to dependency:
            1) xxxx:xxxx:jar:1.0.0
            2) org.apache.commons:commons-codec:jar:1.3
     
    5) opensaml:openws:jar:1.1.0
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=opensaml -DartifactId=openws -Dversion=
    1.1.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=opensaml -DartifactId=openws -Dversion=1.
    1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) xxxx:xxxx:jar:1.0.0
            2) opensaml:openws:jar:1.1.0
     
    ----------
    5 required artifacts are missing.
     
    for artifact:
      xxxx:xxxxx:jar:1.0.0
     
    from the specified remote repositories:
      jbossrepository (http://repository.jboss.org/maven2),
      ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2),
      apacherepository (http://repository.apache.org/snapshots),
      central (http://repo1.maven.org/maven2),
      sunrepository (http://download.java.net/maven/1)
     
     
     
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 28 seconds
    [INFO] Finished at: Fri Jun 03 16:00:02 CEST 2011
    [INFO] Final Memory: 12M/30M
    [INFO] ------------------------------------------------------------------------
    je vous remercie pour votre aide

  4. #4
    Membre éclairé Avatar de le Daoud
    Profil pro
    Inscrit en
    Novembre 2002
    Messages
    287
    Détails du profil
    Informations personnelles :
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations forums :
    Inscription : Novembre 2002
    Messages : 287
    Par défaut
    Il se pourrait que cela soit une question de version.
    commons-logging ne semble pas exister en 1.1.0 mais en 1.1 ou 1.1.1 (voir : http://search.maven.org/#search|ga|1...ons-logging%22)
    La problématique semble la même pour les autres jar.

  5. #5
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    merci encore,
    j'ai installé le binaire "apache-maven-2.0.11-bin.zip"

  6. #6
    Membre éclairé Avatar de le Daoud
    Profil pro
    Inscrit en
    Novembre 2002
    Messages
    287
    Détails du profil
    Informations personnelles :
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations forums :
    Inscription : Novembre 2002
    Messages : 287
    Par défaut
    je pensais à un problème de version des dépendances et non de maven.
    Chaque dépendance est renseignée dans un tag dependency et a un numéro de version indiqué dans un tag version (cela est peut-être indiqué aussi dans le tag dependency-management). Il faut s'assurer que la version est bien valide, ce qui ne semble pas être le cas pour les jar en erreur (par exemple pour commons-logging il faut mettre 1.1 et non 1.1.0

  7. #7
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    tu as raison puisque j'ai essayé avec une autre version plus recente de Marven et j'ai eu les même erreurs
    peu-tu me dire ou est ce que je peux changer les tag dependency stp

  8. #8
    Membre éclairé Avatar de le Daoud
    Profil pro
    Inscrit en
    Novembre 2002
    Messages
    287
    Détails du profil
    Informations personnelles :
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations forums :
    Inscription : Novembre 2002
    Messages : 287
    Par défaut
    bon courage

  9. #9
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    tu as raison puisque j'ai essayé avec une autre version plus recente de Marven et j'ai eu les même erreurs
    peu-tu me dire ou est ce que je peux changer les tag dependency stp

  10. #10
    Membre éclairé Avatar de le Daoud
    Profil pro
    Inscrit en
    Novembre 2002
    Messages
    287
    Détails du profil
    Informations personnelles :
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations forums :
    Inscription : Novembre 2002
    Messages : 287
    Par défaut
    je ne sais pas comment est construit ton projet, si tu as un seul pom.xml ou une hierarchie.
    Regarde dans ton pom.xml les tags <dependency>. Ex :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>1.1</version>
      <scope>compile</scope>
    </dependency>
    Si tu ne trouves pas le tag version dans ton pom.xml alors cela veut dire que les informations figurent dans un pom.xml d'un dossier parent.

  11. #11
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    merci

    entre temps j'ai regardé le fichier pom.xml et changer la version concerant apache-logging (par exemple)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    <dependency>
    			<groupId>apache-logging</groupId>
    			<artifactId>commons-logging</artifactId>
    			<version>1.1.1</version>
    		</dependency>
    et j'obtiens quand même l'erreur suivante:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
     
    3) apache-logging:commons-logging:jar:1.1.1
     
      Try downloading the file manually from the project we
    ...
    je peux telecharger les jar directement par contre je ne sais pas dans quelque repertoire les mettre

  12. #12
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    tu peux nous donner la sortie complete de mavan stp?

  13. #13
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    Merci Tchiz
    Sachant que la doc du projet indique qu'il faut disposer de Maven version 2.0.10 minimum, j'ai installé la version binaire "apache-maven-2.0.11" voici les erreurs de compile

    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
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    C:\xx\xxx>mvn compile
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Unnamed - zz:yyy:jar:1.0.0
    [INFO]    task-segment: [compile]
    [INFO] ------------------------------------------------------------------------
    [INFO] [resources:resources]
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 179 resources
    Downloading: http://download.java.net/maven/1/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
    [INFO] Unable to find resource 'apache-logging:commons-logging:pom:1.1.0.jboss' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
    [WARNING] Unable to get resource 'apache-logging:commons-logging:pom:1.1.0.jboss' from repository jbossrepository (http://repository.jboss.org/maven2): Error tr
    ansferring file
    Downloading: http://repository.apache.org/snapshots/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
    [INFO] Unable to find resource 'apache-logging:commons-logging:pom:1.1.0.jboss' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
    [INFO] Unable to find resource 'apache-logging:commons-logging:pom:1.1.0.jboss' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
    [INFO] Unable to find resource 'apache-logging:commons-logging:pom:1.1.0.jboss' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.pom
    [INFO] Unable to find resource 'opensaml:xmltooling:pom:1.1.0' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.pom
    [WARNING] Unable to get resource 'opensaml:xmltooling:pom:1.1.0' from repository jbossrepository (http://repository.jboss.org/maven2): Error transferring file
    Downloading: http://repository.apache.org/snapshots/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.pom
    [INFO] Unable to find resource 'opensaml:xmltooling:pom:1.1.0' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.pom
    [INFO] Unable to find resource 'opensaml:xmltooling:pom:1.1.0' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.pom
    [INFO] Unable to find resource 'opensaml:xmltooling:pom:1.1.0' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [WARNING] Unable to get resource 'opensaml:opensaml:pom:2.1.0' from repository jbossrepository (http://repository.jboss.org/maven2): Error transferring file
    Downloading: http://repository.apache.org/snapshots/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [WARNING] Unable to get resource 'org.apache.commons:commons-codec:pom:1.3' from repository jbossrepository (http://repository.jboss.org/maven2): Error transfer
    ring file
    Downloading: http://repository.apache.org/snapshots/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/opensaml/openws/1.1.0/openws-1.1.0.pom
    [INFO] Unable to find resource 'opensaml:openws:pom:1.1.0' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/opensaml/openws/1.1.0/openws-1.1.0.pom
    [WARNING] Unable to get resource 'opensaml:openws:pom:1.1.0' from repository jbossrepository (http://repository.jboss.org/maven2): Error transferring file
    Downloading: http://repository.apache.org/snapshots/opensaml/openws/1.1.0/openws-1.1.0.pom
    [INFO] Unable to find resource 'opensaml:openws:pom:1.1.0' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/opensaml/openws/1.1.0/openws-1.1.0.pom
    [INFO] Unable to find resource 'opensaml:openws:pom:1.1.0' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/opensaml/openws/1.1.0/openws-1.1.0.pom
    [INFO] Unable to find resource 'opensaml:openws:pom:1.1.0' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.jar
    [INFO] Unable to find resource 'apache-logging:commons-logging:jar:1.1.0.jboss' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.jar
    [WARNING] Unable to get resource 'apache-logging:commons-logging:jar:1.1.0.jboss' from repository jbossrepository (http://repository.jboss.org/maven2): Error tr
    ansferring file
    Downloading: http://repository.apache.org/snapshots/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.jar
    [INFO] Unable to find resource 'apache-logging:commons-logging:jar:1.1.0.jboss' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.jar
    [INFO] Unable to find resource 'apache-logging:commons-logging:jar:1.1.0.jboss' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/apache-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.jar
    [INFO] Unable to find resource 'apache-logging:commons-logging:jar:1.1.0.jboss' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.jar
    [INFO] Unable to find resource 'opensaml:xmltooling:jar:1.1.0' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.jar
    [WARNING] Unable to get resource 'opensaml:xmltooling:jar:1.1.0' from repository jbossrepository (http://repository.jboss.org/maven2): Error transferring file
    Downloading: http://repository.apache.org/snapshots/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.jar
    [INFO] Unable to find resource 'opensaml:xmltooling:jar:1.1.0' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.jar
    [INFO] Unable to find resource 'opensaml:xmltooling:jar:1.1.0' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/opensaml/xmltooling/1.1.0/xmltooling-1.1.0.jar
    [INFO] Unable to find resource 'opensaml:xmltooling:jar:1.1.0' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [WARNING] Unable to get resource 'opensaml:opensaml:jar:2.1.0' from repository jbossrepository (http://repository.jboss.org/maven2): Error transferring file
    Downloading: http://repository.apache.org/snapshots/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [WARNING] Unable to get resource 'org.apache.commons:commons-codec:jar:1.3' from repository jbossrepository (http://repository.jboss.org/maven2): Error transfer
    ring file
    Downloading: http://repository.apache.org/snapshots/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/opensaml/openws/1.1.0/openws-1.1.0.jar
    [INFO] Unable to find resource 'opensaml:openws:jar:1.1.0' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/maven2/opensaml/openws/1.1.0/openws-1.1.0.jar
    [WARNING] Unable to get resource 'opensaml:openws:jar:1.1.0' from repository jbossrepository (http://repository.jboss.org/maven2): Error transferring file
    Downloading: http://repository.apache.org/snapshots/opensaml/openws/1.1.0/openws-1.1.0.jar
    [INFO] Unable to find resource 'opensaml:openws:jar:1.1.0' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/opensaml/openws/1.1.0/openws-1.1.0.jar
    [INFO] Unable to find resource 'opensaml:openws:jar:1.1.0' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/opensaml/openws/1.1.0/openws-1.1.0.jar
    [INFO] Unable to find resource 'opensaml:openws:jar:1.1.0' in repository central (http://repo1.maven.org/maven2)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
     
    Missing:
    ----------
    1) apache-logging:commons-logging:jar:1.1.0.jboss
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=apache-logging -DartifactId=commons-logging -Dversion=1.1.0.jboss -Dpackaging=jar -Dfile=/path/to/file
     
      Alternatively, if you host your own repository you can deploy the file there:
          mvn deploy:deploy-file -DgroupId=apache-logging -DartifactId=commons-logging -Dversion=1.1.0.jboss -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo
    sitoryId=[id]
     
      Path to dependency:
            1) zz:yyyyy:jar:1.0.0
            2) apache-logging:commons-logging:jar:1.1.0.jboss
     
    2) opensaml:xmltooling:jar:1.1.0
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=opensaml -DartifactId=xmltooling -Dversion=1.1.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=opensaml -DartifactId=xmltooling -Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) zz:yyy:jar:1.0.0
            2) opensaml:xmltooling:jar:1.1.0
     
    3) opensaml:opensaml:jar:2.1.0
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=opensaml -DartifactId=opensaml -Dversion=2.1.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=opensaml -DartifactId=opensaml -Dversion=2.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) zz:yyy:jar:1.0.0
            2) opensaml:opensaml:jar:2.1.0
     
    4) org.apache.commons:commons-codec:jar:1.3
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=org.apache.commons -DartifactId=commons-codec -Dversion=1.3 -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.apache.commons -DartifactId=commons-codec -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepository
    Id=[id]
     
      Path to dependency:
            1) zz:yyy:jar:1.0.0
            2) org.apache.commons:commons-codec:jar:1.3
     
    5) opensaml:openws:jar:1.1.0
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=opensaml -DartifactId=openws -Dversion=1.1.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=opensaml -DartifactId=openws -Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) zz:yyy:jar:1.0.0
            2) opensaml:openws:jar:1.1.0
     
    ----------
    5 required artifacts are missing.
     
    for artifact:
      zz:yyy:jar:1.0.0
     
    from the specified remote repositories:
      jbossrepository (http://repository.jboss.org/maven2),
      ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2),
      apacherepository (http://repository.apache.org/snapshots),
      central (http://repo1.maven.org/maven2),
      sunrepository (http://download.java.net/maven/1)
     
     
     
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 16 seconds
    [INFO] Finished at: Mon Jun 06 10:04:31 CEST 2011
    [INFO] Final Memory: 13M/31M
    [INFO] ------------------------------------------------------------------------

    ci-joint le fichier pom.xml

    merci pour votre aide
    Fichiers attachés Fichiers attachés

  14. #14
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    Le repository JBOSS pointé par ton pom n'est pas la Bon, il y a quelques temps, jboss a migré son repository sous nexus. Utilise cette url

    http://repository.jboss.org/nexus/content/groups/public/
    a la place de
    http://repository.jboss.org/maven2

  15. #15
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    Merci beaucoup Tchiz, je n'aurai pas trouver tout seul
    il ne me reste que 2 problèmes à régler concernant l'opensaml et l'org.apache.commons:commons-codec

    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
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Unnamed - zz:yyy:jar:1.0.0
    [INFO]    task-segment: [compile]
    [INFO] ------------------------------------------------------------------------
    [INFO] [resources:resources]
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 179 resources
    Downloading: http://download.java.net/maven/1/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/nexus/content/groups/public//opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository jbossrepository (http://repository.jboss.org/nexus/content/groups/public/)
    Downloading: http://repository.apache.org/snapshots/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.pom
    [INFO] Unable to find resource 'opensaml:opensaml:pom:2.1.0' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/nexus/content/groups/public//org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository jbossrepository (http://repository.jboss.org/nexus/content/groups/public
    /)
    Downloading: http://repository.apache.org/snapshots/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.pom
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:pom:1.3' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/nexus/content/groups/public//opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository jbossrepository (http://repository.jboss.org/nexus/content/groups/public/)
    Downloading: http://repository.apache.org/snapshots/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/opensaml/opensaml/2.1.0/opensaml-2.1.0.jar
    [INFO] Unable to find resource 'opensaml:opensaml:jar:2.1.0' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://download.java.net/maven/1/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository sunrepository (http://download.java.net/maven/1)
    Downloading: http://repository.jboss.org/nexus/content/groups/public//org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository jbossrepository (http://repository.jboss.org/nexus/content/groups/public
    /)
    Downloading: http://repository.apache.org/snapshots/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository apacherepository (http://repository.apache.org/snapshots)
    Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2)
    Downloading: http://repo1.maven.org/maven2/org/apache/commons/commons-codec/1.3/commons-codec-1.3.jar
    [INFO] Unable to find resource 'org.apache.commons:commons-codec:jar:1.3' in repository central (http://repo1.maven.org/maven2)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
     
    Missing:
    ----------
    1) opensaml:opensaml:jar:2.1.0
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=opensaml -DartifactId=opensaml -Dversion=2.1.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=opensaml -DartifactId=opensaml -Dversion=2.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) zz:yyy:jar:1.0.0
            2) opensaml:opensaml:jar:2.1.0
     
    2) org.apache.commons:commons-codec:jar:1.3
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=org.apache.commons -DartifactId=commons-codec -Dversion=1.3 -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.apache.commons -DartifactId=commons-codec -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepository
    Id=[id]
     
      Path to dependency:
            1) zz:yyy:jar:1.0.0
            2) org.apache.commons:commons-codec:jar:1.3
     
    ----------
    2 required artifacts are missing.
     
    for artifact:
      zz:yyy:jar:1.0.0
     
    from the specified remote repositories:
      jbossrepository (http://repository.jboss.org/nexus/content/groups/public/),
      ibibliorepository (http://mirrors.ibiblio.org/pub/mirrors/maven2),
      apacherepository (http://repository.apache.org/snapshots),
      central (http://repo1.maven.org/maven2),
      sunrepository (http://download.java.net/maven/1)
     
     
     
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 46 seconds
    [INFO] Finished at: Mon Jun 06 14:52:32 CEST 2011
    [INFO] Final Memory: 12M/30M
    [INFO] ------------------------------------------------------------------------
    je vais verifier la version 2.1.0 d'opensaml et le version 1.3 du org.apache.commons:commons-codec

    merci encore Tchiz

  16. #16
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    Citation Envoyé par Smix007 Voir le message
    Merci beaucoup Tchiz, je n'aurai pas trouver tout seul
    il ne me reste que 2 problèmes à régler concernant l'opensaml et l'org.apache.commons:commons-codec
    essayez à la place commons-codec:commons-codec. J'ai un miroir chez moi de l'ancien repo de jboss, et, effectivement, le "package" a changé lorsqu'ils sont passé sous nexus

  17. #17
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    tu as raison j'ai du mettre "commons-codec" à la place de "org.pache.commons" dans le <groupId>

    j'ai aussi regardé la doc d'Opensaml pour Marven https://wiki.shibboleth.net/confluen...ManJavaInstall, il s'avère qu'il faut mettre "Group ID: org.opensaml"
    après avoir decompressé le bin et ajouter le chemin dans le path

    Voilà donc le résultat:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    [INFO] Compiling 3119 source files to C:\xx\xxx\target\classes
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5 minutes 5 seconds
    [INFO] Finished at: Mon Jun 06 15:48:33 CEST 2011
    [INFO] Final Memory: 27M/214M
    [INFO] ------------------------------------------------------------------------
    Rmq: quand j'ai ouvert créer le projet dans netbeans à partir du pom.xml j'ai trouvé qu'il manque la bibliothèque jUnit quand même, je vais voir comment faire avant de mettre le tag resolu pour ce post

    Merci à vous tous et surtout à un grad merci à Tchize ;-)

  18. #18
    Membre éclairé
    Profil pro
    Inscrit en
    Août 2006
    Messages
    568
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 568
    Par défaut
    Merci

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

Discussions similaires

  1. Réponses: 1
    Dernier message: 12/04/2011, 10h07
  2. [Maven] Error building POM
    Par djolof dans le forum Maven
    Réponses: 2
    Dernier message: 24/03/2009, 12h31
  3. [ERROR]BUILD ERROR with maven
    Par Jacobian dans le forum Maven
    Réponses: 3
    Dernier message: 28/01/2009, 23h27
  4. [Continuum] Error de Build/Impossible de récuperer un module par ftp
    Par kalan dans le forum Intégration Continue
    Réponses: 11
    Dernier message: 08/09/2006, 15h18
  5. BUILD ERROR sur création d'un projet multi-modules
    Par elitost dans le forum Maven
    Réponses: 1
    Dernier message: 28/08/2006, 15h23

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