continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From murali mohan <muralih...@gmail.com>
Subject Re: "plexus-spring" related error when compiling continuum source from Trunk
Date Tue, 14 Feb 2012 10:10:51 GMT
I was trying to build all projects under
http://svn.apache.org/repos/asf/continuum/trunk.

Thanks Louis. And yes, I am using maven 2. May be, that is the problem.

-Murali.

On Mon, Feb 13, 2012 at 8:04 PM, Louis Smith <dr.louis.smith@gmail.com>wrote:

> The error is specific:
>
> repository: Unable to read local copy of metadata: Cannot read metadata
> from
> '/home/murali/.m2/repository/org/codehaus/redback/plexus-
> spring/1.3-M2-SNAPSHOT/maven-metadata-codehaus.snapshots.xml':
> expected START_TAG or END_TAG not TEXT (position: TEXT seen
> ...<extension>jar</... @14:25)
>
> It doesn't like the <extension> tag in the metadata file.  I believe that
> <extension> is part of Maven 3, and the support is not available in M2.
>  So, any artifact with <extension> may not be usable for a maven2 build.
>
> What project are you trying to build?  I'll download it to both of my
> servers and test against m2 and m3, and let you know.  It may take me until
> tomorrow to resolve it.
>
> Louis
>
> On Mon, Feb 13, 2012 at 7:36 AM, murali mohan <muralihere@gmail.com>
> wrote:
>
> > Hi Louis,
> >
> > Thanks sir for your reply.
> >
> > I am working on a fresh checkout from svn/trunk. No changes from my end.
> I
> > think it should work as a fresh checkout.
> >
> > Moreover, there is no error in that XML file
> >
> >
> (/home/murali/.m2/repository/org/codehaus/redback/plexus-spring/1.3-M2-SNAPSHOT/maven-metadata-codehaus.snapshots.xml).
> > The contents of that file is given below.
> >
> > I downloaded the pom file and jar file as per that metadata file and
> placed
> > it in the same folder  (The mvn build was not doing it automatically for
> > some reason). Even then the same error.
> >
> > Content of maven-metadata-codehaus.snapshots.xml:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <metadata modelVersion="1.1.0">
> >  <groupId>org.codehaus.redback</groupId>
> >  <artifactId>plexus-spring</artifactId>
> >  <version>1.3-M2-SNAPSHOT</version>
> >  <versioning>
> >    <snapshot>
> >      <timestamp>20110819.150938</timestamp>
> >      <buildNumber>1</buildNumber>
> >    </snapshot>
> >    <lastUpdated>20110819150938</lastUpdated>
> >    <snapshotVersions>
> >      <snapshotVersion>
> >        <extension>jar</extension>
> >        <value>1.3-M2-20110819.150938-1</value>
> >        <updated>20110819150938</updated>
> >      </snapshotVersion>
> >      <snapshotVersion>
> >        <extension>pom</extension>
> >        <value>1.3-M2-20110819.150938-1</value>
> >        <updated>20110819150938</updated>
> >      </snapshotVersion>
> >    </snapshotVersions>
> >  </versioning>
> > </metadata>
> >
> >
> > -Murali.
> >
> >
> >
> > On Mon, Feb 13, 2012 at 12:03 PM, Louis Smith <dr.louis.smith@gmail.com
> > >wrote:
> >
> > > I'm not a part of the team, just a heavy user... the problem is on YOUR
> > > machine... please follow the instructions in the error message.
> > >
> > > Open the file:
> > >
> > > /home/murali/.m2/repository/org/codehaus/redback/plexus-
> > > spring/1.3-M2-SNAPSHOT/maven-metadata-codehaus.snapshots.xml
> > >
> > > You will find that it contains an HTML error page instead of XML
> version
> > > information for plexus-spring.
> > >
> > > The error will tell you what to do.  Most likely, it will tell you that
> > the
> > > codehaus-snapshots repository is no longer at the URL you have in ONE
> OF
> > > your pom.xml files that you use to build projects on your box.  You
> will
> > > have to delete this "bad" xml file, find the project that has the old
> > url,
> > > correct it, and then start rebuilding your projects to get the new URL
> > and
> > > correct download location established again. Then, you can rebuild this
> > > project.
> > >
> > > This happens quite a lot with repositories being moved or upgraded.. as
> > > folks move from "flat file" repositories to nexus managed ones, they
> put
> > up
> > > HTML redirector pages, which get downloaded as maven XML version
> > > metadata... and they blow up our builds.
> > >
> > > This is a major reason that we have moved our largest client (186
> > projects
> > > in continuum) to a "master pom" model so we can control all the
> > repository
> > > entries... we used to have these crashes every week and it was a real
> > PITA
> > > to find the offending pom.
> > >
> > > Good Luck!
> > >
> > > Louis
> > >
> > >
> > >
> > > On Mon, Feb 13, 2012 at 5:20 AM, murali mohan <muralihere@gmail.com>
> > > wrote:
> > >
> > > > Please help, team.
> > > >
> > > > -Murali
> > > >
> > > > On Thu, Feb 9, 2012 at 12:33 PM, murali mohan <muralihere@gmail.com>
> > > > wrote:
> > > >
> > > > > Hello all,
> > > > >
> > > > > I am facing some problems with the plexus-spring snapshot
> > dependencies,
> > > > > when I try to install continuum locally from root using "mvn clean
> > > > > -Dmaven.test.skip install". I have tried to clean the local maven
> > > > > repository and tried cleaning it, but no joy. Also tried
> downloading
> > > > > manually, but still the same error. Please suggest what I can do
to
> > > > compile
> > > > > the full project.
> > > > >
> > > > > My final aim is to run the class BuildResultsPurge in
> > > > > continuum-xmlrpc-client project.
> > > > >
> > > > > Error:
> > > > > ===============
> > > > >
> > > > > Project ID: org.codehaus.redback:plexus-spring
> > > > >
> > > > > Reason: Error getting POM for 'org.codehaus.redback:plexus-spring'
> > from
> > > > > the repository: Unable to read local copy of metadata: Cannot read
> > > > metadata
> > > > > from
> > > > >
> > > >
> > >
> >
> '/home/murali/.m2/repository/org/codehaus/redback/plexus-spring/1.3-M2-SNAPSHOT/maven-metadata-codehaus.snapshots.xml':
> > > > > expected START_TAG or END_TAG not TEXT (position: TEXT seen
> > > > > ...<extension>jar</... @14:25)
> > > > >   org.codehaus.redback:plexus-spring:pom:1.3-M2-SNAPSHOT
> > > > >
> > > > >  for project org.codehaus.redback:plexus-spring
> > > > >
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Murali
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Dr. Louis Smith, ThD
> > > Chief Technology Officer, Kyra InfoTech
> > > Colonel, Commemorative Air Force
> > >
> >
>
>
>
> --
> Dr. Louis Smith, ThD
> Chief Technology Officer, Kyra InfoTech
> Colonel, Commemorative Air Force
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message