You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Sebastian Hennebrueder <us...@laliluna.de> on 2009/12/02 10:39:04 UTC

Ant provides incorrect POM

Hello,

the pom.xml in Maven (http://repo2.maven.org/maven2/org/apache/ant/ant/) 
doesn't look correct. Strict XML parser throw an exception on parsing.

The start should look like

<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">

but looks like
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd">

Shall I create a bug entry?

-- 
Best Regards / Viele Grüße

Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Ant provides incorrect POM

Posted by Sebastian Hennebrueder <us...@laliluna.de>.
Hello Antoine,

thank you for the proposal. I used vim to check the file so there wasn't 
a browser problem.. It is a 1.6.5 version which is in our Maven Proxy 
but I cannot tell you from where we got it.

ant/ant/1.6.5/ant-1.6.5.pom

Anyway the newer versions 1.7.x are all fine.

-- 
Best Regards / Viele Grüße

Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de




Antoine Levy Lambert schrieb:
> Hello Sebastian,
> 
> if you select the "view source" option in your web browser, you will see 
> this :
> 
> <project xmlns="http://maven.apache.org/POM/4.0.0"
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/maven-v4_0_0.xsd">
> 
> This is looking at 
> http://repo2.maven.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.pom
> 
> Regards,
> 
> Antoine
> 
> Sebastian Hennebrueder wrote:
>> Hello,
>>
>> the pom.xml in Maven 
>> (http://repo2.maven.org/maven2/org/apache/ant/ant/) doesn't look 
>> correct. Strict XML parser throw an exception on parsing.
>>
>> The start should look like
>>
>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
>>
>> but looks like
>> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
>> http://maven.apache.org/maven-v4_0_0.xsd">
>>
>> Shall I create a bug entry?
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Ant provides incorrect POM

Posted by Antoine Levy Lambert <an...@gmx.de>.
Hello Sebastian,

if you select the "view source" option in your web browser, you will see 
this :

<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd">

This is looking at 
http://repo2.maven.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.pom
 
Regards,

Antoine

Sebastian Hennebrueder wrote:
> Hello,
>
> the pom.xml in Maven 
> (http://repo2.maven.org/maven2/org/apache/ant/ant/) doesn't look 
> correct. Strict XML parser throw an exception on parsing.
>
> The start should look like
>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
>
> but looks like
> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/maven-v4_0_0.xsd">
>
> Shall I create a bug entry?
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org