Thanks Steve! I've gone with the http:// which is what the maven.html is using.

----- Original Message -----
From: [email protected]
To: Christine Poerschke (BLOOMBERG/ LONDON), [email protected]
At: 10/16/17 16:18:35

I guess canonical is overstating it - here’s the one from both the POM 
reference <https://maven.apache.org/pom.html> and the 3.5.0 Maven Model 
<http://maven.apache.org/ref/3.5.0/maven-model/maven.html>:    •   

> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>                     http://maven.apache.org/xsd/maven-4.0.0.xsd";

+1 from me to change our pom.xml.template-s.  (I don’t know whether “http://” 
or “https://” is better.)

--
Steve
www.lucidworks.com

> On Oct 16, 2017, at 10:21 AM, Steve Rowe <[email protected]> wrote:
> 
> Hi Christine,
> 
>> On Oct 16, 2017, at 9:00 AM, Christine Poerschke (BLOOMBERG/ LONDON) 
>> <[email protected]> wrote:
>> 
>> I noticed that we have
>> 
>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
>> http://maven.apache.org/maven-v4_0_0.xsd";
>> 
>> currently and that doesn't seem to exist at present.
> 
> wget against the .xsd link says:
> 
>> HTTP request sent, awaiting response... 301 Moved Permanently
>> Location: http://maven.apache.org/xsd/maven-4.0.0.xsd [following]
> 
> But: I ran ‘mvn archetype:generate’ using Maven 3.5.0 and got the exact same 
> xsi:schemaLocation as we have in our pom.xml.template files:
> 
>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
>> http://maven.apache.org/maven-v4_0_0.xsd
> 
> I guess one could say this is canonical?
> 
> --
> Steve
> www.lucidworks.com
> 
> 
>> There's a https://maven.apache.org/xsd/maven-v3_0_0.xsd and
>>       a https://maven.apache.org/xsd/maven-4.0.0.xsd
>> linked on http://maven.apache.org/ref/3.5.0/maven-model/maven.html however.
>> 
>> Can I change our schemaLocation in the pom.xml.template files to 
>> https://maven.apache.org/xsd/maven-4.0.0.xsd or is some other change needed?
>> 
>> Thanks,
>> Christine
> 


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


Reply via email to