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 :

Fichier de configuration Maven "settings.xml" manquant


Sujet :

Maven Java

  1. #1
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut Fichier de configuration Maven "settings.xml" manquant
    Bonjour,

    J'ai installé maven sous eclipse, mais lorsque je vais dans les paramètres de configuration de maven dans la rubrique "User settings" il est écrit "User settings file doesn't exist", ce qui empêche le bon déroulement des opérations "maven clean", "maven build" et "maven install".

    Quelqu'un saurait-il comment remédier à ce problème ?

    Merci

  2. #2
    Membre confirmé
    Homme Profil pro
    Analyste développeur
    Inscrit en
    Juin 2010
    Messages
    317
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste développeur

    Informations forums :
    Inscription : Juin 2010
    Messages : 317
    Points : 626
    Points
    626
    Par défaut
    Salut,

    Dans User Settings fais le pointer vers le fichier settings.xml.

    chemin_repertoire_maven/conf/settings.xml

  3. #3
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Merci pour ta réaction mais le problème est que je suis allé dans le répertoire en question et il ne contient pas le fichier settings.xml même dans tous ses sous-dossiers. Déjà après avoir installé le plugin m2e pour intégrer maven à eclipse j'ai vérifié ce répertoire qui s'appelle .m2 et il n'y était pas.

    Sur certains forums, des utilisateurs disent qu'il faut le créer soi-même mais c'est très surprenant car tout devrait être intégré lors de l'installation et à mon sens ce serait maladroit de le créer soi-même.

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

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

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    C'est bizarre, ce fichier n'est pas obligatoire que je sache. Chez moi, d'ailleurs, le champs "Global settings" est vide dans mon eclipse.


    Maintenant si tu veux, tu peux créer un fichier vide avec ceci dedans



    Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    <settings xmlns="http://maven.apache.org/POM/4.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                          http://maven.apache.org/xsd/settings-1.0.0.xsd">
    </settings>


    Quel message d'erreur tu as pendant tes clean ??


    Le répertoire .m2 se crée automatiquement lorsque tu lance maven si il n'existe pas. Sous windows il apparait dans c:\users\tonlogin\.m2


    Si il existe déjà mais qu'il manque des choses dedans, tu peux essayer de l'effacer pour que maven le recrée.

  5. #5
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Voici ce que j'obtiens dans la console:
    Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
    Maven home: C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\EMBEDDED
    Java version: 1.7.0_17, vendor: Oracle Corporation
    Java home: C:\Program Files\Java\jre7
    Default locale: fr_FR, platform encoding: Cp1252
    OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    [INFO] Error stacktraces are turned on.
    [DEBUG] Reading global settings from EMBEDDED\conf\settings.xml
    [DEBUG] Reading user settings from C:\Users\CVQF1540\.m2\settings.xml
    [DEBUG] Using local repository at C:\Users\CVQF1540\.m2\repository
    [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for C:\Users\CVQF1540\.m2\repository
    [INFO] Scanning for projects...
    [DEBUG] Extension realms for project wsag4j:wsag4j:pom:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-api:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-agreement-factory:war:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-client:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-common-types:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-distribution:pom:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-orchestrator:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-pattern:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-samples:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-security:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-server:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-webservice:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-client-resources:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-server-resources:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-it:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project wsag4j:wsag4j-testutils:jar:1.0.2: (none)
    [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-api:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 15, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-agreement-factory:war:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 193, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-client:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 20, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-common-types:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-distribution:pom:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-remote-resources-plugin is missing. @ line 74, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-orchestrator:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-pattern:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-samples:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-security:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-server:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-webservice:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 17, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-client-resources:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-server-resources:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-it:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j-testutils:jar:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ wsag4j:wsag4j:1.0.2, C:\Users\CVQF1540\workspace_Server\wsag4j-1.0.2\pom.xml, line 654, column 12
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for wsag4j:wsag4j:pom:1.0.2
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 599, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 608, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-site-plugin is missing. @ line 648, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ line 654, column 12
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ line 678, column 12
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] WSAG4J: Web Service Agreement for Java
    [INFO] WSAG4J: Common XML Types
    [INFO] WSAG4J: Server Resources
    [INFO] WSAG4J: Testing utils
    [INFO] WSAG4J: API
    [INFO] WSAG4J: Client Resources
    [INFO] WSAG4J: Security Module
    [INFO] WSAG4J: Client
    [INFO] WSAG4J: Server
    [INFO] WSAG4J: Pattern
    [INFO] WSAG4J: Orchestrator
    [INFO] WSAG4J: Samples
    [INFO] WSAG4J: WS-Stack Integration
    [INFO] WSAG4J: Integration Tests
    [INFO] WSAG4J: Agreement-Factory
    [INFO] WSAG4J: Distribution
    [DEBUG] === REACTOR BUILD PLAN ================================================
    [DEBUG] Project: wsag4j:wsag4j:pom:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-common-types:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-server-resources:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-testutils:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-api:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-client-resources:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-security:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-client:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-server:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-pattern:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-orchestrator:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-samples:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-webservice:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-it:jar:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-agreement-factory:war:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] -----------------------------------------------------------------------
    [DEBUG] Project: wsag4j:wsag4j-distribution:pom:1.0.2
    [DEBUG] Tasks: [clean]
    [DEBUG] Style: Regular
    [DEBUG] =======================================================================
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building WSAG4J: Web Service Agreement for Java 1.0.2
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-compiler-plugin
    [DEBUG] Could not find metadata org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml in local (C:\Users\CVQF1540\.m2\repository)
    [DEBUG] Using connector AsyncRepositoryConnector with priority 100 for http://repo.maven.apache.org/maven2
    Downloading: http://repo.maven.apache.org/maven2/...n-metadata.xml
    [DEBUG] onThrowable
    java.net.ConnectException: connection timed out to http://repo.maven.apache.org/maven2/...n-metadata.xml
    at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:95)
    at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:381)
    at org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:372)
    at org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:334)
    at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:374)
    at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283)
    at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.ConnectException: connection timed out
    at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:371)
    ... 6 more
    [DEBUG] Writing resolution tracking file C:\Users\CVQF1540\.m2\repository\org\apache\maven\plugins\maven-compiler-plugin\resolver-status.properties
    [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/...n-metadata.xml
    org.sonatype.aether.transfer.MetadataTransferException: Could not transfer metadata org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/...n-metadata.xml
    at org.sonatype.aether.connector.async.AsyncRepositoryConnector$2.wrap(AsyncRepositoryConnector.java:1529)
    at org.sonatype.aether.connector.async.AsyncRepositoryConnector$2.wrap(AsyncRepositoryConnector.java:1520)
    at org.sonatype.aether.connector.async.AsyncRepositoryConnector$GetTask.flush(AsyncRepositoryConnector.java:1035)
    at org.sonatype.aether.connector.async.AsyncRepositoryConnector.get(AsyncRepositoryConnector.java:409)
    at org.sonatype.aether.impl.internal.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:563)
    at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
    at org.sonatype.aether.impl.internal.DefaultMetadataResolver$1.execute(DefaultMetadataResolver.java:486)
    at org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:345)
    at org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:173)
    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveMetadata(DefaultRepositorySystem.java:301)
    at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolveFromRepository(DefaultPluginVersionResolver.java:134)
    at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolve(DefaultPluginVersionResolver.java:97)
    at org.apache.maven.lifecycle.internal.LifecyclePluginResolver.resolveMissingPluginVersions(LifecyclePluginResolver.java:72)
    at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:110)
    at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:129)
    at org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:92)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    Caused by: java.net.ConnectException: connection timed out to http://repo.maven.apache.org/maven2/...n-metadata.xml
    at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:95)
    at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:381)
    at org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:372)
    at org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:334)
    at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:374)
    at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283)
    at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.ConnectException: connection timed out
    at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:371)
    at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283)
    ... 3 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] WSAG4J: Web Service Agreement for Java ............ FAILURE [10.543s]
    [INFO] WSAG4J: Common XML Types .......................... SKIPPED
    [INFO] WSAG4J: Server Resources .......................... SKIPPED
    [INFO] WSAG4J: Testing utils ............................. SKIPPED
    [INFO] WSAG4J: API ....................................... SKIPPED
    [INFO] WSAG4J: Client Resources .......................... SKIPPED
    [INFO] WSAG4J: Security Module ........................... SKIPPED
    [INFO] WSAG4J: Client .................................... SKIPPED
    [INFO] WSAG4J: Server .................................... SKIPPED
    [INFO] WSAG4J: Pattern ................................... SKIPPED
    [INFO] WSAG4J: Orchestrator .............................. SKIPPED
    [INFO] WSAG4J: Samples ................................... SKIPPED
    [INFO] WSAG4J: WS-Stack Integration ...................... SKIPPED
    [INFO] WSAG4J: Integration Tests ......................... SKIPPED
    [INFO] WSAG4J: Agreement-Factory ......................... SKIPPED
    [INFO] WSAG4J: Distribution .............................. SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 11.751s
    [INFO] Finished at: Fri Jun 14 14:03:29 CEST 2013
    [INFO] Final Memory: 7M/75M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven-compiler-plugin' from the repositories [local (C:\Users\CVQF1540\.m2\repository), central (http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]
    org.apache.maven.plugin.version.PluginVersionResolutionException: Error resolving version for plugin 'org.apache.maven.plugins:maven-compiler-plugin' from the repositories [local (C:\Users\CVQF1540\.m2\repository), central (http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository
    at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.selectVersion(DefaultPluginVersionResolver.java:237)
    at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolveFromRepository(DefaultPluginVersionResolver.java:149)
    at org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolve(DefaultPluginVersionResolver.java:97)
    at org.apache.maven.lifecycle.internal.LifecyclePluginResolver.resolveMissingPluginVersions(LifecyclePluginResolver.java:72)
    at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:110)
    at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:129)
    at org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:92)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    [ERROR]
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/d...utionException

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

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

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    java.net.ConnectException: connection timed out to http://repo.maven.apache.org/maven2/...n-metadata.xml
    Visiblement, la machine sur laquelle tu fait tourner ce maven n'a pas accès à repo.maven.apache.org.

    Est-ce que cette machine a bien un accès réseau sortant?

  7. #7
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Je suis allé dans le centre réseau et partage et j'ai bien vérifié, la machine a bien un accès réseau sortant.

  8. #8
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    La machine que j'utilise est une machine de france telecom et sur leur propre réseau, peut être que la connexion a été bloquée par un pare feux

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

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

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    C'est peux être java qui n'as pas cet accès. Tu n'aurais pas un firewall applicatif qui tournerais sur cette machine et qui interdirait à java.exe ou maven les connection réseau?

  10. #10
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Je vais essayer de relancer le système et refaire le clean pour voir car il se pourrait qu'il y ait un processus bloquant

  11. #11
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Après avoir relancé le système et refait l'opération clean, le même problème persiste, je suis allé dans les paramètres généraux d'eclipse et au niveau réseau les valeurs présentes sont les valeurs par défaut que j'avais lors de l'installation d'eclipse. Je suis aussi allé dans la configuration de maven et tout est laissé par défaut.
    Je vais essayer de voir plus dans le fond ce qu'il en est.

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

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

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    comment par couper tes firewall (windows , avast, etc) pour être sur que ça ne vienne pas de là.

  13. #13
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    J'ai désactivé tous les pare-feux et j'ai ré-exécuté la commande mais j'ai toujours la même erreur. Je vais regarder du côté d'eclipse par rapport aux éventuels blocages qui pourraient en être la cause.

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

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

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    tu peux exécuter maven en ligne de commande pour voir si eclipse en est la cause?

  15. #15
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    En passant je viens de supprimer le dossier .m2 et j'ai proprement réinstallé maven dans eclipse. A la base je dispose de maven window et maven eclipse.

  16. #16
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    En ligne de commande :
    C:\Users\CVQF1540>mvn clean
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Maven Default Project
    [INFO] task-segment: [clean]
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo1.maven.org/maven2/org/ap...s/maven-clean-
    plugin/2.2/maven-clean-plugin-2.2.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:po
    m:2.2' from repository central (http://repo1.maven.org/maven2): Error transferri
    ng file: Connection timed out: connect
    Downloading: http://repo1.maven.org/maven2/org/ap...s/maven-clean-
    plugin/2.2/maven-clean-plugin-2.2.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:po
    m:2.2' from repository central (http://repo1.maven.org/maven2): Error transferri
    ng file: Connection timed out: connect
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Error building POM (may not be this project's POM).


    Project ID: org.apache.maven.plugins:maven-clean-plugin

    Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in repositor
    y: Unable to download the artifact from any repository

    org.apache.maven.plugins:maven-clean-plugin:pom:2.2

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)

    for project org.apache.maven.plugins:maven-clean-plugin


    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 42 seconds
    [INFO] Finished at: Fri Jun 14 16:23:02 CEST 2013
    [INFO] Final Memory: 6M/245M
    [INFO] ------------------------------------------------------------------------
    C:\Users\CVQF1540>

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

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

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    Tu dois avoir un firewall qui bloque java. T'as bien tout désactivé de ce coté là? Tu sais accéder à l'url en question avec un navigateur?

  18. #18
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Effectivement j'arrive à accéder à l'url avec le navigateur, le problème doit être ailleurs.

  19. #19
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    En outre dans la console plus en haut, on a le premier message d'anomalie suivant:
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

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

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

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    le logger n'est pas un problèm, tu peux l'ignorer. Ton problème, c'est que java n'a pas accès au serveur maven. Vu ton navigateur a accès, ça doit être une firewall software qui bloque java.

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 3 123 DernièreDernière

Discussions similaires

  1. [MAVEN] Mojo et fichiers settings.xml
    Par DanielW33 dans le forum Maven
    Réponses: 1
    Dernier message: 13/09/2007, 12h27
  2. Réponses: 17
    Dernier message: 09/07/2007, 14h28
  3. Réponses: 3
    Dernier message: 04/02/2006, 09h49
  4. [Log4j] fichier de configuration ou XML ?
    Par nabilblk dans le forum Logging
    Réponses: 2
    Dernier message: 02/09/2005, 16h42

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