Hey, and welcome to the Tika.
Using Eclipse you would better download an eclipse plug-in: http://m2eclipse.sonatype.org/sites/m2e Having downloaded and installed plug-in, your next step could be importing Tika project like that: ' *File* ->* Import* -> *Existing Maven Project* ' ... However, if you only wanted to Tika be compiled/packaged, run the following command: mvn clean install [-Dmaven.*test*.*skip*=true or -DskipTests=true] BR, Oleg On Mon, Aug 22, 2011 at 7:33 PM, prince shah <princeelect...@gmail.com>wrote: > Hi Geeks, > > I am new to Open source community and wanted to start with Tika project. > I checkout latest version of Tika (1160218). Then went to my tika-site and > hit mvn install (I have mac) it download bunch of stuff and in the end it > spit out following exceptions. Can any one help me. > > Is there any other way to checkout the source code and step up eclipse for > debugging ? > Here is the stack trace : > > Results : > > Failed tests: > testHttpServerFileExtensions(org.apache.tika.TikaTest): > expected:<...type1> but was:<...printer-metric> > > Tests run: 100, Failures: 1, Errors: 0, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Tika parent ................................ SUCCESS [4.350s] > [INFO] Apache Tika core .................................. FAILURE > [38.531s] > [INFO] Apache Tika parsers ............................... SKIPPED > [INFO] Apache Tika application ........................... SKIPPED > [INFO] Apache Tika OSGi bundle ........................... SKIPPED > [INFO] Apache Tika ....................................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 45.636s > [INFO] Finished at: Mon Aug 22 00:51:29 PDT 2011 > [INFO] Final Memory: 15M/81M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on > project tika-core: There are test failures. > [ERROR] > [ERROR] Please refer to > /Users/princesh/Documents/workspace/Tika/tika-core/target/surefire-reports > for the individual test results. > [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 :tika-core > > > Thank you > > > > -- > Prince Shah > 424-832-6296 > 959 Rich Ave, Apt 28 > Mountain View, CA 94040 > > Software Developer > http://www.shahprince.info >