Rodrigo,
Can you check and see what version of junit is being pulled in by mvn in
the local repo.
Thanks,
James
On 4/7/2014 10:28 AM, Rodrigo Agerri wrote:
Hi all,
After co the current svn trunk repo, I try to build the project and it fails at
the opennlp dir. As the first errors are related with the tests, I first tried
to compile ignoring tests:
mvn clean install -Dmaven.test.skip=true
With no success. I then commented out the scope test of junit, and then I did
not get the test junit errors but the following ones related to uima.
Here is first the test errors and then the uima errors.
Best,
Rodrigo
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-tools/src/test/java/opennlp/tools/tokenize/TokenizerEvaluatorTest.java:[20,29]
error: package junit.framework does not exist
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-tools/src/test/java/opennlp/tools/tokenize/TokenizerEvaluatorTest.java:[20,0]
error: static import only from classes and interfaces
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-tools/src/test/java/opennlp/tools/tokenize/TokenizerEvaluatorTest.java:[21,29]
error: package junit.framework does not exist
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-tools/src/test/java/opennlp/tools/tokenize/TokenizerEvaluatorTest.java:[21,0]
error: static import only from classes and interfaces
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-tools/src/test/java/opennlp/tools/tokenize/TokenizerEvaluatorTest.java:[30,16]
error: package org.junit does not exist
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-uima/src/main/java/opennlp/uima/util/ContainingConstraint.java:[23,26]
error: package org.apache.uima.cas does not exist
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-uima/src/main/java/opennlp/uima/util/ContainingConstraint.java:[24,26]
error: package org.apache.uima.cas does not exist
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-uima/src/main/java/opennlp/uima/util/ContainingConstraint.java:[25,31]
error: package org.apache.uima.cas.text does not exist
[ERROR]
/home/ragerri/javacode/opennlp-svn/opennlp-tools/src/main/java/opennlp/opennlp-uima/src/main/java/opennlp/uima/util/ContainingConstraint.java:[30,51]
error: cannot find symbol