Hi,

I was having the same problem as Jorn using the default version of Maven
from Ubuntu. I have upgraded it to 2.2.1 and can now build UIMA but still
cannot build the TikaAnnotator.

When doing svn install in the TikaAnnotator directory I am getting :
*Reason: Cannot find parent: org.apache.uima:SandboxDistr for project:
org.apache.uima:TikaAnnotator:jar:2.3.0-incubating-SNAPSHOT for project
org.apache.uima:TikaAnnotator:jar:2.3.0-incubating-SNAPSHOT*

I then tried to build SandboxDistr but am getting :

*antrun:run {execution: CopyLicenseNoticeDisclaimer}]
[INFO] Executing tasks
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured:
/usr/local/bin/uimaj-distr/src/main/readme not found.*

whereas my uimaj-distr is actually located in a different directory (*
/usr/local/bin/uima-svn/uimaj-distr* with the sandbox
in*/usr/local/bin/uima-sandbox-svn
*). Is there an implicit requirement for the sandbox to be located within
the main UIMA directory?

Once the sandbox is put inside the main uima dir everything compiles OK.

Thanks

Julien



> > Won't have time to look into this in the short term but can try at some
> > point next week. Maybe someone with more experience of Maven can give it
> a
> > try first and see if it compiles OK?
> >
> I tried this and it compiled OK.
> I had success with the following (requires maven to be installed):
>
> cd to directory TikaAnnotator
> mvn install
>
> That builds it, builds any docbook documentation (there is none) and
> runs the test cases (there are none, I think).
>
>

-- 
DigitalPebble Ltd
http://www.digitalpebble.com

Reply via email to