openejb-core 3.0.0 snapshot build error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

openejb-core 3.0.0 snapshot build error

Alexander Saint Croix-2
Hey guys, when I run my build (which depends on the openejb-core
3.0.0snapshot pom, I get a build error.  I wiped out the repo
directory and
rebuilt, to no avail.  Here's the error:

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.openejb:openejb-core

Reason: Error getting POM for 'org.apache.openejb:openejb-core' from the
repository: Unable to read local copy of metadata: Cannot read metadata from
'/Users/alex/.m2/repository/org/apache/openejb/openejb-core/3.0.0-SNAPSHOT/maven-
metadata-apache-m2-snapshot.xml': end tag name </BODY> must match start tag
name <HR> from line 7 (position: TEXT seen ...</ADDRESS>\n</BODY>... @9:8)
  org.apache.openejb:openejb-core:pom:3.0.0-SNAPSHOT
Reply | Threaded
Open this post in threaded view
|

Re: openejb-core 3.0.0 snapshot build error

Dain Sundstrom
Delete /Users/alex/.m2/repository/org/apache/openejb/openejb-core/
3.0.0-SNAPSHOT/maven-metadata-apache-m2-snapshot.xml from your  
machine.  My guess, is you are behind a proxy and it substituted an  
error page for that file.  Or said another way, I'd bet that if you  
open that file it contains html not xml.  Either way, just delete it  
and maven will redownload it.

-dain

On Jan 10, 2008, at 11:44 AM, Alexander Saint Croix wrote:

> Hey guys, when I run my build (which depends on the openejb-core
> 3.0.0snapshot pom, I get a build error.  I wiped out the repo
> directory and
> rebuilt, to no avail.  Here's the error:
>
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.openejb:openejb-core
>
> Reason: Error getting POM for 'org.apache.openejb:openejb-core'  
> from the
> repository: Unable to read local copy of metadata: Cannot read  
> metadata from
> '/Users/alex/.m2/repository/org/apache/openejb/openejb-core/3.0.0-
> SNAPSHOT/maven-
> metadata-apache-m2-snapshot.xml': end tag name </BODY> must match  
> start tag
> name <HR> from line 7 (position: TEXT seen ...</ADDRESS>\n</
> BODY>... @9:8)
>   org.apache.openejb:openejb-core:pom:3.0.0-SNAPSHOT