J'ai des projets écrits en java6 en 2011 avec maven. Ils contiennent des générations de reports avec jasperreport. Mais dès que je modifie un report je ne peux plus compiler le projet.
La raison est qu'il fait appel à des jar placés sur un repository inatteignable.
Il s'agit de
http://repository.codehaus.org
http://snapshots.repository.codehaus.org
http://nexus.codehaus.org
http://fisheye.codehaus.org
Comme l'explique l'article https://support.sonatype.com/hc/en-u...Nexus-Instance le référentiel codehaus.org n'existe plus.Citation:
[INFO] Downloading: http://snapshots.repository.codehaus...n-metadata.xml
[WARNING] Could not transfer metadata commons-beanutils:commons-beanutils/maven-metadata.xml from/to codehaus.org (http://snapshots.repository.codehaus.org): snapshots.repository.codehaus.org
[INFO] Downloading: http://snapshots.repository.codehaus...n-metadata.xml
[WARNING] Could not transfer metadata commons-collections:commons-collections/maven-metadata.xml from/to codehaus.org (http://snapshots.repository.codehaus.org): snapshots.repository.codehaus.org
[INFO] Downloading: http://snapshots.repository.codehaus...n-metadata.xml
[WARNING] Could not transfer metadata commons-digester:commons-digester/maven-metadata.xml from/to codehaus.org (http://snapshots.repository.codehaus.org): snapshots.repository.codehaus.org
[INFO] Downloading: http://snapshots.repository.codehaus...n-metadata.xml
[WARNING] Could not transfer metadata commons-logging:commons-logging/maven-metadata.xml from/to codehaus.org (http://snapshots.repository.codehaus.org): snapshots.repository.codehaus.org
[INFO] Downloading: http://snapshots.repository.codehaus...n-metadata.xml
[WARNING] Could not transfer metadata itext:itext/maven-metadata.xml from/to codehaus.org (http://snapshots.repository.codehaus.org): snapshots.repository.codehaus.org
[INFO] Downloading: http://snapshots.repository.codehaus...n-metadata.xml
[WARNING] Could not transfer metadata jfree:jcommon/maven-metadata.xml from/to codehaus.org (http://snapshots.repository.codehaus.org): snapshots.repository.codehaus.org
[INFO] Downloading: http://snapshots.repository.codehaus...n-metadata.xml
[WARNING] Could not transfer metadata jfree:jfreechart/maven-metadata.xml from/to codehaus.org (http://snapshots.repository.codehaus.org): snapshots.repository.codehaus.org
[INFO] Downloading: http://snapshots.repository.codehaus...n-metadata.xml
[WARNING] Could not transfer metadata eclipse:jdtcore/maven-metadata.xml from/to codehaus.org (http://snapshots.repository.codehaus.org): snapshots.repository.codehaus.org
Ce que je ne trouve pas c'est la façon de faire pour que maven n'aille pas chercher les jars sur ces repositories mais qu'il aille les chercher sur mon poste local.
Comment modifier les maven-metadata.xml ?
Comment l'écrire dans le pom.xml ?
Quelqu'un a déjà fait ça ?