I am loosing battle with maven...

I removed .m2\repository\org\apache\maven\plugins\maven-install-plugin. Now when trying to install some 3rd party jar

   mvn install:install-file -DgroupId=jxl -DartifactId=jxl
   -Dversion=2.5.9 -DgeneratePom
   =true -Dpackaging=jar -Dfile=jxl.jar
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'install'.
   [INFO]
   ------------------------------------------------------------------------
   [ERROR] BUILD ERROR
   [INFO]
   ------------------------------------------------------------------------
   [INFO] Error building POM (may not be this project's POM).


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

   Reason: Error getting POM for
   'org.apache.maven.plugins:maven-install-plugin' from the repository:
   Unable to read local copy of me
   tadata: Cannot read metadata from 'C:\Documents and
   
Settings\borutb\.m2\repository\org\apache\maven\plugins\maven-install-plugin\m
   aven-metadata-central.xml': end tag name </head> must be the same as
   start tag <link> from line 12 (position: TEXT seen .../planet
   mirror.com/themes/standard/pm.css\' type=\'text/css\'>\n</head>...
   @13:8)
     org.apache.maven.plugins:maven-install-plugin:pom:LATEST


The install plugin is not installed.

In my settings.xml

<mirrors>
       <mirror>
           <id>planetmirror.com</id>
<name>planetmirror Mirror of http://repo1.maven.org/maven2/</name>
           <url>http://public.planetmirror.com/pub/maven2</url>
           <mirrorOf>central</mirrorOf>
       </mirror>
       <mirror>
           <mirrorOf>snapshots</mirrorOf>
           <name>snapshots codehaus hack</name>
           <id>snapshots codehaus hack</id>
           <url>http://www.ibiblio.org/maven2/</url>
       </mirror>
   </mirrors>

What is going on?

Reply via email to