You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by tubin gen <fa...@gmail.com> on 2009/07/13 17:23:05 UTC

error with maven-metadata-Agile Java.xml

All of a sudden I started getting this error

Error message: Unable to get dependency information: Unable to read local
copy of metadata: Cannot read metadata from 'C:\Documents and
Settings\sairamm\.m2\repository\commons-collections\commons-collections\maven-metadata-Agile
Java.xml': end tag name </head> must be the same as start tag <meta> from
line 6 (position: TEXT seen ...h;width:100%;
margin-left:10px;text-align:left}\r\n</style>\r\n</head>... @27:8)
  commons-collections:commons-collections:jar:null


Root error message: end tag name </head> must be the same as start tag
<meta> from line 6 (position: TEXT seen ...h;width:100%;
margin-left:10px;text-align:left}\r\n</style>\r\n</head>... @27:8)

Please help how can I resolve this.

Re: error with maven-metadata-Agile Java.xml

Posted by Jan Koen Annot <Ja...@infor.com>.
I found that the agilejava plugin repository web site
http://agilejava.com/maven/ is down.
The html error message returned by web hosting company lunarpages is stored
into the xml file maven-metadata-agilejava.xml and appears to be incorrect
xml.

I disabled this plugin repository by adding the following code to my own
pom.xml:

	<pluginRepositories>
		<pluginRepository>
			<!-- this plugin repository was disabled, as its website was down. -->
			<id>agilejava</id>
			<url>http://agilejava.com/maven/</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
			<releases>
				<enabled>false</enabled>
			</releases>
		</pluginRepository>
	</pluginRepositories>

-- 
View this message in context: http://www.nabble.com/error-with-maven-metadata-Agile-Java.xml-tp24463840p24479206.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: error with maven-metadata-Agile Java.xml

Posted by Jan Koen Annot <Ja...@infor.com>.
Yesterday, I observed the same error in the maven-metadata-agilejava.xml file
of the maven-checkstyle-plugin and maven-surefire-report-plugin.
My work around was to edit the file and change the two lines


> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
> <meta name="generator" content="HAPedit 3.1">
> 
to


> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
> <meta name="generator" content="HAPedit 3.1"/>
> 
(so I simply changed the closing ">" to a closing "/>").

Of course this is not a real solution...
Today I encountered the same error on a system where I do not have write
permission in the .m2 directory, so I am stuck...

Further help is very welcome.


fachhoch wrote:
> 
> All of a sudden I started getting this error
> 
> Error message: Unable to get dependency information: Unable to read local
> copy of metadata: Cannot read metadata from 'C:\Documents and
> Settings\sairamm\.m2\repository\commons-collections\commons-collections\maven-metadata-Agile
> Java.xml': end tag name </head> must be the same as start tag <meta> from
> line 6 (position: TEXT seen ...h;width:100%;
> margin-left:10px;text-align:left}\r\n</style>\r\n</head>... @27:8)
>   commons-collections:commons-collections:jar:null
> 
> 
> Root error message: end tag name </head> must be the same as start tag
> <meta> from line 6 (position: TEXT seen ...h;width:100%;
> margin-left:10px;text-align:left}\r\n</style>\r\n</head>... @27:8)
> 
> Please help how can I resolve this.
> 
> 

-- 
View this message in context: http://www.nabble.com/error-with-maven-metadata-Agile-Java.xml-tp24463840p24476303.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org