[INFO] Scanning for projects... [INFO] [INFO] ---------------< org.apache.jackrabbit.vault:vault-diff >--------------- [INFO] Building Apache Jackrabbit FileVault Diff (Diff utilities) 3.4.5-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ vault-diff --- [INFO] Deleting C:\tmp\trunk\vault-diff\target [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ vault-diff --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java) @ vault-diff --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ vault-diff --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ vault-diff --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\tmp\trunk\vault-diff\src\main\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ vault-diff --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 17 source files to C:\tmp\trunk\vault-diff\target\classes [INFO] /C:/tmp/trunk/vault-diff/src/main/java/org/apache/jackrabbit/vault/util/diff/DocumentDiff.java: Some input files use unchecked or unsafe operations. [INFO] /C:/tmp/trunk/vault-diff/src/main/java/org/apache/jackrabbit/vault/util/diff/DocumentDiff.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ vault-diff --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ vault-diff --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to C:\tmp\trunk\vault-diff\target\test-classes [INFO] /C:/tmp/trunk/vault-diff/src/test/java/org/apache/jackrabbit/vault/util/diff/DiffTest.java: C:\tmp\trunk\vault-diff\src\test\java\org\apache\jackrabbit\vault\util\diff\DiffTest.java uses or overrides a deprecated API. [INFO] /C:/tmp/trunk/vault-diff/src/test/java/org/apache/jackrabbit/vault/util/diff/DiffTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ vault-diff --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.jackrabbit.vault.util.diff.Diff3Test [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in org.apache.jackrabbit.vault.util.diff.Diff3Test [INFO] Running org.apache.jackrabbit.vault.util.diff.DiffTest [ERROR] Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.033 s <<< FAILURE! - in org.apache.jackrabbit.vault.util.diff.DiffTest [ERROR] org.apache.jackrabbit.vault.util.diff.DiffTest.testBaseLeft1 Time elapsed: 0.002 s <<< FAILURE! junit.framework.ComparisonFailure: result expected:<... +++ .theirs @@ -2,4 +2,2 @@ B -C -D E @@ -16,5 +14,3 @@ B -C -D -E +C1 F @@ -22,5 +18,6 @@ -this ist the first line. +this is the first line. import org.apache.jackrabbit.jcrfs.util.FileUtil; +some new on the left import org.apache.commons.io.FileUtils; @@ -29,9 +26,11 @@ import java.io.BufferedReader; -import java.io.FileReader; import java.util.LinkedList; import java.util.Vector; +added +two lines. import java.util.Enumeration; import java.util.List; +same mod -import javax.sound.midi.Patch; +import javax.sound.midi.Patsch; @@ -39,4 +38,2 @@ B -C -D E @@ -47,6 +44,2 @@ B -C -D -E -F G @@ -55,4 +48,4 @@ B -C -D +B' +B'' E @@ -63,5 +56,2 @@ B -C -D -E F @@ -72,2 +62,3 @@ C +C' D @@ -79,9 +70,7 @@ B -C -D -E -F +C1 +C2 G -intermediate base. +intermediate left. @@ -89,6 +78,4 @@ B -C -D -E -F +B' +B'' G @@ -96,5 +83,2 @@ A - delete overlapping -B -C -D E @@ -104,3 +88,3 @@...> but was:<... +++ .theirs @@ -2,4 +2,2 @@ B -C -D E @@ -16,5 +14,3 @@ B -C -D -E +C1 F @@ -22,5 +18,6 @@ -this ist the first line. +this is the first line. import org.apache.jackrabbit.jcrfs.util.FileUtil; +some new on the left import org.apache.commons.io.FileUtils; @@ -29,9 +26,11 @@ import java.io.BufferedReader; -import java.io.FileReader; import java.util.LinkedList; import java.util.Vector; +added +two lines. import java.util.Enumeration; import java.util.List; +same mod -import javax.sound.midi.Patch; +import javax.sound.midi.Patsch; @@ -39,4 +38,2 @@ B -C -D E @@ -47,6 +44,2 @@ B -C -D -E -F G @@ -55,4 +48,4 @@ B -C -D +B' +B'' E @@ -63,5 +56,2 @@ B -C -D -E F @@ -72,2 +62,3 @@ C +C' D @@ -79,9 +70,7 @@ B -C -D -E -F +C1 +C2 G -intermediate base. +intermediate left. @@ -89,6 +78,4 @@ B -C -D -E -F +B' +B'' G @@ -96,5 +83,2 @@ A - delete overlapping -B -C -D E @@ -104,3 +88,3 @@ ...> at junit.framework.Assert.assertEquals(Assert.java:81) at org.apache.jackrabbit.vault.util.diff.DiffTest.doTest(DiffTest.java:59) at org.apache.jackrabbit.vault.util.diff.DiffTest.testBaseLeft1(DiffTest.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:99) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:141) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:114) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [ERROR] org.apache.jackrabbit.vault.util.diff.DiffTest.testBaseLeft100 Time elapsed: 0.008 s <<< FAILURE! junit.framework.ComparisonFailure: result expected:<... +++ .theirs @@ -1,106 +1,90 @@...> but was:<... +++ .theirs @@ -1,106 +1,90 @@ ...> at junit.framework.Assert.assertEquals(Assert.java:81) at org.apache.jackrabbit.vault.util.diff.DiffTest.doTest(DiffTest.java:59) at org.apache.jackrabbit.vault.util.diff.DiffTest.testBaseLeft100(DiffTest.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:99) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:141) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:114) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [ERROR] org.apache.jackrabbit.vault.util.diff.DiffTest.testBaseLeft2 Time elapsed: 0 s <<< FAILURE! junit.framework.ComparisonFailure: result expected:<... +++ .theirs @@ -1,6 +1,4 @@ A - delete both B -C -D E F @@ -15,29 +13,28 @@ A - mod and insert B -C -D -E +C1 F G -this ist the first line. +this is the first line. import org.apache.jackrabbit.jcrfs.util.FileUtil; +some new on the left import org.apache.commons.io.FileUtils; import java.io.File; import java.io.BufferedReader; -import java.io.FileReader; import java.util.LinkedList; import java.util.Vector; +added +two lines. import java.util.Enumeration; import java.util.List; +same mod -import javax.sound.midi.Patch; +import javax.sound.midi.Patsch; A - delete left and right (left inclusive) B -C -D E F @@ -46,14 +43,10 @@ A - delete left and right (right inclusive) B -C -D -E -F G A - delete left and right, insert same B -C -D +B' +B'' E F @@ -62,7 +55,4 @@ A - delete left, modify right B -C -D -E F G @@ -71,4 +61,5 @@ B C +C' D E @@ -78,24 +69,17 @@ A - modify same B -C -D -E -F +C1 +C2 G -intermediate base. +intermediate left. A - delete same, insert different B -C -D -E -F +B' +B'' G A - delete overlapping -B -C -D E F @@ -103,4 +87,4 @@...> but was:<... +++ .theirs @@ -1,6 +1,4 @@ A - delete both B -C -D E F @@ -15,29 +13,28 @@ A - mod and insert B -C -D -E +C1 F G -this ist the first line. +this is the first line. import org.apache.jackrabbit.jcrfs.util.FileUtil; +some new on the left import org.apache.commons.io.FileUtils; import java.io.File; import java.io.BufferedReader; -import java.io.FileReader; import java.util.LinkedList; import java.util.Vector; +added +two lines. import java.util.Enumeration; import java.util.List; +same mod -import javax.sound.midi.Patch; +import javax.sound.midi.Patsch; A - delete left and right (left inclusive) B -C -D E F @@ -46,14 +43,10 @@ A - delete left and right (right inclusive) B -C -D -E -F G A - delete left and right, insert same B -C -D +B' +B'' E F @@ -62,7 +55,4 @@ A - delete left, modify right B -C -D -E F G @@ -71,4 +61,5 @@ B C +C' D E @@ -78,24 +69,17 @@ A - modify same B -C -D -E -F +C1 +C2 G -intermediate base. +intermediate left. A - delete same, insert different B -C -D -E -F +B' +B'' G A - delete overlapping -B -C -D E F @@ -103,4 +87,4 @@ ...> at junit.framework.Assert.assertEquals(Assert.java:81) at org.apache.jackrabbit.vault.util.diff.DiffTest.doTest(DiffTest.java:59) at org.apache.jackrabbit.vault.util.diff.DiffTest.testBaseLeft2(DiffTest.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:99) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:141) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:114) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [ERROR] org.apache.jackrabbit.vault.util.diff.DiffTest.testBaseLeft0 Time elapsed: 0.01 s <<< FAILURE! junit.framework.ComparisonFailure: result expected:<... +++ .theirs @@ -3,2 +2,0 @@ -C -D @@ -17,3 +15 @@ -C -D -E +C1 @@ -23 +19 @@ -this ist the first line. +this is the first line. @@ -25,0 +22 @@ +some new on the left @@ -30 +26,0 @@ -import java.io.FileReader; @@ -32,0 +29,2 @@ +added +two lines. @@ -34,0 +33 @@ +same mod @@ -36 +35 @@ -import javax.sound.midi.Patch; +import javax.sound.midi.Patsch; @@ -40,2 +38,0 @@ -C -D @@ -48,4 +44,0 @@ -C -D -E -F @@ -56,2 +49,2 @@ -C -D +B' +B'' @@ -64,3 +56,0 @@ -C -D -E @@ -72,0 +63 @@ +C' @@ -80,4 +71,2 @@ -C -D -E -F +C1 +C2 @@ -86 +75 @@ -intermediate base. +intermediate left. @@ -90,4 +79,2 @@ -C -D -E -F +B' +B'' @@ -97,3 +83,0 @@ -B -C -D @@ -105 +89 @@...> but was:<... +++ .theirs @@ -3,2 +2,0 @@ -C -D @@ -17,3 +15 @@ -C -D -E +C1 @@ -23 +19 @@ -this ist the first line. +this is the first line. @@ -25,0 +22 @@ +some new on the left @@ -30 +26,0 @@ -import java.io.FileReader; @@ -32,0 +29,2 @@ +added +two lines. @@ -34,0 +33 @@ +same mod @@ -36 +35 @@ -import javax.sound.midi.Patch; +import javax.sound.midi.Patsch; @@ -40,2 +38,0 @@ -C -D @@ -48,4 +44,0 @@ -C -D -E -F @@ -56,2 +49,2 @@ -C -D +B' +B'' @@ -64,3 +56,0 @@ -C -D -E @@ -72,0 +63 @@ +C' @@ -80,4 +71,2 @@ -C -D -E -F +C1 +C2 @@ -86 +75 @@ -intermediate base. +intermediate left. @@ -90,4 +79,2 @@ -C -D -E -F +B' +B'' @@ -97,3 +83,0 @@ -B -C -D @@ -105 +89 @@ ...> at junit.framework.Assert.assertEquals(Assert.java:81) at org.apache.jackrabbit.vault.util.diff.DiffTest.doTest(DiffTest.java:59) at org.apache.jackrabbit.vault.util.diff.DiffTest.testBaseLeft0(DiffTest.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:99) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:141) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:114) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [INFO] Running org.apache.jackrabbit.vault.util.diff.LineElementTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.jackrabbit.vault.util.diff.LineElementTest [INFO] Running org.apache.jackrabbit.vault.util.diff.Test [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.jackrabbit.vault.util.diff.Test [INFO] Running org.apache.jackrabbit.vault.util.diff.Test3 [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.jackrabbit.vault.util.diff.Test3 [INFO] [INFO] Results: [INFO] [ERROR] Failures:  [ERROR]  org.apache.jackrabbit.vault.util.diff.DiffTest#testBaseLeft0 ComparisonFailure [ERROR]  org.apache.jackrabbit.vault.util.diff.DiffTest#testBaseLeft1 ComparisonFailure [ERROR]  org.apache.jackrabbit.vault.util.diff.DiffTest#testBaseLeft100 ComparisonFailure [ERROR]  org.apache.jackrabbit.vault.util.diff.DiffTest#testBaseLeft2 ComparisonFailure [INFO] [ERROR] Tests run: 22, Failures: 4, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.973 s [INFO] Finished at: 2020-06-19T11:16:27+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project vault-diff: There are test failures. [ERROR]  [ERROR] Please refer to C:\tmp\trunk\vault-diff\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException