Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/java-diff-utils.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1676043992.875515/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3ry5vgh1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3ry5vgh1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7e7647093eaa4348be21600a61d1775d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1676043992.875515/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3ry5vgh1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/java-diff-utils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1674086400
Wrote: /builddir/build/SRPMS/java-diff-utils-4.12-2.fc39.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/java-diff-utils.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1676043992.875515/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3ry5vgh1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3ry5vgh1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ecca7ea4ca1f49129b2ec0366793f98f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1676043992.875515/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3ry5vgh1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/java-diff-utils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1674086400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.leEicc
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf java-diff-utils-java-diff-utils-parent-4.12
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/java-diff-utils-parent-4.12.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd java-diff-utils-java-diff-utils-parent-4.12
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-checkstyle-plugin
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-javadoc-plugin
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-release-plugin
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DLjfr4
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd java-diff-utils-java-diff-utils-parent-4.12
+ /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s
Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep
['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep']
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] java-diff-utils-parent [pom]
[INFO] java-diff-utils [jar]
[INFO] java-diff-utils-jgit [jar]
[INFO]
[INFO] ----------< io.github.java-diff-utils:java-diff-utils-parent >----------
[INFO] Building java-diff-utils-parent 4.12 [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-bundle-plugin:5.1.1:manifest (bundle-manifest) @ java-diff-utils-parent ---
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
[INFO]
[INFO] -------------< io.github.java-diff-utils:java-diff-utils >--------------
[INFO] Building java-diff-utils 4.12 [2/3]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ java-diff-utils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ java-diff-utils ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 30 source files to /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:5.1.1:manifest (bundle-manifest) @ java-diff-utils ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ java-diff-utils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 40 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ java-diff-utils ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/target/test-classes
[INFO] /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/test/java/com/github/difflib/patch/PatchWithMeyerDiffTest.java: Some input files use unchecked or unsafe operations.
[INFO] /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/test/java/com/github/difflib/patch/PatchWithMeyerDiffTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ java-diff-utils ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.github.difflib.DiffUtilsTest
Patch{deltas=[[EqualDelta, position: 0, lines: [The]], [ChangeDelta, position: 1, lines: [dog] to [fox]], [EqualDelta, position: 2, lines: [is]], [ChangeDelta, position: 3, lines: [brown] to [down]]]}
[DeleteDelta, position: 0, lines: [1]]
[ChangeDelta, position: 4, lines: [5] to [6]]
[WARNING] Tests run: 14, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.143 s - in com.github.difflib.DiffUtilsTest
[INFO] Running com.github.difflib.GenerateUnifiedDiffTest
--- 5A.txt
+++ 5B.txt
@@ -106,20 +106,28 @@
+++ b/x
@@ -1,6 +1,6 @@
-whitespace at beginning
+ whitespace at beginning
whitespace change
-whitespace in the middle
+white space in the middle
whitespace at end
unchanged line
CR at endQ
+git diff -b --ignore-space-at-eol > out
+test_expect_failure 'another test, with -b --ignore-space-at-eol' 'test_cmp expect out'
+
+tr 'Q' '\015' << EOF > expect
+diff --git a/x b/x
+index d99af23..8b32fb5 100644
+--- a/x
++++ b/x
EOF
git diff -b > out
test_expect_success 'another test, with -b' 'test_cmp expect out'
test_expect_success 'check mixed spaces and tabs in indent' '
# This is indented with SP HT SP.
echo " foo();" > x &&
git diff --check | grep "space before tab in indent"
@@ -363,10 +371,11 @@
git config core.autocrlf true &&
test_must_fail git merge master &&
git diff | sed -e "1,/^@@@/d" >actual &&
! grep "^-" actual
'
test_done
+
--- original.txt
+++ revised.txt
@@ -1,12 +1,12 @@
/*
- * Copyright 2009-2017 java-diff-utils.
+ * Copyright 2009-2017 java-diff-utills.
*
* Licensed 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.
@@ -24,21 +24,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.function.BiPredicate;
/**
* Implements the difference and patching engine
*/
-public final class DiffUtils {
+public final class DiffUtills {
/**
* Computes the difference between the original and revised list of elements with default diff
* algorithm
*
* @param types to be diffed
* @param original The original text. Must not be {@code null}.
* @param revised The revised text. Must not be {@code null}.
* @param progress progress listener
* @return The patch describing the difference between the original and revised sequences. Never
@@ -102,39 +102,65 @@
* @param progress The diff algorithm listener.
* @param includeEqualParts Include equal data parts into the patch.
* @return The patch describing the difference between the original and revised sequences. Never
* {@code null}.
*/
public static Patch diff(List original, List revised,
DiffAlgorithmI algorithm, DiffAlgorithmListener progress,
boolean includeEqualParts) {
Objects.requireNonNull(original, "original must not be null");
Objects.requireNonNull(revised, "revised must not be null");
- Objects.requireNonNull(algorithm, "algorithm must not be null");
+ Objects.requireNonNull(algorithm, "algorithm must not be null"); /* BLA BLA BLA */
return Patch.generate(original, revised, algorithm.computeDiff(original, revised, progress), includeEqualParts);
}
/**
* Computes the difference between the original and revised list of elements with default diff
* algorithm
*
* @param original The original text. Must not be {@code null}.
* @param revised The revised text. Must not be {@code null}.
* @param algorithm The diff algorithm. Must not be {@code null}.
* @return The patch describing the difference between the original and revised sequences. Never
* {@code null}.
*/
public static Patch diff(List original, List revised, DiffAlgorithmI algorithm) {
return diff(original, revised, algorithm, null);
- }
+ }
+ /**
+ * Computes the difference between the given texts inline. This one uses the "trick" to make out
+ * of texts lists of characters, like DiffRowGenerator does and merges those changes at the end
+ * together again.
+ *
+ * @param original
+ * @param revised
+ * @return
+ */
+ public static Patch diffInline(String original, String revised) {
+ List origList = new ArrayList<>();
+ List revList = new ArrayList<>();
+ for (Character character : original.toCharArray()) {
+ origList.add(character.toString());
+ }
+ for (Character character : revised.toCharArray()) {
+ revList.add(character.toString());
+ }
+ Patch patch = DiffUtils.diff(origList, revList);
+ for (AbstractDelta delta : patch.getDeltas()) {
+ delta.getSource().setLines(compressLines(delta.getSource().getLines(), ""));
+ delta.getTarget().setLines(compressLines(delta.getTarget().getLines(), ""));
+ }
+ return patch;
+ }
+
private static List compressLines(List lines, String delimiter) {
if (lines.isEmpty()) {
return Collections.emptyList();
}
return Collections.singletonList(String.join(delimiter, lines));
}
/**
* Patch the original text with given patch
*
--- one_delta_test_original.txt
+++ one_delta_test_revised.txt
@@ -1,54 +1,11 @@
-Esta é uma obra Online.
-
-Este texto é negrito
-Este texto é itálico
-Este texto está sublinhado
-Este texto está riscado
-Este texto está centralizado
-Este texto está alinhado a direita
-
-- Este texto está em uma lista numérica
-- Este texto está identado
-
-
-Este
-aqui é um link
-
-
-
,
-
-Página 1
-
-
-
-
-
-
-
-
-
-
-
-
-Página 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Página 3
-
+Revisão 3
Esta é uma obra
+Online.
Este texto é
+negrit
Este texto é itálico/p>
Este texto está
+sublinhado
Este texto está riscado agora não
+está mais
p style="text-align: left;">Este texto está
+centralizado nem este
Este texto
+está alinhado a direita
- Este texto está em uma
+lista numérica
Este aqui é um
+link
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s - in com.github.difflib.GenerateUnifiedDiffTest
[INFO] Running com.github.difflib.algorithm.myers.MyersDiffTest
[start, 0 - 14, 1 - 14, 2 - 14, 3 - 14, 4 - 14, 5 - 14, end]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in com.github.difflib.algorithm.myers.MyersDiffTest
[INFO] Running com.github.difflib.algorithm.myers.WithMeyersDiffWithLinearSpacePatchTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 s - in com.github.difflib.algorithm.myers.WithMeyersDiffWithLinearSpacePatchTest
[INFO] Running com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpaceTest
Patch{deltas=[[InsertDelta, position: 0, lines: [C]], [DeleteDelta, position: 0, lines: [A]], [DeleteDelta, position: 2, lines: [C]], [DeleteDelta, position: 5, lines: [B]], [InsertDelta, position: 7, lines: [C]]]}
Patch{deltas=[[InsertDelta, position: 0, lines: [C]], [DeleteDelta, position: 0, lines: [A]], [DeleteDelta, position: 2, lines: [C]], [DeleteDelta, position: 5, lines: [B]], [InsertDelta, position: 7, lines: [C]]]}
[start, 6 - 13, 2 - 13, 0 - 13, 0 - 13, 0 - 13, 0 - 13, 2 - 13, 0 - 13, 0 - 13, end]
Finished in 10683ms and resulted 2 deltas
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.733 s - in com.github.difflib.algorithm.myers.MeyersDiffWithLinearSpaceTest
[INFO] Running com.github.difflib.patch.ChunkTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in com.github.difflib.patch.ChunkTest
[INFO] Running com.github.difflib.patch.PatchWithMeyerDiffWithLinearSpaceTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in com.github.difflib.patch.PatchWithMeyerDiffWithLinearSpaceTest
[INFO] Running com.github.difflib.patch.PatchWithAllDiffAlgorithmsTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 s - in com.github.difflib.patch.PatchWithAllDiffAlgorithmsTest
[INFO] Running com.github.difflib.patch.PatchWithMeyerDiffTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.github.difflib.patch.PatchWithMeyerDiffTest
[INFO] Running com.github.difflib.text.StringUtilsTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in com.github.difflib.text.StringUtilsTest
[INFO] Running com.github.difflib.text.DiffRowGeneratorTest
[CHANGE,const world: string = ~'world',,const world: string = 'world';]
[CHANGE, ~**'world';**,const p: number | undefined = 42;]
[CHANGE,**const **p: number | undefined = 42;,]
[[CHANGE,Ich möchte nicht **mehr **mit ~einem~**dir** ~Bot ~sprechen.** Leite mich weiter.**,Ich möchte nicht mehr mit dir sprechen. Leite mich weiter.], [CHANGE,~Ich~**Kannst** ~soll~**du** ~das~**mich** ~schon~**zum** ~wieder~**Kundendienst** ~wiederholen?~**weiterleiten?**,Kannst du mich zum Kundendienst weiterleiten?]]
This is a test ~senctence~**for diffutils**.
|original|new|
|--------|---|
|This is a test ~senctence~.|This is a test **for diffutils**.|
|This is the second line.|This is the second line.|
|~And here is the finish.~||
[CHANGE,anything ,anything]
[CHANGE, ,]
[EQUAL,other,other]
[CHANGE,~A~,**a**]
[DELETE,~B~,]
[EQUAL,C,C]
[CHANGE,~D~,]
[EQUAL,E,E]
[test, , ,, , test2]
[test, ,, test2, ,]
[CHANGE,Testester,ester]
[CHANGE,Testester
feature best,ester feature best]
[[CHANGE,Ich möchte nicht mit ~e~i~nem~ ~Bot ~sprechen.,Ich möchte nicht m**ehr m**it **d**i**r** sprechen.** Leite mi**ch **weiter.**], [CHANGE,~I~ch s~oll~ d~as~ ~s~ch~on~ ~wi~ede~r~ wie~de~r~ho~len?,**Kann**s**t** d**u** **mi**ch **zum Kund**e**n**d**i**e**nst** w**e**i**t**erle**ite**n?]]
[CHANGE,Tester,ester]
[CHANGE,test,anything]
[CHANGE,anything ,]
[DELETE, ,]
[EQUAL,other,other]
[INSERT,test,test]
[INSERT,test2,test2]
[CHANGE,anything ,anything]
[CHANGE, ,]
[EQUAL,other,other]
[CHANGE,anything ,anything]
[CHANGE, ,]
[EQUAL,other,other]
[EQUAL,anything ,anything ]
[EQUAL, , ]
[EQUAL,other,other]
[CHANGE,more lines,some more lines]
[[CHANGE,American bobtail jaguar. American bobtail bombay but turkish angora and tomcat.,bobtail jaguar. American bobtail turkish angora and tomcat.], [CHANGE,Russian blue leopard. Lion. Tabby scottish fold for russian blue, so savannah yet lynx. Tomcat singa
pura, cheetah.,Russian blue leopard. Lion. Tabby scottish folded for russian blu
e, so savannah yettie? lynx. Tomcat singapura, cheetah.], [CHANGE,Bengal tiger panther but singapura but bombay munchkin for cougar.,Bengal tiger panther but singapura but bombay munchkin for cougar. And m
ore.]]
[CHANGE,2020-04-~04T08:00:00~**02T08:00:00**.000Z,S,HHD_MAY20,Open,,,,,,,,,,,,,,,,,,,,,,,,,2020-04-02T08:00:00.000Z,S,HHD_MAY20,Open,,,,,,,,,,,,,,,,,,,,,,,,]
[CHANGE,2020-04-~04T08:00:00~**02T08:00:00**.000Z,S,FHK_C23.5_MAY20,Open,,,,,,,,,,,,,,,,,,,,,,,,,2020-04-02T08:00:00.000Z,S,FHK_C23.5_MAY20,Open,,,,,,,,,,,,,,,,,,,,,,,,]
[CHANGE,2020-~04~**04xs**-~04T13:49:18~**04T17dw:00:00**.~210Z~**000Z**,~T~**Sdwdw**,~HHD_MAY20~**HHD_MAY20dwdw**,**Closdwde**,~2.6~,~1~,~Screen~,~0~,,,,,,,,,,,,,,,,,,,,,2020-04xs-04T17dw:00:00.000Z,Sdwdw,HHD_MAY20dwdw,Closdwde,,,,,,,,,,,,,,,,,,,,,,,,]
[INSERT,**2020-04-04T13:49:18.210Z,T,HHD_MAY20,,2.6,2,Screen,0,,,,,,,,,,,,,,,,,,,,**,2020-04-04T13:49:18.210Z,T,HHD_MAY20,,2.6,2,Screen,0,,,,,,,,,,,,,,,,,,,,]
~J. G. Feldstein~**T. P. Pastor**, Chair
|TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_LENGTH, DATA_PRECISION, NULLABLE,| TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_LENGTH, DATA_PRECISION, NULLABLE, |
|~ACTIONS_C17005~, ID, NUMBER, 22, 19, N,| **ACTIONS_C16913**, ID, NUMBER, 22, 19, N, |
|~ACTIONS_C17005~, ISSUEID, NUMBER, 22, 19, Y,| **ACTIONS_C16913**, ISSUEID, NUMBER, 22, 19, Y, |
|~ACTIONS_C17005~, MODIFIED, NUMBER, 22, 10, Y,| **ACTIONS_C16913**, MODIFIED, NUMBER, 22, 10, Y, |
|~ACTIONS_C17005~, ~TABLE~, ~VARCHAR2~, ~1020~, ~null~, Y,| **ACTIONS_C16913**, **VRS**, **NUMBER**, **22**, **1**, Y, |
|~ACTIONS_C17005~, ~S_NAME~, ~CLOB~, ~4000~, null, Y,| **ACTIONS_C16913**, **ZTABS**, **VARCHAR2**, **255**, null, Y, |
|~ACTIONS_C17008~, ~ID~, ~NUMBER~, ~22~, ~19~, ~N~,| **ACTIONS_C16913**, **ZTABS_S**, **VARCHAR2**, **255**, **null**, **Y**, |
|~ACTIONS_C17008~, ~ISSUEID~, ~NUMBER~, ~22~, ~19~, Y,| **ACTIONS_C16913**, **TASK**, **VARCHAR2**, **255**, **null**, Y, |
|~ACTIONS_C17008~, ~MODIFIED~, ~NUMBER~, ~22~, ~10~, Y,| **ACTIONS_C16913**, **HOURS_SPENT**, **VARCHAR2**, **255**, **null**, Y, |
|original|new|
|--------|---|
|This is a test ~senctence~.|This is a test **for diffutils**.|
||**This is the second line.**|
[CHANGE,A,a]
[DELETE,B,]
[EQUAL,C,C]
[CHANGE,D,]
[EQUAL,E,E]
[CHANGE,Ich möchte nicht m**ehr m**it ~e~**d**i~nem~**r** ~Bot ~sprechen.~ I~** Leite mi**ch **weiter.**,Ich möchte nicht mehr mit dir sprechen. Leite mich weiter.]
[CHANGE,**Kann**s~oll~**t** d~as~**u** ~s~**mi**ch~on~ ~wi~**zum Kund**e**n**d**i**e~r~**nst** w**e**i**t**e~de~r~ho~le**ite**n?,Kannst du mich zum Kundendienst weiterleiten?]
[CHANGE,anyth
ing ,anyth
ing]
[CHANGE, ,]
[EQUAL,other,other]
[[CHANGE,Ich möchte nicht mit einem Bot sprechen.,Ich möchte nicht mehr mit dir sprechen. Leite mich weiter.], [CHANGE,Ich soll das schon wieder wiederholen?,Kannst du mich zum Kundendienst weiterleiten?]]
[CHANGE,anything ,anything]
[CHANGE, ,]
[EQUAL,other,other]
[CHANGE,anything ,anything]
[CHANGE, ,]
[EQUAL,other,other]
[CHANGE,Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated,Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and]
[CHANGE,to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or,dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether]
[CHANGE,any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to,that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that]
[CHANGE,dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live.,war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives]
[CHANGE,It is altogether fitting and proper that we should do this. But, in a larger sense, we can not dedicate -- we can not,that that nation might live. It is altogether fitting and proper that we should do this. But, in a larger sense, we]
[CHANGE,consecrate -- we can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it,,can not dedicate -- we can not consecrate -- we can not hallow -- this ground. The brave men, living and dead, who]
[CHANGE,far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never,struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long]
[CHANGE,forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought,remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated]
[CHANGE,here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us -- that,here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here]
[CHANGE,from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion -- that,dedicated to the great task remaining before us -- that from these honored dead we take increased devotion to that cause]
[CHANGE,we here highly resolve that these dead shall not have died in vain -- that this nation, under God, shall have a new birth of,for which they gave the last full measure of devotion -- that we here highly resolve that these dead shall not have died]
[CHANGE,freedom -- and that government of the people, by the==oldDELETE==> people, for the people, shall not perish from the earth.<==old==,in vain -- that this nation, under God, shall have a new birth of freedom -- and that government of the people, by the]
[INSERT,==newINSERT==>people, for the people, shall not perish from the earth.<==new==,people, for the people, shall not perish from the earth.]
[INFO] Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 s - in com.github.difflib.text.DiffRowGeneratorTest
[INFO] Running com.github.difflib.unifieddiff.UnifiedDiffReaderTest
com.github.difflib.unifieddiff.UnifiedDiff@22356acd
com.github.difflib.unifieddiff.UnifiedDiff@24111ef1
com.github.difflib.unifieddiff.UnifiedDiff@74f5ce22
com.github.difflib.unifieddiff.UnifiedDiff@25aca718
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.321 s - in com.github.difflib.unifieddiff.UnifiedDiffReaderTest
[INFO] Running com.github.difflib.unifieddiff.UnifiedDiffWriterTest
From 3209a16c55c1976d5b772c607fd4b9d5fb9f9483 Mon Sep 17 00:00:00 2001
From: wumpz
Date: Tue, 19 Feb 2019 01:35:14 +0100
Subject: [PATCH] fixes #753
---
src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt | 5 +++--
.../net/sf/jsqlparser/statement/select/SelectTest.java | 7 +++++++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt b/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
index cd9bcd1..5f4b2b7 100644
--- src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
+++ src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
@@ -184,6 +184,7 @@
-|
-|
-|
-|
-|
-|
+|
+|
+|
+|
+|
+|
+|
@@ -1034,7 +1035,7 @@
- | tk= | tk= | tk= | tk=
- | tk=
- | tk= | tk= | tk= | tk=
- | tk= | tk= | tk=
-/* | tk= | tk= | tk= | tk= */
- )
-
+ | tk= | tk= | tk= | tk=
+ | tk=
+ | tk= | tk= | tk= | tk=
+ | tk= | tk= | tk= | tk=
+/* | tk= | tk= | tk= | tk= */
+ )
+
@@ -3113,7 +3114,7 @@
- Expression expr1 = null;
-}
-{
- ["{fn" { retval.setEscaped(true); } ]
-
- funcName=RelObjectNameExt()
-
+ Expression expr1 = null;
+}
+{
+ ["{" { retval.setEscaped(true); } ]
+
+ funcName=RelObjectNameExt()
+
diff --git a/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java b/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java
index 7ee9b38..d39bfd3 100644
--- src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java
+++ src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java
@@ -1058,6 +1058,13 @@
- assertSqlCanBeParsedAndDeparsed("SELECT {fn concat(a, b)} AS COL");
- }
-
- @Test
- public void testNamedParametersPR702() throws JSQLParserException {
- assertSqlCanBeParsedAndDeparsed("SELECT substring(id, 2, 3), substring(id from 2 for 3), substring(id from 2), trim(BOTH ' ' from 'foo bar '), trim(LEADING ' ' from 'foo bar '), trim(TRAILING ' ' from 'foo bar '), trim(' ' from 'foo bar '), position('foo' in 'bar'), overlay('foo' placing 'bar' from 1), overlay('foo' placing 'bar' from 1 for 2) FROM my table");
+ assertSqlCanBeParsedAndDeparsed("SELECT {fn concat(a, b)} AS COL");
+ }
+
+ @Test
+ public void testEscapedFunctionsIssue753() throws JSQLParserException {
+ Statement stmt = CCJSqlParserUtil.parse("SELECT { fn test(0)} AS COL");
+ assertEquals("SELECT {fn test(0)} AS COL", stmt.toString());
+ assertSqlCanBeParsedAndDeparsed("SELECT fn FROM fn");
+ }
+
+ @Test
+ public void testNamedParametersPR702() throws JSQLParserException {
+ assertSqlCanBeParsedAndDeparsed("SELECT substring(id, 2, 3), substring(id from 2 for 3), substring(id from 2), trim(BOTH ' ' from 'foo bar '), trim(LEADING ' ' from 'foo bar '), trim(TRAILING ' ' from 'foo bar '), trim(' ' from 'foo bar '), position('foo' in 'bar'), overlay('foo' placing 'bar' from 1), overlay('foo' placing 'bar' from 1 for 2) FROM my table");
--
2.17.1.windows.2
--- /dev/null
+++ revised
@@ -0,0 +1,2 @@
+line1
+line2
[WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.007 s - in com.github.difflib.unifieddiff.UnifiedDiffWriterTest
[INFO] Running com.github.difflib.unifieddiff.UnifiedDiffRoundTripTest
header
--
tail
header
--- original
+++ revised
@@ -1,4 +1,5 @@
test line1
test line2
+@@ -2,6 +2,7 @@
test line 4
test line 5
--
tail
header
--- 5A.txt
+++ 5B.txt
@@ -106,20 +106,28 @@
+++ b/x
@@ -1,6 +1,6 @@
-whitespace at beginning
+ whitespace at beginning
whitespace change
-whitespace in the middle
+white space in the middle
whitespace at end
unchanged line
CR at endQ
+git diff -b --ignore-space-at-eol > out
+test_expect_failure 'another test, with -b --ignore-space-at-eol' 'test_cmp expect out'
+
+tr 'Q' '\015' << EOF > expect
+diff --git a/x b/x
+index d99af23..8b32fb5 100644
+--- a/x
++++ b/x
EOF
git diff -b > out
test_expect_success 'another test, with -b' 'test_cmp expect out'
test_expect_success 'check mixed spaces and tabs in indent' '
# This is indented with SP HT SP.
echo " foo();" > x &&
git diff --check | grep "space before tab in indent"
@@ -363,10 +371,11 @@
git config core.autocrlf true &&
test_must_fail git merge master &&
git diff | sed -e "1,/^@@@/d" >actual &&
! grep "^-" actual
'
test_done
+
--
tail
header
--- original.txt
+++ revised.txt
@@ -1,12 +1,12 @@
/*
- * Copyright 2009-2017 java-diff-utils.
+ * Copyright 2009-2017 java-diff-utills.
*
* Licensed 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.
@@ -24,21 +24,21 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.function.BiPredicate;
/**
* Implements the difference and patching engine
*/
-public final class DiffUtils {
+public final class DiffUtills {
/**
* Computes the difference between the original and revised list of elements with default diff
* algorithm
*
* @param types to be diffed
* @param original The original text. Must not be {@code null}.
* @param revised The revised text. Must not be {@code null}.
* @param progress progress listener
* @return The patch describing the difference between the original and revised sequences. Never
@@ -102,39 +102,65 @@
* @param progress The diff algorithm listener.
* @param includeEqualParts Include equal data parts into the patch.
* @return The patch describing the difference between the original and revised sequences. Never
* {@code null}.
*/
public static Patch diff(List original, List revised,
DiffAlgorithmI algorithm, DiffAlgorithmListener progress,
boolean includeEqualParts) {
Objects.requireNonNull(original, "original must not be null");
Objects.requireNonNull(revised, "revised must not be null");
- Objects.requireNonNull(algorithm, "algorithm must not be null");
+ Objects.requireNonNull(algorithm, "algorithm must not be null"); /* BLA BLA BLA */
return Patch.generate(original, revised, algorithm.computeDiff(original, revised, progress), includeEqualParts);
}
/**
* Computes the difference between the original and revised list of elements with default diff
* algorithm
*
* @param original The original text. Must not be {@code null}.
* @param revised The revised text. Must not be {@code null}.
* @param algorithm The diff algorithm. Must not be {@code null}.
* @return The patch describing the difference between the original and revised sequences. Never
* {@code null}.
*/
public static Patch diff(List original, List revised, DiffAlgorithmI algorithm) {
return diff(original, revised, algorithm, null);
- }
+ }
+ /**
+ * Computes the difference between the given texts inline. This one uses the "trick" to make out
+ * of texts lists of characters, like DiffRowGenerator does and merges those changes at the end
+ * together again.
+ *
+ * @param original
+ * @param revised
+ * @return
+ */
+ public static Patch diffInline(String original, String revised) {
+ List origList = new ArrayList<>();
+ List revList = new ArrayList<>();
+ for (Character character : original.toCharArray()) {
+ origList.add(character.toString());
+ }
+ for (Character character : revised.toCharArray()) {
+ revList.add(character.toString());
+ }
+ Patch patch = DiffUtils.diff(origList, revList);
+ for (AbstractDelta delta : patch.getDeltas()) {
+ delta.getSource().setLines(compressLines(delta.getSource().getLines(), ""));
+ delta.getTarget().setLines(compressLines(delta.getTarget().getLines(), ""));
+ }
+ return patch;
+ }
+
private static List compressLines(List lines, String delimiter) {
if (lines.isEmpty()) {
return Collections.emptyList();
}
return Collections.singletonList(String.join(delimiter, lines));
}
/**
* Patch the original text with given patch
*
--
tail
header
--- one_delta_test_original.txt
+++ one_delta_test_revised.txt
@@ -1,54 +1,11 @@
-Esta é uma obra Online.
-
-Este texto é negrito
-Este texto é itálico
-Este texto está sublinhado
-Este texto está riscado
-Este texto está centralizado
-Este texto está alinhado a direita
-
-- Este texto está em uma lista numérica
-- Este texto está identado
-
-
-Este
-aqui é um link
-
-
-
,
-
-Página 1
-
-
-
-
-
-
-
-
-
-
-
-
-Página 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Página 3
-
+Revisão 3
Esta é uma obra
+Online.
Este texto é
+negrit
Este texto é itálico/p>
Este texto está
+sublinhado
Este texto está riscado agora não
+está mais
p style="text-align: left;">Este texto está
+centralizado nem esteEste texto
+está alinhado a direita
- Este texto está em uma
+lista numérica
Este aqui é um
+link
--
tail
[WARNING] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.041 s - in com.github.difflib.unifieddiff.UnifiedDiffRoundTripTest
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 131, Failures: 0, Errors: 0, Skipped: 3
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ java-diff-utils ---
[INFO] Building jar: /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/target/java-diff-utils-4.12.jar
[INFO]
[INFO] -----------< io.github.java-diff-utils:java-diff-utils-jgit >-----------
[INFO] Building java-diff-utils-jgit 4.12 [3/3]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ java-diff-utils-jgit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils-jgit/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ java-diff-utils-jgit ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils-jgit/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:5.1.1:manifest (bundle-manifest) @ java-diff-utils-jgit ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ java-diff-utils-jgit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ java-diff-utils-jgit ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils-jgit/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ java-diff-utils-jgit ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.github.difflib.algorithm.jgit.HistogramDiffTest
Patch{deltas=[[DeleteDelta, position: 0, lines: [A, B]], [DeleteDelta, position: 3, lines: [A, B]], [InsertDelta, position: 7, lines: [B, A, C]]]}
[start, 0 - 13, 11 - 13, 9 - 14, 9 - 14, 5 - 14, 3 - 14, 2 - 13, 7 - 13, 9 - 14, 9 - 14, 5 - 13, 8 - 13, 7 - 13, 5 - 13, 10 - 13, 8 - 14, 2 - 14, end]
Patch{deltas=[[DeleteDelta, position: 0, lines: [A, B]], [DeleteDelta, position: 3, lines: [A, B]], [InsertDelta, position: 7, lines: [B, A, C]]]}
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s - in com.github.difflib.algorithm.jgit.HistogramDiffTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ java-diff-utils-jgit ---
[INFO] Building jar: /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils-jgit/target/java-diff-utils-jgit-4.12.jar
[INFO]
[INFO] ----------< io.github.java-diff-utils:java-diff-utils-parent >----------
[INFO] Building java-diff-utils-parent 4.12 [4/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- xmvn-mojo:4.0.0:install (default-cli) @ java-diff-utils-parent ---
[INFO]
[INFO] --- xmvn-mojo:4.0.0:javadoc (default-cli) @ java-diff-utils-parent ---
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils-jgit/src/main/java/com/github/difflib/algorithm/jgit/HistogramDiff.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/unifieddiff/package-info.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/unifieddiff/UnifiedDiffWriter.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/unifieddiff/UnifiedDiffReader.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/unifieddiff/UnifiedDiffParserException.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/unifieddiff/UnifiedDiffFile.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/unifieddiff/UnifiedDiff.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/text/StringUtils.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/text/DiffRowGenerator.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/text/DiffRow.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/VerifyChunk.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/PatchFailedException.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/Patch.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/InsertDelta.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/EqualDelta.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/DiffException.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/DeltaType.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/DeleteDelta.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/ConflictOutput.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/Chunk.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/ChangeDelta.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/patch/AbstractDelta.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/algorithm/myers/PathNode.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/algorithm/myers/MeyersDiffWithLinearSpace.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/algorithm/myers/MeyersDiff.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/algorithm/DiffAlgorithmListener.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/algorithm/DiffAlgorithmI.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/algorithm/DiffAlgorithmFactory.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/algorithm/Change.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/UnifiedDiffUtils.java...
Loading source file /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/DiffUtils.java...
Constructing Javadoc information...
Building index for all the packages and classes...
Standard Doclet version 17.0.6+10
Building tree for all the packages and classes...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/AbstractDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/Change.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/ChangeDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/Chunk.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/ConflictOutput.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/DataList.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/DataListComparator.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/DeleteDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/DeltaType.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/DiffAlgorithmFactory.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/DiffAlgorithmI.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/DiffAlgorithmListener.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/DiffException.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/DiffRow.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/DiffRow.Tag.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/DiffRowGenerator.html...
/builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/java-diff-utils/src/main/java/com/github/difflib/text/DiffRowGenerator.java:291: warning: @param argument "deltaList" is not a parameter name.
* @param deltaList
^
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/DiffRowGenerator.Builder.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/DiffUtils.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/EqualDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/HistogramDiff.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/InsertDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/InternalUnifiedDiffReader.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/MeyersDiff.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/MeyersDiffWithLinearSpace.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/MeyersDiffWithLinearSpace.DiffData.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/MeyersDiffWithLinearSpace.Snake.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/Patch.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/Patch.PatchApplyingContext.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/PatchFailedException.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/PathNode.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/StringUtils.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/UnifiedDiff.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/UnifiedDiffFile.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/UnifiedDiffParserException.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/UnifiedDiffReader.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/UnifiedDiffReader.UnifiedDiffLine.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/UnifiedDiffUtils.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/UnifiedDiffWriter.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/VerifyChunk.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/package-summary.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/package-tree.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/package-summary.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/package-tree.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/package-summary.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/package-tree.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/package-summary.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/package-tree.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/package-summary.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/package-tree.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/package-summary.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/package-tree.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/package-summary.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/package-tree.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/constant-values.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/serialized-form.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/class-use/HistogramDiff.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/class-use/DataListComparator.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/class-use/DataList.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/class-use/UnifiedDiffWriter.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/class-use/UnifiedDiffReader.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/class-use/UnifiedDiffReader.UnifiedDiffLine.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/class-use/InternalUnifiedDiffReader.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/class-use/UnifiedDiffParserException.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/class-use/UnifiedDiffFile.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/class-use/UnifiedDiff.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/class-use/StringUtils.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/class-use/DiffRowGenerator.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/class-use/DiffRowGenerator.Builder.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/class-use/DiffRow.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/class-use/DiffRow.Tag.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/VerifyChunk.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/PatchFailedException.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/Patch.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/Patch.PatchApplyingContext.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/InsertDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/EqualDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/DiffException.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/DeltaType.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/DeleteDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/ConflictOutput.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/Chunk.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/ChangeDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/class-use/AbstractDelta.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/class-use/PathNode.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/class-use/MeyersDiffWithLinearSpace.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/class-use/MeyersDiffWithLinearSpace.Snake.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/class-use/MeyersDiffWithLinearSpace.DiffData.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/class-use/MeyersDiff.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/class-use/DiffAlgorithmListener.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/class-use/DiffAlgorithmI.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/class-use/DiffAlgorithmFactory.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/class-use/Change.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/class-use/UnifiedDiffUtils.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/class-use/DiffUtils.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/package-use.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/package-use.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/jgit/package-use.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/algorithm/myers/package-use.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/patch/package-use.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/text/package-use.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/com/github/difflib/unifieddiff/package-use.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/overview-tree.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/index.html...
Building index for all classes...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/allclasses-index.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/allpackages-index.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/index-all.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/overview-summary.html...
Generating /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12/target/xmvn-apidocs/help-doc.html...
1 warning
[INFO]
[INFO] --- xmvn-mojo:4.0.0:builddep (default-cli) @ java-diff-utils-parent ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for java-diff-utils-parent 4.12:
[INFO]
[INFO] java-diff-utils-parent ............................. SUCCESS [ 2.746 s]
[INFO] java-diff-utils .................................... SUCCESS [ 17.481 s]
[INFO] java-diff-utils-jgit ............................... SUCCESS [ 1.285 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.499 s
[INFO] Finished at: 2023-02-10T15:48:10Z
[INFO] ------------------------------------------------------------------------
-----BEGIN MAVEN BUILD DEPENDENCIES-----
H4sIAAAAAAAC/6WRu27DMAxF93wF6112uzsO2kweOgUFuioSo9JQKEEPI/n7yn26KKAlC4F77wHO
wH53OVuYMURyvG0e2vsGkJXTxGbbvBzE42E/js1u2PR3QsBTJqtBo0fWBSOMYJAxyIQajld4fZ4Z
hCj0mhk2AL/FdYmlMMFlP+rBBdNKL9Ubtie0dOm77+WTkyHRSapUirOckcUxs7YovM2GuO9W++Lp
/orq3ikzpXI9JQwV8QcnfrhblDJGDGmqyL4IoVzA21yoLPmI7WQoVYT/0Zp0lZbfvgNJ+WkOQgIA
AA==
-----END MAVEN BUILD DEPENDENCIES-----
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.51SQ9v
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64
++ dirname /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd java-diff-utils-java-diff-utils-parent-4.12
+ xmvn-install -R .xmvn-reactor -n java-diff-utils -d /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64
[INFO] Installing artifact io.github.java-diff-utils:java-diff-utils-parent:pom:4.12
[INFO] Installing artifact io.github.java-diff-utils:java-diff-utils:jar:4.12
[INFO] Installing artifact io.github.java-diff-utils:java-diff-utils:pom:4.12
[INFO] Installing artifact io.github.java-diff-utils:java-diff-utils-jgit:jar:4.12
[INFO] Installing artifact io.github.java-diff-utils:java-diff-utils-jgit:pom:4.12
[INFO] Installation successful
+ jdir=target/site/apidocs
+ '[' -d .xmvn/apidocs ']'
+ jdir=.xmvn/apidocs
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/licenses
+ '[' -d .xmvn/apidocs ']'
+ install -dm755 /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/javadoc/java-diff-utils
+ cp -pr .xmvn/apidocs/allclasses-index.html .xmvn/apidocs/allpackages-index.html .xmvn/apidocs/args .xmvn/apidocs/com .xmvn/apidocs/constant-values.html .xmvn/apidocs/element-list .xmvn/apidocs/help-doc.html .xmvn/apidocs/index-all.html .xmvn/apidocs/index.html .xmvn/apidocs/jquery-ui.overrides.css .xmvn/apidocs/legal .xmvn/apidocs/member-search-index.js .xmvn/apidocs/module-search-index.js .xmvn/apidocs/overview-summary.html .xmvn/apidocs/overview-tree.html .xmvn/apidocs/package-search-index.js .xmvn/apidocs/resources .xmvn/apidocs/script-dir .xmvn/apidocs/script.js .xmvn/apidocs/search.js .xmvn/apidocs/serialized-form.html .xmvn/apidocs/stylesheet.css .xmvn/apidocs/tag-search-index.js .xmvn/apidocs/type-search-index.js /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/javadoc/java-diff-utils
+ echo /usr/share/javadoc/java-diff-utils
+ /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.12-2.fc39 --unique-debug-suffix -4.12-2.fc39.x86_64 --unique-debug-src-base java-diff-utils-4.12-2.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/java-diff-utils-java-diff-utils-parent-4.12
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: java-diff-utils-4.12-2.fc39.noarch
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.J6NfQL
+ umask 022
+ cd /builddir/build/BUILD
+ cd java-diff-utils-java-diff-utils-parent-4.12
+ LICENSEDIR=/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/licenses/java-diff-utils
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/licenses/java-diff-utils
+ cp -pr LICENSE /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/licenses/java-diff-utils
+ RPM_EC=0
++ jobs -p
+ exit 0
[INFO maven.prov] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/maven-metadata/java-diff-utils-java-diff-utils.xml']
[INFO maven.prov] mvn(io.github.java-diff-utils:java-diff-utils) = 4.12, mvn(io.github.java-diff-utils:java-diff-utils:pom:) = 4.12
[INFO osgi.prov] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/java/java-diff-utils/java-diff-utils.jar']
[INFO osgi.prov] osgi(io.github.java-diff-utils) = 4.12.0
[INFO maven.req] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/maven-metadata/java-diff-utils-java-diff-utils.xml']
[INFO maven.req] (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless), javapackages-filesystem
[INFO osgi.req] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/java/java-diff-utils/java-diff-utils.jar']
Provides: java-diff-utils = 4.12-2.fc39 mvn(io.github.java-diff-utils:java-diff-utils) = 4.12 mvn(io.github.java-diff-utils:java-diff-utils:pom:) = 4.12 osgi(io.github.java-diff-utils) = 4.12.0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless) javapackages-filesystem
Processing files: java-diff-utils-parent-4.12-2.fc39.noarch
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ITqlT5
+ umask 022
+ cd /builddir/build/BUILD
+ cd java-diff-utils-java-diff-utils-parent-4.12
+ LICENSEDIR=/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/licenses/java-diff-utils-parent
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/licenses/java-diff-utils-parent
+ cp -pr LICENSE /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/licenses/java-diff-utils-parent
+ RPM_EC=0
++ jobs -p
+ exit 0
[INFO maven.prov] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/maven-metadata/java-diff-utils-java-diff-utils-parent.xml']
[INFO maven.prov] mvn(io.github.java-diff-utils:java-diff-utils-parent:pom:) = 4.12
[INFO maven.req] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/maven-metadata/java-diff-utils-java-diff-utils-parent.xml']
[INFO maven.req] (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless), javapackages-filesystem
[INFO maven.req] from POM(s): mvn(org.apache.maven.plugins:maven-surefire-plugin), mvn(org.apache.felix:maven-bundle-plugin)
Provides: java-diff-utils-parent = 4.12-2.fc39 mvn(io.github.java-diff-utils:java-diff-utils-parent:pom:) = 4.12
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless) javapackages-filesystem mvn(org.apache.felix:maven-bundle-plugin) mvn(org.apache.maven.plugins:maven-surefire-plugin)
Processing files: java-diff-utils-jgit-4.12-2.fc39.noarch
[INFO maven.prov] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/maven-metadata/java-diff-utils-java-diff-utils-jgit.xml']
[INFO maven.prov] mvn(io.github.java-diff-utils:java-diff-utils-jgit) = 4.12, mvn(io.github.java-diff-utils:java-diff-utils-jgit:pom:) = 4.12
[INFO osgi.prov] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/java/java-diff-utils/java-diff-utils-jgit.jar']
[INFO maven.req] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/maven-metadata/java-diff-utils-java-diff-utils-jgit.xml']
[INFO maven.req] mvn(io.github.java-diff-utils:java-diff-utils) = 4.12, javapackages-filesystem, mvn(org.eclipse.jgit:org.eclipse.jgit), (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless)
[INFO osgi.req] input: ['/builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64/usr/share/java/java-diff-utils/java-diff-utils-jgit.jar']
Provides: java-diff-utils-jgit = 4.12-2.fc39 mvn(io.github.java-diff-utils:java-diff-utils-jgit) = 4.12 mvn(io.github.java-diff-utils:java-diff-utils-jgit:pom:) = 4.12
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless) javapackages-filesystem mvn(io.github.java-diff-utils:java-diff-utils) = 4.12 mvn(org.eclipse.jgit:org.eclipse.jgit)
Processing files: java-diff-utils-javadoc-4.12-2.fc39.noarch
Provides: java-diff-utils-javadoc = 4.12-2.fc39
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: javapackages-filesystem
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64
Wrote: /builddir/build/RPMS/java-diff-utils-4.12-2.fc39.noarch.rpm
Wrote: /builddir/build/RPMS/java-diff-utils-parent-4.12-2.fc39.noarch.rpm
Wrote: /builddir/build/RPMS/java-diff-utils-jgit-4.12-2.fc39.noarch.rpm
Wrote: /builddir/build/RPMS/java-diff-utils-javadoc-4.12-2.fc39.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bVnOqe
+ umask 022
+ cd /builddir/build/BUILD
+ cd java-diff-utils-java-diff-utils-parent-4.12
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/java-diff-utils-4.12-2.fc39.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.yYn227
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf java-diff-utils-java-diff-utils-parent-4.12 java-diff-utils-java-diff-utils-parent-4.12.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0