lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Rowe <sar...@gmail.com>
Subject Re: pom.xml.template schemaLocation
Date Mon, 16 Oct 2017 15:18:13 GMT
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 <sarowe@gmail.com> wrote:
> 
> Hi Christine,
> 
>> On Oct 16, 2017, at 9:00 AM, Christine Poerschke (BLOOMBERG/ LONDON) <cpoerschke@bloomberg.net>
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message