You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Georger Araujo <ge...@yahoo.com.br> on 2009/11/24 21:42:54 UTC
Building Tika 0.5 behind a proxy server
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
Re: Building Tika 0.5 behind a proxy server
Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
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" <ge...@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) <ch...@jpl.nasa.gov> escreveu:
> De: Mattmann, Chris A (388J) <ch...@jpl.nasa.gov>
> Assunto: Re: Building Tika 0.5 behind a proxy server
> Para: "tika-user@lucene.apache.org" <ti...@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" <ge...@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.Mattmann@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.Mattmann@jpl.nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re: Building Tika 0.5 behind a proxy server
Posted by Georger Araujo <ge...@yahoo.com.br>.
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) <ch...@jpl.nasa.gov> escreveu:
> De: Mattmann, Chris A (388J) <ch...@jpl.nasa.gov>
> Assunto: Re: Building Tika 0.5 behind a proxy server
> Para: "tika-user@lucene.apache.org" <ti...@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" <ge...@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.Mattmann@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
Re: Building Tika 0.5 behind a proxy server
Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
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" <ge...@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.Mattmann@jpl.nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++