Bonjour,
je vous expose le problème que je rencontre :
1.)MON ENVIRONNEMENT DE TRAVAIL:
- Mon Environnement de développement : Eclipse
- Mon outil de Gestion des Dépendances : Maven
2.)MA CONFIGURATION ECLIPSE :
2.A.)MON CHEMIN D'INSTALLATION MAVEN :
J'ai renseigné la rubrique 'Répertoire d'Installation Maven' :
- Navigation dans Eclipse : Eclipse --> Window --> Preferences --> Maven --> Installations --> Installation used to launch Maven.
- Répertoire (avec chemin complet) : 'C:\ApacheMaven\apache-maven-3.1.1-bin\apache-maven-3.1.1\bin' (= Une installation Maven indépendante d'Eclipse)
2.B.)MON FICHIER DE CONFIGURATION GLOBALE :
J'ai renseigné la rubrique 'Fichier de Configuration Globale' :
- Navigation dans Eclipse : Eclipse --> Window --> Preferences --> Maven --> Installations --> Global settings from installation directory.
- Fichier (avec chemin complet) : 'C:\ApacheMaven\apache-maven-3.1.1-bin\apache-maven-3.1.1\conf\settings.xml'
J'ai renseigné le 'Local Repository' dans ce fichier :
- Element XML : <localRepository>...</localRepository>
- Valeur renseignée : F:\_DEVLOPMT\Devlopmt_J2EE\Web_Spring\_repository (= Un répertoire créé à la racine de mon Workspace Eclipse)
2.C.)MON FICHIER DE CONFIGURATION UTILISATEUR :
J'ai renseigné la rubrique 'Fichier de Configuration Utilisateur' :
- Navigation dans Eclipse : Eclipse --> Window --> Preferences --> Maven --> User Settings --> User Settings.
- Fichier (avec chemin complet) : 'C:\ApacheMaven\apache-maven-3.1.1-bin\apache-maven-3.1.1\conf\settings.xml'
3.)LE PROBLEME QUE JE RENCONTRE :
Dans mon Projet Eclipse :
- Le fichier 'pom.xml' : Il contient des erreurs (générées par le Compilateur Maven).
- Message d'erreur : ci-dessous.
1 2 3 4 5 6 7 8 9
| Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.5
from http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has elapsed or updates are forced.
Original error:
Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5
from/to central (http://repo.maven.apache.org/maven2): null
to http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.pom |
4.)MON DIAGNOSTIC :
- Maven effectue une recherche qui se termine en échec. (!!!)
- L'élément recherché : le plug-in 'maven-resources-plugin'.
5.)MA DEMANDE D'ASSISTANCE :
Que dois-je faire pour que Maven trouve ce plug-in ?
Merci pour votre assistance sur ces points.
Je dois absolument résoudre ce blocage.
chat_roux
Partager