tika-user  

Re: Building Tika 0.5 behind a proxy server

Mattmann, Chris A (388J)
Tue, 24 Nov 2009 13:44:12 -0800

Hi Georger,

Sorry about that: I think it had to do with the - and the way it pastes (should 
show up as a single '-').

Good job, nonetheless!

Cheers,
Chris



On 11/24/09 1:38 PM, "Georger Araujo" <georger...@yahoo.com.br> wrote:

Hi Chris,
When I ran

mvn -Dmaven.test.skip=true package

I got a

[INFO] Invalid task '-Dmaven.test.skip=true': you must specify a valid 
lifecycle phase, or a goal in the format plugin:goal or 
pluginGroupId:pluginArtifactId:pluginVersion:goal

So I dug around, ran

mvn install -Dmaven.test.skip=true

and it worked. Not on the first try, though; Maven ran out of Java heap space, 
but that was easy to fix with a

export MAVEN_OPTS=-Xmx512m

and that was it. Thanks for the input!
Regards,

Georger

--- Em ter, 24/11/09, Mattmann, Chris A (388J) <chris.a.mattm...@jpl.nasa.gov> 
escreveu:

> De: Mattmann, Chris A (388J) <chris.a.mattm...@jpl.nasa.gov>
> Assunto: Re: Building Tika 0.5 behind a proxy server
> Para: "tika-user@lucene.apache.org" <tika-user@lucene.apache.org>
> Data: Terça-feira, 24 de Novembro de 2009, 18:50
>
>
> Re: Building Tika 0.5 behind a proxy server
>
>
> Hi Georger,
>
>
>
> Sorry about that - you can tell Tika to skip the
> tests during the build:
>
>
>
> mvn -Dmaven.test.skip=true package
>
>
>
> Then, when you aren't behind a proxy, the tests
> should run fine...
>
>
>
> In the latest Tika 0.6 trunk, Jukka Zitting replaced the
> URL calls I put in (sorry!) with local copies so you
> won't have to worry about this in the future.
>
>
>
> Thanks!
>
>
>
> Cheers,
>
> Chris
>
>
>
>
>
>
>
> On 11/24/09 12:42 PM, "Georger Araujo" <georger...@yahoo.com.br> wrote:
>
>
>
> Hi,
>
> I'm trying to build Tika 0.5 and I can't get past
> the tests. I get stuck at the
>
>
>
> Running org.apache.tika.mime.MimeDetectionTest
>
>
>
> step. I looked at the sources and saw that
> MimeDetectionTest.java tries to access two URLs - problem
> is, I'm behind a proxy server and can't figure out
> how to tell Tika to use it.
>
> Any of you guys ran into the same issue?
>
> Regards,
>
>
>
> Georger
>
>
>
>
>
>       
> ____________________________________________________________________________________
>
> Veja quais são os assuntos do momento no Yahoo!
> +Buscados
>
> http://br.maisbuscados.yahoo.com
>
>
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Chris Mattmann, Ph.D.
>
> Senior Computer Scientist
>
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
>
> Office: 171-266B, Mailstop: 171-246
>
> Email: chris.mattm...@jpl.nasa.gov
>
>
> WWW:   http://sunset.usc.edu/~mattmann/
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Adjunct Assistant Professor, Computer Science Department
>
> University of Southern California, Los Angeles, CA 90089
> USA
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
>
>
>
>
>
>
>


      
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++