Update JGit for working copy checks and explicitely set nop-logging

This commit is contained in:
Uwe Schindler 2019-04-20 01:55:23 +02:00
parent 52090c9b11
commit 391daddeb1
1 changed files with 5 additions and 4 deletions

View File

@ -20,7 +20,7 @@
<project name="lucene-solr" default="-projecthelp" basedir=".">
<import file="lucene/common-build.xml"/>
<property name="jgit-version" value="4.6.0.201612231935-r"/>
<property name="jgit-version" value="5.3.0.201903130848-r"/>
<property name="tests.heap-dump-dir" location="heapdumps"/>
@ -485,9 +485,10 @@ File | Project Structure | Platform Settings | SDKs):
<sequential>
<local name="wc.unversioned.files"/>
<local name="wc.modified.files"/>
<ivy:cachepath xmlns:ivy="antlib:org.apache.ivy.ant"
organisation="org.eclipse.jgit" module="org.eclipse.jgit" revision="${jgit-version}"
inline="true" conf="default" transitive="true" pathid="jgit.classpath"/>
<ivy:cachepath xmlns:ivy="antlib:org.apache.ivy.ant" transitive="true" resolveId="jgit" pathid="jgit.classpath">
<ivy:dependency org="org.eclipse.jgit" name="org.eclipse.jgit" rev="${jgit-version}" conf="default" />
<ivy:dependency org="org.slf4j" name="slf4j-nop" rev="1.7.2" conf="default" />
</ivy:cachepath>
<groovy taskname="wc-checker" classpathref="jgit.classpath" src="${common.dir}/tools/src/groovy/check-working-copy.groovy"/>
<fail if="wc.unversioned.files"
message="Source checkout is dirty (unversioned/missing files) after running tests!!! Offending files:${line.separator}${wc.unversioned.files}"/>