mirror of https://github.com/apache/lucene.git
SOLR-9109: Allow specification of a custom Ivy settings file via system property "ivysettings.xml".
This commit is contained in:
parent
ae93f4e7ac
commit
82788504aa
|
@ -137,6 +137,9 @@ Other
|
||||||
* LUCENE-7263: Make queryparser/xml/CoreParser's SpanQueryBuilderFactory
|
* LUCENE-7263: Make queryparser/xml/CoreParser's SpanQueryBuilderFactory
|
||||||
accessible to deriving classes. (Daniel Collins via Christine Poerschke)
|
accessible to deriving classes. (Daniel Collins via Christine Poerschke)
|
||||||
|
|
||||||
|
* SOLR-9109: Allow specification of a custom Ivy settings file via system
|
||||||
|
property "ivysettings.xml". (Misha Dmitriev, Uwe Schindler, Steve Rowe)
|
||||||
|
|
||||||
======================= Lucene 6.0.1 =======================
|
======================= Lucene 6.0.1 =======================
|
||||||
(No Changes)
|
(No Changes)
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
<property name="dev-tools.dir" location="${common.dir}/../dev-tools"/>
|
<property name="dev-tools.dir" location="${common.dir}/../dev-tools"/>
|
||||||
<property name="prettify.dir" location="${common.dir}/tools/prettify"/>
|
<property name="prettify.dir" location="${common.dir}/tools/prettify"/>
|
||||||
<property name="license.dir" location="${common.dir}/licenses"/>
|
<property name="license.dir" location="${common.dir}/licenses"/>
|
||||||
|
<property name="ivysettings.xml" location="${common.dir}/default-nested-ivy-settings.xml"/>
|
||||||
|
|
||||||
<tstamp>
|
<tstamp>
|
||||||
<format property="current.year" pattern="yyyy"/>
|
<format property="current.year" pattern="yyyy"/>
|
||||||
|
@ -422,7 +423,7 @@
|
||||||
you have an idea, fix it.
|
you have an idea, fix it.
|
||||||
unless="ivy.settings.uptodate" -->
|
unless="ivy.settings.uptodate" -->
|
||||||
<!-- override: just for safety, should be unnecessary -->
|
<!-- override: just for safety, should be unnecessary -->
|
||||||
<ivy:configure file="${common.dir}/ivy-settings.xml" override="true"/>
|
<ivy:configure file="${common.dir}/top-level-ivy-settings.xml" override="true"/>
|
||||||
<!-- <property name="ivy.settings.uptodate" value="true"/> -->
|
<!-- <property name="ivy.settings.uptodate" value="true"/> -->
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
|
@ -14,27 +14,28 @@
|
||||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, either express or implied. See the License for the
|
KIND, either express or implied. See the License for the
|
||||||
specific language governing permissions and limitations
|
specific language governing permissions and limitations
|
||||||
under the License.
|
under the License.
|
||||||
-->
|
-->
|
||||||
<ivysettings>
|
<ivysettings>
|
||||||
|
<!-- This file is included by default by top-level-ivy-settings.xml,
|
||||||
|
which loads ivy-versions.properties as Ivy variables. -->
|
||||||
|
|
||||||
<settings defaultResolver="default"/>
|
<settings defaultResolver="default"/>
|
||||||
|
|
||||||
<property name="local-maven2-dir" value="${user.home}/.m2/repository/" />
|
<property name="local-maven2-dir" value="${user.home}/.m2/repository/" />
|
||||||
|
|
||||||
<properties file="${ivy.settings.dir}/ivy-versions.properties" override="false"/>
|
|
||||||
|
|
||||||
<include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
|
<include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
|
||||||
<include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
|
<include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
|
||||||
<include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
|
<include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
|
||||||
<include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
|
<include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
|
||||||
|
|
||||||
<caches lockStrategy="${ivy.lock-strategy}" resolutionCacheDir="${ivy.resolution-cache.dir}" />
|
<caches lockStrategy="${ivy.lock-strategy}" resolutionCacheDir="${ivy.resolution-cache.dir}" />
|
||||||
|
|
||||||
<resolvers>
|
<resolvers>
|
||||||
<ibiblio name="sonatype-releases" root="https://oss.sonatype.org/content/repositories/releases" m2compatible="true" />
|
<ibiblio name="sonatype-releases" root="https://oss.sonatype.org/content/repositories/releases" m2compatible="true" />
|
||||||
<ibiblio name="maven.restlet.org" root="http://maven.restlet.org" m2compatible="true" />
|
<ibiblio name="maven.restlet.org" root="http://maven.restlet.org" m2compatible="true" />
|
||||||
<ibiblio name="releases.cloudera.com" root="http://repository.cloudera.com/content/repositories/releases" m2compatible="true" />
|
<ibiblio name="releases.cloudera.com" root="http://repository.cloudera.com/content/repositories/releases" m2compatible="true" />
|
||||||
|
|
||||||
<!-- needed only for newer svnkit releases, e.g. 1.8.x -->
|
<!-- needed only for newer svnkit releases, e.g. 1.8.x -->
|
||||||
<ibiblio name="svnkit-releases" root="http://maven.tmatesoft.com/content/repositories/releases" m2compatible="true" />
|
<ibiblio name="svnkit-releases" root="http://maven.tmatesoft.com/content/repositories/releases" m2compatible="true" />
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
or more contributor license agreements. See the NOTICE file
|
||||||
|
distributed with this work for additional information
|
||||||
|
regarding copyright ownership. The ASF licenses this file
|
||||||
|
to you under the Apache License, Version 2.0 (the
|
||||||
|
"License"); you may not use this file except in compliance
|
||||||
|
with the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
-->
|
||||||
|
<ivysettings>
|
||||||
|
<!-- Load ivy-versions.properties as Ivy variables. -->
|
||||||
|
<properties file="${ivy.settings.dir}/ivy-versions.properties" override="false"/>
|
||||||
|
<!-- Include the Ivy settings file pointed to by the "ivysettings.xml" property. -->
|
||||||
|
<include url="${ivysettings.xml}"/>
|
||||||
|
</ivysettings>
|
|
@ -505,12 +505,12 @@
|
||||||
|
|
||||||
<!-- Forbidden API Task, customizations for Solr -->
|
<!-- Forbidden API Task, customizations for Solr -->
|
||||||
<target name="-check-forbidden-all" depends="-init-forbidden-apis,compile-core,compile-test">
|
<target name="-check-forbidden-all" depends="-init-forbidden-apis,compile-core,compile-test">
|
||||||
<property file="${common.dir}/ivy-versions.properties"/> <!-- for commons-io version -->
|
<property prefix="ivyversions" file="${common.dir}/ivy-versions.properties"/> <!-- for commons-io version -->
|
||||||
<forbidden-apis internalRuntimeForbidden="true" suppressAnnotation="**.SuppressForbidden" classpathref="forbidden-apis.allclasses.classpath">
|
<forbidden-apis internalRuntimeForbidden="true" suppressAnnotation="**.SuppressForbidden" classpathref="forbidden-apis.allclasses.classpath">
|
||||||
<signatures>
|
<signatures>
|
||||||
<bundled name="jdk-unsafe-${javac.target}"/>
|
<bundled name="jdk-unsafe-${javac.target}"/>
|
||||||
<bundled name="jdk-deprecated-${javac.target}"/>
|
<bundled name="jdk-deprecated-${javac.target}"/>
|
||||||
<bundled name="commons-io-unsafe-${/commons-io/commons-io}"/>
|
<bundled name="commons-io-unsafe-${ivyversions./commons-io/commons-io}"/>
|
||||||
<fileset dir="${common.dir}/tools/forbiddenApis">
|
<fileset dir="${common.dir}/tools/forbiddenApis">
|
||||||
<include name="base.txt" />
|
<include name="base.txt" />
|
||||||
<include name="servlet-api.txt" />
|
<include name="servlet-api.txt" />
|
||||||
|
|
Loading…
Reference in New Issue