Mark Lundquist wrote:
On Nov 20, 2006, at 9:39 AM, Jorg Heymans wrote:
The repo settings look outdated. Just restore settings.xml from a
clean maven distro and try again. The main idea is that you shouldn't
need the mirrors anymore as repo1.maven.org now points to a very
stable and fast server. Furthermore, certain mirrors have been known
not to have all artifacts synchronized properly.
OK, thanks for that info. I restored settings.xml as you suggested and
still get the same error. However, it turns out that the OOTB
settings.xml doesn't configure any mirrors anyway. Can you paste me a
<mirror> for repo1?
You shouldn't need any mirrors. The default repo1.maven.org suffices.
Try zapping ~/.m2/repository/org/apache/maven/plugins/maven-jar-plugin ,
perhaps the plugin metadata got corrupted. If that doesn't work try
zapping the entire ~/.m2/repository.
Jorg