See <https://builds.apache.org/job/OpenNLP/560/changes>

Changes:

[joern] OPENNLP-847 Change visibility of deprecated train methods.

The train methods should not be possible to use anymore by client code.
Some of the methods allow training models which can't be instantiated 
afterwards.

[joern] OPENNLP-835 Fix early termination, reset behavior and minor memory leak

The class SequenceStreamEventStream has a few bugs.
(1) It truncates the stream early if any sequence is empty.
(2) After reset, it will emit the remaining elements from the underlying 
sequence that was being iterated over before the reset, and then start over 
from the beginning.
(3) It leaks memory by not discarding references to objects it doesn't need 
anymore.

Thanks to Steven Taschuk for providing a patch.

------------------------------------------
[...truncated 8844 lines...]
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Could not instantiate the java.lang.Object. The initialization throw an 
exception.
opennlp.tools.util.ext.ExtensionNotLoadedException: Extension class 
'java.lang.Object' needs to have type: opennlp.tools.util.BaseToolFactory
        at 
opennlp.tools.util.ext.ExtensionLoader.instantiateExtension(ExtensionLoader.java:96)
        at opennlp.tools.util.BaseToolFactory.create(BaseToolFactory.java:108)
        at 
opennlp.tools.postag.POSTaggerFactoryTest.testCreateWithHierarchy(POSTaggerFactoryTest.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:21)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Could not instantiate the opennlp.tools.postag.POSTaggerFactoryTest. The 
initialization throw an exception.
opennlp.tools.util.ext.ExtensionNotLoadedException: Extension class 
'opennlp.tools.postag.POSTaggerFactoryTest' needs to have type: 
opennlp.tools.postag.POSTaggerFactory
        at 
opennlp.tools.util.ext.ExtensionLoader.instantiateExtension(ExtensionLoader.java:96)
        at 
opennlp.tools.postag.POSTaggerFactory.create(POSTaggerFactory.java:231)
        at 
opennlp.tools.postag.POSTaggerFactoryTest.testCreateWithHierarchy2(POSTaggerFactoryTest.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:21)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.779 sec - in 
opennlp.tools.postag.POSTaggerFactoryTest

Results :

Tests run: 411, Failures: 0, Errors: 0, Skipped: 1

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ opennlp-tools ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
opennlp-tools ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9.1:jar (create-javadoc-jar) @ opennlp-tools 
---
[INFO] 
29 warnings
[WARNING] Javadoc Warnings
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/util/SequenceCodec.java>:31:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/util/SequenceCodec.java>:41:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/util/SequenceCodec.java>:48:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/util/SequenceCodec.java>:57:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/namefind/NameFinderME.java>:206:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/namefind/RegexNameFinder.java>:140:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/namefind/RegexNameFinderFactory.java>:41:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/namefind/RegexNameFinderFactory.java>:59:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/tokenize/TokenizerModel.java>:161:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/chunker/ChunkerME.java>:245:
 warning - Tag @link: missing '#': "train(String, ObjectStream, 
TrainingParameters, ChunkerFactory)"
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/BaseLink.java>:47:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/BaseLink.java>:63:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/BaseLink.java>:82:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/BaseLink.java>:101:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/EntityLinker.java>:67:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/EntityLinker.java>:91:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/LinkedSpan.java>:62:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/LinkedSpan.java>:80:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/model/SequenceClassificationModel.java>:43:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/model/SequenceClassificationModel.java>:56:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/model/SequenceClassificationModel.java>:69:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/model/SequenceClassificationModel.java>:77:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratNameSampleStreamFactory.java>:80:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/util/ObjectStreamUtils.java>:93:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/util/featuregen/GeneratorFactory.java>:650:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/util/ext/OSGiExtensionLoader.java>:58:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/ngram/NGramGenerator.java>:38:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/ngram/NGramGenerator.java>:60:
 warning - @return tag has no arguments.
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/src/main/java/opennlp/tools/postag/POSTaggerME.java>:179:
 warning - @return tag has no arguments.
