See <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/40/display/redirect>
Changes: ------------------------------------------ [...truncated 18.74 MiB...] [INFO] Scanning for classes to check... [INFO] Classes directory does not exist, forbiddenapis check skipped: <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-bayes/target/test-classes> [INFO] [INFO] --- checkstyle:3.6.0:check (validate) @ opennlp-ml-bayes --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ opennlp-ml-bayes --- [INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.7 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- resources:3.4.0:resources (default-resources) @ opennlp-ml-bayes --- [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-bayes/src/main/resources> [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes [INFO] [INFO] --- compiler:3.14.1:compile (default-compile) @ opennlp-ml-bayes --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 13 source files with javac [debug release 21] to target/classes [WARNING] <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-bayes/src/main/java/opennlp/tools/ml/naivebayes/LogProbability.java>:[30,8] possible 'this' escape before subclass is fully initialized [WARNING] <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-bayes/src/main/java/opennlp/tools/ml/naivebayes/NaiveBayesModel.java>:[65,38] possible 'this' escape before subclass is fully initialized [INFO] [INFO] --- resources:3.4.0:testResources (default-testResources) @ opennlp-ml-bayes --- [INFO] Copying 4 resources from src/test/resources to target/test-classes [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/test-classes [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ opennlp-ml-bayes --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 6 source files with javac [debug release 21] to target/test-classes [INFO] [INFO] --- surefire:3.5.4:test (default-test) @ opennlp-ml-bayes --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running opennlp.tools.ml.naivebayes.NaiveBayesSerializedCorrectnessTest [INFO] Running opennlp.tools.ml.naivebayes.NaiveBayesModelReadWriteTest [INFO] Running opennlp.tools.ml.naivebayes.NaiveBayesCorrectnessTest [INFO] Running opennlp.tools.ml.naivebayes.NaiveBayesPrepAttachTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.797 s -- in opennlp.tools.ml.naivebayes.NaiveBayesModelReadWriteTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.997 s -- in opennlp.tools.ml.naivebayes.NaiveBayesCorrectnessTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.065 s -- in opennlp.tools.ml.naivebayes.NaiveBayesSerializedCorrectnessTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.822 s -- in opennlp.tools.ml.naivebayes.NaiveBayesPrepAttachTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --------------< org.apache.opennlp:opennlp-ml-perceptron >-------------- [INFO] Building Apache OpenNLP :: Core :: ML :: Perceptron 3.0.0-SNAPSHOT [8/22] [INFO] from opennlp-core/opennlp-ml/opennlp-ml-perceptron/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-maven-version) @ opennlp-ml-perceptron --- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java-version) @ opennlp-ml-perceptron --- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java) @ opennlp-ml-perceptron --- [INFO] [INFO] --- forbiddenapis:3.10:check (default) @ opennlp-ml-perceptron --- [INFO] Scanning for classes to check... [INFO] Classes directory does not exist, forbiddenapis check skipped: <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-perceptron/target/classes> [INFO] [INFO] --- forbiddenapis:3.10:testCheck (default) @ opennlp-ml-perceptron --- [INFO] Scanning for classes to check... [INFO] Classes directory does not exist, forbiddenapis check skipped: <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-perceptron/target/test-classes> [INFO] [INFO] --- checkstyle:3.6.0:check (validate) @ opennlp-ml-perceptron --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ opennlp-ml-perceptron --- [INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.7 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- resources:3.4.0:resources (default-resources) @ opennlp-ml-perceptron --- [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-perceptron/src/main/resources> [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes [INFO] [INFO] --- compiler:3.14.1:compile (default-compile) @ opennlp-ml-perceptron --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 8 source files with javac [debug release 21] to target/classes [INFO] [INFO] --- resources:3.4.0:testResources (default-testResources) @ opennlp-ml-perceptron --- [INFO] Copying 4 resources from src/test/resources to target/test-classes [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/test-classes [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ opennlp-ml-perceptron --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [debug release 21] to target/test-classes [INFO] [INFO] --- surefire:3.5.4:test (default-test) @ opennlp-ml-perceptron --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running opennlp.tools.ml.perceptron.PerceptronPrepAttachTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.65 s -- in opennlp.tools.ml.perceptron.PerceptronPrepAttachTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] ----------------< org.apache.opennlp:opennlp-ml-libsvm >---------------- [INFO] Building Apache OpenNLP :: Core :: ML :: LibSVM 3.0.0-SNAPSHOT [9/22] [INFO] from opennlp-core/opennlp-ml/opennlp-ml-libsvm/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-maven-version) @ opennlp-ml-libsvm --- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java-version) @ opennlp-ml-libsvm --- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java) @ opennlp-ml-libsvm --- [INFO] [INFO] --- forbiddenapis:3.10:check (default) @ opennlp-ml-libsvm --- [INFO] Scanning for classes to check... [INFO] Classes directory does not exist, forbiddenapis check skipped: <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-libsvm/target/classes> [INFO] [INFO] --- forbiddenapis:3.10:testCheck (default) @ opennlp-ml-libsvm --- [INFO] Scanning for classes to check... [INFO] Classes directory does not exist, forbiddenapis check skipped: <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-libsvm/target/test-classes> [INFO] [INFO] --- checkstyle:3.6.0:check (validate) @ opennlp-ml-libsvm --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ opennlp-ml-libsvm --- [INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.7 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- resources:3.4.0:resources (default-resources) @ opennlp-ml-libsvm --- [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-libsvm/src/main/resources> [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes [INFO] [INFO] --- compiler:3.14.1:compile (default-compile) @ opennlp-ml-libsvm --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 8 source files with javac [debug release 21] to target/classes [INFO] [INFO] --- resources:3.4.0:testResources (default-testResources) @ opennlp-ml-libsvm --- [INFO] skip non existing resourceDirectory <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-ml/opennlp-ml-libsvm/src/test/resources> [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/test-classes [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ opennlp-ml-libsvm --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 8 source files with javac [debug release 21] to target/test-classes [INFO] [INFO] --- surefire:3.5.4:test (default-test) @ opennlp-ml-libsvm --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running opennlp.tools.ml.libsvm.doccat.TrainingSvmDocumentTest [INFO] Running opennlp.tools.ml.libsvm.doccat.SvmDoccatModelTest [INFO] Running opennlp.tools.ml.libsvm.doccat.TermWeightingStrategyTest [INFO] Running opennlp.tools.ml.libsvm.doccat.TrainingSvmClassLabelTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 s -- in opennlp.tools.ml.libsvm.doccat.TrainingSvmDocumentTest [INFO] Running opennlp.tools.ml.libsvm.doccat.FeatureSelectionTest [INFO] Running opennlp.tools.ml.libsvm.doccat.SvmDoccatConfigurationTest [INFO] Running opennlp.tools.ml.libsvm.doccat.DocumentCategorizerSVMEdgeCaseTest [INFO] Running opennlp.tools.ml.libsvm.doccat.DocumentCategorizerSVMTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.182 s -- in opennlp.tools.ml.libsvm.doccat.TrainingSvmClassLabelTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 s -- in opennlp.tools.ml.libsvm.doccat.TermWeightingStrategyTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.284 s -- in opennlp.tools.ml.libsvm.doccat.FeatureSelectionTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.311 s -- in opennlp.tools.ml.libsvm.doccat.SvmDoccatConfigurationTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.491 s -- in opennlp.tools.ml.libsvm.doccat.SvmDoccatModelTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.377 s -- in opennlp.tools.ml.libsvm.doccat.DocumentCategorizerSVMEdgeCaseTest [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.804 s -- in opennlp.tools.ml.libsvm.doccat.DocumentCategorizerSVMTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 86, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] -----------------< org.apache.opennlp:opennlp-runtime >----------------- [INFO] Building Apache OpenNLP :: Core :: Runtime 3.0.0-SNAPSHOT [10/22] [INFO] from opennlp-core/opennlp-runtime/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-maven-version) @ opennlp-runtime --- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java-version) @ opennlp-runtime --- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java) @ opennlp-runtime --- [INFO] [INFO] --- forbiddenapis:3.10:check (default) @ opennlp-runtime --- [INFO] Scanning for classes to check... [INFO] Classes directory does not exist, forbiddenapis check skipped: <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-runtime/target/classes> [INFO] [INFO] --- forbiddenapis:3.10:testCheck (default) @ opennlp-runtime --- [INFO] Scanning for classes to check... [INFO] Classes directory does not exist, forbiddenapis check skipped: <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-runtime/target/test-classes> [INFO] [INFO] --- checkstyle:3.6.0:check (validate) @ opennlp-runtime --- [INFO] Starting audit... [ERROR] <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/ThreadSafetyBenchmarkTest.java>:36:1: Import statement for 'java.util.Collections' is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group, expecting group 'SPECIAL_IMPORTS' on this line. [CustomImportOrder] [ERROR] <https://ci-builds.apache.org/job/OpenNLP/job/eval-tests-configurable/ws/opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/ThreadSafetyBenchmarkTest.java>:44:8: Unused import - opennlp.tools.langdetect.Language. [UnusedImports] Audit done. [INFO] There are 2 errors reported by Checkstyle 13.3.0 with checkstyle.xml ruleset. [ERROR] src/test/java/opennlp/tools/ThreadSafetyBenchmarkTest.java:[36,1] (imports) CustomImportOrder: Import statement for 'java.util.Collections' is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group, expecting group 'SPECIAL_IMPORTS' on this line. [ERROR] src/test/java/opennlp/tools/ThreadSafetyBenchmarkTest.java:[44,8] (imports) UnusedImports: Unused import - opennlp.tools.langdetect.Language. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache OpenNLP 3.0.0-SNAPSHOT: [INFO] [INFO] Apache OpenNLP ..................................... SUCCESS [ 4.057 s] [INFO] Apache OpenNLP :: API .............................. SUCCESS [ 9.053 s] [INFO] Apache OpenNLP :: Core ............................. SUCCESS [ 0.173 s] [INFO] Apache OpenNLP :: Core :: ML ....................... SUCCESS [ 0.280 s] [INFO] Apache OpenNLP :: Core :: ML :: Commons ............ SUCCESS [ 6.138 s] [INFO] Apache OpenNLP :: Core :: ML :: Maximum Entropy .... SUCCESS [ 19.634 s] [INFO] Apache OpenNLP :: Core :: ML :: Naive Bayes ........ SUCCESS [ 6.168 s] [INFO] Apache OpenNLP :: Core :: ML :: Perceptron ......... SUCCESS [ 14.825 s] [INFO] Apache OpenNLP :: Core :: ML :: LibSVM ............. SUCCESS [ 5.250 s] [INFO] Apache OpenNLP :: Core :: Runtime .................. FAILURE [ 8.352 s] [INFO] Apache OpenNLP :: Core :: ML :: Deep Learning ...... SKIPPED [INFO] Apache OpenNLP :: Core :: ML :: Deep Learning (GPU) SKIPPED [INFO] Apache OpenNLP :: Core :: Model Resolver ........... SKIPPED [INFO] Apache OpenNLP :: Core :: Formats .................. SKIPPED [INFO] Apache OpenNLP :: Core :: CLI ...................... SKIPPED [INFO] Apache OpenNLP :: Tools ............................ SKIPPED [INFO] Apache OpenNLP :: Extensions ....................... SKIPPED [INFO] Apache OpenNLP :: Morfologik Addon ................. SKIPPED [INFO] Apache OpenNLP :: UIMA Annotators .................. SKIPPED [INFO] Apache OpenNLP :: Documentation .................... SKIPPED [INFO] Apache OpenNLP :: Distribution ..................... SKIPPED [INFO] Apache OpenNLP :: Eval Tests ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:14 min [INFO] Finished at: 2026-03-31T08:15:20Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.6.0:check (validate) on project opennlp-runtime: You have 2 Checkstyle violations. -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :opennlp-runtime Build step 'Execute shell' marked build as failure
