You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul Spencer <pa...@apache.org> on 2006/05/17 23:28:01 UTC

Error downloading commons-logging-1.1.pom from repo.mergere.com

I am getting the following error when Maven is downloading 
commons-logging-1.1.pom from repo.mergere.com

[WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is 
invalid. It will be ignored for artifact resolution. Reason: Parse error 
reading POM. Reason: expected start tag name and not / (position: 
START_DOCUMENT seen </... @1:2
)


I also get a "XML Parsing Error: not well-formed" error when viewing the 
pom in a browser.
 
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom

Paul Spencer

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


Re: Error downloading commons-logging-1.1.pom from repo.mergere.com

Posted by Paul Spencer <pa...@apache.org>.
Dennis,
It sounds like a bug in the "Maven1-to-Maven2 repo converter".  Is this
something I should report?  If so, who should I report it to?

Paul Spencer

Dennis Lundberg wrote:
> Paul Spencer wrote:
> 
>> I am getting the following error when Maven is downloading 
>> commons-logging-1.1.pom from repo.mergere.com
>>
>> [WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is 
>> invalid. It will be ignored for artifact resolution. Reason: Parse 
>> error reading POM. Reason: expected start tag name and not / 
>> (position: START_DOCUMENT seen </... @1:2
>> )
>>
>>
>> I also get a "XML Parsing Error: not well-formed" error when viewing 
>> the pom in a browser.
>>
>> http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom 
> 
> 
> 
> The Maven 2 pom for commons-logging is created automatically by the 
> Maven1-to-Maven2 repo converter. It seems that the pom in question does 
> not have the xml declaration on a line of its own.
> 
> Here's what the first two lines look like:
> 
> <?xml version="1.0" encoding="UTF-8"?><project>
>   <modelVersion>4.0.0</modelVersion>
> 
> That should really be three lines like this:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
>   <modelVersion>4.0.0</modelVersion>
> 



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


Re: Error downloading commons-logging-1.1.pom from repo.mergere.com

Posted by Wayne Fay <wa...@gmail.com>.
Unless I'm mistaken, there is no "M1 to M2 converter". There is only a
"M2 to M1 converter".

So probably the M2 project pom itself should be updated. File a JIRA
bug in MEV (Maven Evangelism) with the fixed pom attached.

Wayne

On 5/17/06, Paul Spencer <pa...@mindspring.com> wrote:
> Dennis,
> It sounds like a bug in the "Maven1-to-Maven2 repo converter".  Is this
> something I should report?  If so, who should I report it to?
>
> Paul Spencer
>
> Dennis Lundberg wrote:
> > Paul Spencer wrote:
> >
> >> I am getting the following error when Maven is downloading
> >> commons-logging-1.1.pom from repo.mergere.com
> >>
> >> [WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is
> >> invalid. It will be ignored for artifact resolution. Reason: Parse
> >> error reading POM. Reason: expected start tag name and not /
> >> (position: START_DOCUMENT seen </... @1:2
> >> )
> >>
> >>
> >> I also get a "XML Parsing Error: not well-formed" error when viewing
> >> the pom in a browser.
> >>
> >> http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom
> >
> >
> >
> > The Maven 2 pom for commons-logging is created automatically by the
> > Maven1-to-Maven2 repo converter. It seems that the pom in question does
> > not have the xml declaration on a line of its own.
> >
> > Here's what the first two lines look like:
> >
> > <?xml version="1.0" encoding="UTF-8"?><project>
> >   <modelVersion>4.0.0</modelVersion>
> >
> > That should really be three lines like this:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <project>
> >   <modelVersion>4.0.0</modelVersion>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: Error downloading commons-logging-1.1.pom from repo.mergere.com

Posted by Paul Spencer <pa...@mindspring.com>.
Dennis,
It sounds like a bug in the "Maven1-to-Maven2 repo converter".  Is this 
something I should report?  If so, who should I report it to?

Paul Spencer

Dennis Lundberg wrote:
> Paul Spencer wrote:
> 
>> I am getting the following error when Maven is downloading 
>> commons-logging-1.1.pom from repo.mergere.com
>>
>> [WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is 
>> invalid. It will be ignored for artifact resolution. Reason: Parse 
>> error reading POM. Reason: expected start tag name and not / 
>> (position: START_DOCUMENT seen </... @1:2
>> )
>>
>>
>> I also get a "XML Parsing Error: not well-formed" error when viewing 
>> the pom in a browser.
>>
>> http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom 
> 
> 
> 
> The Maven 2 pom for commons-logging is created automatically by the 
> Maven1-to-Maven2 repo converter. It seems that the pom in question does 
> not have the xml declaration on a line of its own.
> 
> Here's what the first two lines look like:
> 
> <?xml version="1.0" encoding="UTF-8"?><project>
>   <modelVersion>4.0.0</modelVersion>
> 
> That should really be three lines like this:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
>   <modelVersion>4.0.0</modelVersion>
> 


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


Re: Error downloading commons-logging-1.1.pom from repo.mergere.com

Posted by Dennis Lundberg <de...@apache.org>.
Paul Spencer wrote:
> I am getting the following error when Maven is downloading 
> commons-logging-1.1.pom from repo.mergere.com
> 
> [WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is 
> invalid. It will be ignored for artifact resolution. Reason: Parse error 
> reading POM. Reason: expected start tag name and not / (position: 
> START_DOCUMENT seen </... @1:2
> )
> 
> 
> I also get a "XML Parsing Error: not well-formed" error when viewing the 
> pom in a browser.
> 
> http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom 

The Maven 2 pom for commons-logging is created automatically by the 
Maven1-to-Maven2 repo converter. It seems that the pom in question does 
not have the xml declaration on a line of its own.

Here's what the first two lines look like:

<?xml version="1.0" encoding="UTF-8"?><project>
   <modelVersion>4.0.0</modelVersion>

That should really be three lines like this:

<?xml version="1.0" encoding="UTF-8"?>
<project>
   <modelVersion>4.0.0</modelVersion>

-- 
Dennis Lundberg

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