When removing <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> it installed install-plugin and the 3rd party jar. It looks planetmirror is no good! On 16.5.2006 11:20, Jakub Pawlowicz wrote: Hi! It seems that maven-metadata-central.xml is corrupted. Try to delete it and then rerun the mvn install.HTH Regards, Jakub On Tue, 16 May 2006 11:12:12 +0200, Borut Bolčina wroteI 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?--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
- Re: install-file generatePom Jakub Pawlowicz
- Re: install-file generatePom Borut Bolčina
- Re: install-file generatePom Martin Vysny
- Re: install-file generatePom Borut Bolčina
- Re: install-file generatePom Wayne Fay