You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by Rodrigo Agerri <ag...@gmail.com> on 2014/04/07 16:28:56 UTC

svn buid fails

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



Re: svn buid fails

Posted by Rodrigo Agerri <ag...@gmail.com>.
Hello again, 

Could it be that there are some classes defined not in src/test but in
src/main of opennlp-tools?

Cheers, 

Rodrigo

On 2014/04/07 at 20:27, James Kosin wrote:
> 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
> >
> >
> >
> 

Re: svn buid fails

Posted by Jörn Kottmann <ko...@gmail.com>.
The errors you get look like it fails to somehow include the uima and
junit jars in the classpath.

Junit is defined as a test scope dependency, but I doubt that this is 
the issue.

In which directory is your opennlp folder? Maybe there is a bug related 
to the path in our build.

Did all three machines run linux?

Jörn

On 04/09/2014 11:24 AM, Rodrigo Agerri wrote:
> Hello James,
>
> Thanks for the answer. I have tried in three different machines. All of
> them with the same JVM and maven versions:
>
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /sc01a4/users/ragerri/local/apache-maven-3.0.4
> Java version: 1.7.0_09, vendor: Oracle Corporation
> Java home: /sc01a4/users/ragerri/local/jdk1.7.0_09/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-348.16.1.el5", arch: "amd64", family:
> "unix"
>
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /home/ragerri/local/apache-maven-3.0.4
> Java version: 1.7.0_09, vendor: Oracle Corporation
> Java home: /home/ragerri/local/jdk1.7.0_09/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-431.5.1.el6.x86_64", arch: "amd64",
> family: "unix"
>
> In all three machines I cleaned the .m2 repo and it always download the
> same junit versions:
>
> 3.8.1, 3.8.2 and 4.8.1
>
> Funnily enough in one of the machines compiles and it does not in the
> other two (they output the errors of previous message).
>
> I will keep looking.
>
> Thanks,
>
> Rodrigo
>
> On 2014/04/07 at 20:27, James Kosin wrote:
>> 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
>>>
>>>
>>>


Re: svn buid fails

Posted by Jörn Kottmann <ko...@gmail.com>.
Hello,

good to hear, I triggered the build manually on Jenkins and it succeeded:
https://builds.apache.org/job/OpenNLP/459/

Things should be in a good state.

Jörn

On 04/09/2014 12:00 PM, Rodrigo Agerri wrote:
> Hi again,
>
> I solved it. I just removed everything again. Did a new checkout and it
> compiled.
>
> Perhaps the previous checkout was not done cleanly?
>
> I do not know.
>
> Thanks,
>
> Rodrigo
>
> On 2014/04/09 at 10:24, Rodrigo Agerri wrote:
>> Hello James,
>>
>> Thanks for the answer. I have tried in three different machines. All of
>> them with the same JVM and maven versions:
>>
>> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
>> Maven home: /sc01a4/users/ragerri/local/apache-maven-3.0.4
>> Java version: 1.7.0_09, vendor: Oracle Corporation
>> Java home: /sc01a4/users/ragerri/local/jdk1.7.0_09/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "2.6.18-348.16.1.el5", arch: "amd64", family:
>> "unix"
>>
>> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
>> Maven home: /home/ragerri/local/apache-maven-3.0.4
>> Java version: 1.7.0_09, vendor: Oracle Corporation
>> Java home: /home/ragerri/local/jdk1.7.0_09/jre
>> Default locale: en_GB, platform encoding: UTF-8
>> OS name: "linux", version: "2.6.32-431.5.1.el6.x86_64", arch: "amd64",
>> family: "unix"
>>
>> In all three machines I cleaned the .m2 repo and it always download the
>> same junit versions:
>>
>> 3.8.1, 3.8.2 and 4.8.1
>>
>> Funnily enough in one of the machines compiles and it does not in the
>> other two (they output the errors of previous message).
>>
>> I will keep looking.
>>
>> Thanks,
>>
>> Rodrigo
>>
>> On 2014/04/07 at 20:27, James Kosin wrote:
>>> 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
>>>>
>>>>
>>>>


Re: svn buid fails

Posted by Rodrigo Agerri <ro...@ehu.es>.
Hi again, 

I solved it. I just removed everything again. Did a new checkout and it
compiled. 

Perhaps the previous checkout was not done cleanly?

I do not know. 

Thanks, 

Rodrigo

On 2014/04/09 at 10:24, Rodrigo Agerri wrote:
> Hello James, 
> 
> Thanks for the answer. I have tried in three different machines. All of
> them with the same JVM and maven versions: 
> 
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /sc01a4/users/ragerri/local/apache-maven-3.0.4
> Java version: 1.7.0_09, vendor: Oracle Corporation
> Java home: /sc01a4/users/ragerri/local/jdk1.7.0_09/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-348.16.1.el5", arch: "amd64", family:
> "unix"
> 
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /home/ragerri/local/apache-maven-3.0.4
> Java version: 1.7.0_09, vendor: Oracle Corporation
> Java home: /home/ragerri/local/jdk1.7.0_09/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-431.5.1.el6.x86_64", arch: "amd64",
> family: "unix"
> 
> In all three machines I cleaned the .m2 repo and it always download the
> same junit versions: 
> 
> 3.8.1, 3.8.2 and 4.8.1
> 
> Funnily enough in one of the machines compiles and it does not in the
> other two (they output the errors of previous message). 
> 
> I will keep looking. 
> 
> Thanks, 
> 
> Rodrigo
> 
> On 2014/04/07 at 20:27, James Kosin wrote:
> > 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
> > >
> > >
> > >
> > 

Re: svn buid fails

Posted by Rodrigo Agerri <ro...@ehu.es>.
Hello James, 

Thanks for the answer. I have tried in three different machines. All of
them with the same JVM and maven versions: 

Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /sc01a4/users/ragerri/local/apache-maven-3.0.4
Java version: 1.7.0_09, vendor: Oracle Corporation
Java home: /sc01a4/users/ragerri/local/jdk1.7.0_09/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-348.16.1.el5", arch: "amd64", family:
"unix"

Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /home/ragerri/local/apache-maven-3.0.4
Java version: 1.7.0_09, vendor: Oracle Corporation
Java home: /home/ragerri/local/jdk1.7.0_09/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-431.5.1.el6.x86_64", arch: "amd64",
family: "unix"

In all three machines I cleaned the .m2 repo and it always download the
same junit versions: 

3.8.1, 3.8.2 and 4.8.1

Funnily enough in one of the machines compiles and it does not in the
other two (they output the errors of previous message). 

I will keep looking. 

Thanks, 

Rodrigo

On 2014/04/07 at 20:27, James Kosin wrote:
> 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
> >
> >
> >
> 

Re: svn buid fails

Posted by James Kosin <ja...@gmail.com>.
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
>
>
>