[INFO] Building jar: 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/target/opennlp-tools-1.6.1-SNAPSHOT-javadoc.jar>
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (create-source-jar) @ opennlp-tools ---
[INFO] Building jar: 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/target/opennlp-tools-1.6.1-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default-cli) @ opennlp-tools ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: src/test/resources/opennlp/tools/chunker/*.txt
[INFO] Exclude: src/test/resources/opennlp/tools/formats/*.sample
[INFO] Exclude: src/test/resources/opennlp/tools/namefind/*.txt
[INFO] Exclude: src/test/resources/opennlp/tools/namefind/*.train
[INFO] Exclude: src/test/resources/opennlp/tools/parser/en_head_rules
[INFO] Exclude: src/test/resources/opennlp/tools/parser/en_head_rules
[INFO] Exclude: src/test/resources/opennlp/tools/parser/parser.train
[INFO] Exclude: src/test/resources/opennlp/tools/parser/test.parse
[INFO] Exclude: src/test/resources/opennlp/tools/postag/AnnotatedSentences.txt
[INFO] Exclude: src/test/resources/opennlp/tools/sentdetect/Sentences.txt
[INFO] Exclude: src/test/resources/opennlp/tools/tokenize/token.train
[INFO] Exclude: src/main/java/opennlp/tools/ml/maxent/AllEnglishAffixes.txt
[INFO] Exclude: 
src/test/resources/data/opennlp/maxent/io/rvfes-bug-data-broken.txt
[INFO] Exclude: src/test/resources/data/opennlp/maxent/io/rvfes-bug-data-ok.txt
[INFO] Exclude: 
src/test/resources/data/opennlp/maxent/real-valued-weights-training-data.txt
[INFO] Exclude: 
src/test/resources/data/opennlp/maxent/repeat-weighting-training-data.txt
[INFO] Exclude: src/test/resources/data/ppa/bitstrings
[INFO] Exclude: src/test/resources/data/ppa/devset
[INFO] Exclude: src/test/resources/data/ppa/test
[INFO] Exclude: src/test/resources/data/ppa/training
[INFO] Exclude: src/test/resources/data/ppa/NOTICE
[INFO] Exclude: src/test/resources/opennlp/tools/doccat/DoccatSample.txt
[INFO] Exclude: 
src/test/resources/opennlp/tools/formats/brat/voa-with-entities.ann
[INFO] Exclude: 
src/test/resources/opennlp/tools/formats/brat/voa-with-entities.txt
[INFO] Exclude: 
src/test/resources/opennlp/tools/formats/brat/voa-with-relations.ann
[INFO] Exclude: 
src/test/resources/opennlp/tools/formats/brat/voa-with-relations.txt
[INFO] Exclude: lang/en/parser/en-head_rules
[INFO] Exclude: lang/es/parser/es-head-rules
[INFO] Exclude: src/main/java/opennlp/tools/stemmer/snowball/*.java
[INFO] 731 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 14 unknown: 14 generated: 0 
approved: 717 licence.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ opennlp-tools 
---
[INFO] Installing 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/target/opennlp-tools-1.6.1-SNAPSHOT.jar>
 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT.jar
[INFO] Installing 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/pom.xml> to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT.pom
[INFO] Installing 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/target/opennlp-tools-1.6.1-SNAPSHOT-javadoc.jar>
 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT-javadoc.jar
[INFO] Installing 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/target/opennlp-tools-1.6.1-SNAPSHOT-sources.jar>
 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.4:install (default-install) @ opennlp-tools 
---
[INFO] Installing 
org/apache/opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache OpenNLP UIMA Annotators 1.6.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ opennlp-uima ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ opennlp-uima 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
opennlp-uima ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ opennlp-uima 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 52 source files to 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/target/classes>
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/doccat/DocumentCategorizerTrainer.java>:[133,54]
 
train(java.lang.String,opennlp.tools.util.ObjectStream<opennlp.tools.doccat.DocumentSample>)
 in opennlp.tools.doccat.DocumentCategorizerME has been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/util/OpennlpUtil.java>:[112,55]
 isSequenceTraining(java.util.Map<java.lang.String,java.lang.String>) in 
opennlp.tools.ml.TrainerFactory has been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/postag/POSTaggerTrainer.java>:[123,25]
 POSDictionary(java.io.BufferedReader,boolean) in 
opennlp.tools.postag.POSDictionary has been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/postag/POSTaggerTrainer.java>:[210,42]
 
train(java.lang.String,opennlp.tools.util.ObjectStream<opennlp.tools.postag.POSSample>,opennlp.tools.util.model.ModelType,opennlp.tools.postag.POSDictionary,opennlp.tools.dictionary.Dictionary,int,int)
 in opennlp.tools.postag.POSTaggerME has been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/postag/POSTagger.java>:[130,22]
 POSTaggerME(opennlp.tools.postag.POSModel,int,int) in 
opennlp.tools.postag.POSTaggerME has been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/postag/POSTagger.java>:[177,50]
 tag(java.util.List<java.lang.String>) in opennlp.tools.postag.POSTaggerME has 
been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/tokenize/TokenizerTrainer.java>:[248,13]
 PlainTextByLineStream(java.io.Reader) in 
opennlp.tools.util.PlainTextByLineStream has been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/tokenize/TokenizerTrainer.java>:[250,55]
 unchecked generic array creation for varargs parameter of type 
opennlp.tools.util.ObjectStream<opennlp.tools.tokenize.TokenSample>[]
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/tokenize/TokenizerTrainer.java>:[258,31]
 
train(java.lang.String,opennlp.tools.util.ObjectStream<opennlp.tools.tokenize.TokenSample>,boolean)
 in opennlp.tools.tokenize.TokenizerME has been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java>:[383,13]
 PlainTextByLineStream(java.io.Reader) in 
opennlp.tools.util.PlainTextByLineStream has been deprecated
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java>:[385,55]
 unchecked generic array creation for varargs parameter of type 
opennlp.tools.util.ObjectStream<opennlp.tools.namefind.NameSample>[]
[WARNING] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java>:[402,31]
 
train(java.lang.String,java.lang.String,opennlp.tools.util.ObjectStream<opennlp.tools.namefind.NameSample>,opennlp.tools.util.TrainingParameters,byte[],java.util.Map<java.lang.String,java.lang.Object>)
 in opennlp.tools.namefind.NameFinderME has been deprecated
[INFO] 12 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java>:[402,31]
 
train(java.lang.String,java.lang.String,opennlp.tools.util.ObjectStream<opennlp.tools.namefind.NameSample>,opennlp.tools.util.TrainingParameters,byte[],java.util.Map<java.lang.String,java.lang.Object>)
 is not public in opennlp.tools.namefind.NameFinderME; cannot be accessed from 
outside package
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache OpenNLP Reactor ............................ SUCCESS [7.017s]
[INFO] Apache OpenNLP Tools .............................. SUCCESS [2:59.770s]
[INFO] Apache OpenNLP UIMA Annotators .................... FAILURE [1.274s]
[INFO] Apache OpenNLP Documentation ...................... SKIPPED
[INFO] Apache OpenNLP Distribution ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:10.830s
[INFO] Finished at: Wed Apr 27 09:38:26 UTC 2016
[INFO] Final Memory: 38M/838M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project opennlp-uima: Compilation failure
[ERROR] 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java>:[402,31]
 
train(java.lang.String,java.lang.String,opennlp.tools.util.ObjectStream<opennlp.tools.namefind.NameSample>,opennlp.tools.util.TrainingParameters,byte[],java.util.Map<java.lang.String,java.lang.Object>)
 is not public in opennlp.tools.namefind.NameFinderME; cannot be accessed from 
outside package
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :opennlp-uima

[JENKINS] Archiving 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-uima/pom.xml> to 
org.apache.opennlp/opennlp-uima/1.6.1-SNAPSHOT/opennlp-uima-1.6.1-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/pom.xml> to 
org.apache.opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/target/opennlp-tools-1.6.1-SNAPSHOT.jar>
 to 
org.apache.opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT.jar
[JENKINS] Archiving 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/target/opennlp-tools-1.6.1-SNAPSHOT-javadoc.jar>
 to 
org.apache.opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT-javadoc.jar
[JENKINS] Archiving 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-tools/target/opennlp-tools-1.6.1-SNAPSHOT-sources.jar>
 to 
org.apache.opennlp/opennlp-tools/1.6.1-SNAPSHOT/opennlp-tools-1.6.1-SNAPSHOT-sources.jar
[JENKINS] Archiving <https://builds.apache.org/job/OpenNLP/ws/trunk/pom.xml> to 
org.apache.opennlp/opennlp/1.6.1-SNAPSHOT/opennlp-1.6.1-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-distr/pom.xml> to 
org.apache.opennlp/opennlp-distr/1.6.1-SNAPSHOT/opennlp-distr-1.6.1-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/OpenNLP/ws/trunk/opennlp-docs/pom.xml> to 
org.apache.opennlp/opennlp-docs/1.6.1-SNAPSHOT/opennlp-docs-1.6.1-SNAPSHOT.pom
Sending e-mails to: [email protected]
channel stopped
[WARNINGS] Skipping publisher since build result is FAILURE

Reply via email to