commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svitlana Nesterenko <svitana.nestere...@gmail.com>
Subject [lang] Problem with running tests
Date Fri, 04 Apr 2014 15:00:52 GMT
Hi!
I would like to contribute to commons-lang project, but encountered a
problem.
So, first of all, I made a repository checkout from :
https://svn.apache.org/repos/asf/commons/trunks-proper/

Then I compiled the lang project (mvn compile) and when I  try to run tests
(mvn test) it fails with:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[26,25]
package org.hamcrest.core does not exist
[ERROR]
/D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,49]
cannot find symbol
  symbol:   variable IsNot
  location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
[ERROR]
/D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,9]
cannot access org.hamcrest.Matcher
  class file for org.hamcrest.Matcher not found
[ERROR]
/D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[513,25]
cannot find symbol
  symbol:   variable IsNot
  location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE

It seems that hamcrest is a dependency of junit, but somehow it is not
found.
I would appreciate if someone could help me with this issue.

-- 

Best regards,
Svitlana Nesterenko

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message