[ 
https://issues.apache.org/jira/browse/HADOOP-16323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16845980#comment-16845980
 ] 

Steve Loughran commented on HADOOP-16323:
-----------------------------------------

-1

the xmlns attributes declare the namespace of the XML files; these must stay as 
http. It's the XML schema location URLs which should be moved to HDFS. 

If you do a get of the https://maven.apache.org/xsd/maven-4.0.0.xsd XSD file 
you can see that it still declares itself as the schema for http URLs.  XSD 
namespaces are probably actually URIs -they don't get resolved. It's only th
{code}
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" xmlns="http://maven.apache.org/POM/4.0.0"; 
targetNamespace="http://maven.apache.org/POM/4.0.0";>
{code}

The change should only go for the schema location; the xsd file which a GET 
will return to declare the format of the file
{code}
        <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 
https://maven.apache.org/xsd/maven-4.0.0.xsd";>
{code}


> https everywhere in Maven settings
> ----------------------------------
>
>                 Key: HADOOP-16323
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16323
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Minor
>         Attachments: HADOOP-16323.001.patch
>
>
> We should use https everywhere.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to