Hi Oliver, 

Thank you very much for your help. I solved it, I was using a wrong HTTP proxy 
in maven.  

Cheers, 
Carlo

On 6 Feb 2012, at 16:59, Olivier Grisel wrote:

> 2012/2/6 Carlo Allocca <[email protected]>:
>> Hi Oliver,
>> 
>> Thank you very much for your prompt reply.
>> 
>> 
>> On 6 Feb 2012, at 16:06, Olivier Grisel wrote:
>> 
>>> 2012/2/6 Carlo Allocca <[email protected]>:
>>>> 
>>>> [ERROR] Failed to execute goal 
>>>> org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile) on project 
>>>> org.apache.stanbol.data.opennlp.lang.en: An Ant BuildException has 
>>>> occured: The following error occurred while executing this line:
>>>> [ERROR] 
>>>> /Users/ca3533/Desktop/DATAMIProject/stanbol/data/opennlp/lang/en/download_models.xml:25:
>>>>  Warning: Could not find resource url 
>>>> "http://dev.iks-project.eu/downloads/opennlp/models-1.5//en-token.bin"; to 
>>>> copy.
>>>> [ERROR] -> [Help 1]
>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
>>>> goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile) on 
>>>> project org.apache.stanbol.data.opennlp.lang.en: An Ant BuildException has 
>>>> occured: The following error occurred while executing this line:
>>>> /Users/ca3533/Desktop/DATAMIProject/stanbol/data/opennlp/lang/en/download_models.xml:25:
>>>>  Warning: Could not find resource url 
>>>> "http://dev.iks-project.eu/downloads/opennlp/models-1.5//en-token.bin"; to 
>>>> copy.
>>> 
>> 
>> 
>>> The error message is pretty clear: it fails to download
>>> http://dev.iks-project.eu/downloads/opennlp/models-1.5//en-token.bin .
>>> You should check you network connection, I don't have this issue on my
>>> box.
>>> 
>> 
>> My network connection is working fine. I can reach 
>> http://dev.iks-project.eu/downloads/opennlp/models-1.5//en-token.bin from 
>> the browser.
> 
> Weird. Are you behind so kind of HTTP proxy?
> 
> Alternatively you can read the pom.xml and dowload_models.xml files
> from the projects under data/ and download the files manually to there
> target location, e.g.:
> 
> STANBOL_HOME/data/opennlp/lang/en/src/main/resources/org/apache/stanbol/data/opennlp
> 
> and then comment out the antrun sections of the pom.xml before building again.






> -- 
> Olivier
> http://twitter.com/ogrisel - http://github.com/ogrisel


-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).

Reply via email to