Hi Kritarth,

the download of binary files (DBpedia default index and OpenNLP
models) does use the Apache Ant "copy" task.
I have never done this, but [1] describes how to configure a proxy for Ant.

best
Rupert

[1] http://ant.apache.org/manual/proxy.html

On Tue, Aug 7, 2012 at 9:12 AM, kritarth anand <[email protected]> wrote:
> Hi,
>
>
> I recently have moved back to my college where there is a proxy server.
> Earlier I had faced lot of issues with running Stanbol behind proxy. I ran
> fine outside but now I am facing issues.
>
> I have changed the m2/conf/setting.xml and included the proxy ip and port
> no.
>
> when I run mvn clean install -X -DskipTests
> I get this
>
> Does anyone have an idea about it?
>
>
> main:
>      [echo] *
>      [echo] * WARNING - this build downloads a DPBedia index for 43k
> entities
>      [echo] * that is *not* licensed under the Apache License, but under the
>      [echo] * Creative Commons Attribution-ShareAlike 3.0 Unported License.
>      [echo] *
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @
> org.apache.stanbol.data.sites.dbpedia ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> org.apache.stanbol.data.sites.dbpedia ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 6 resources
> [INFO] Copying 4 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
> org.apache.stanbol.data.sites.dbpedia ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-antrun-plugin:1.6:run (compile) @
> org.apache.stanbol.data.sites.dbpedia ---
> [INFO] Executing tasks
>
> main:
>      [echo] copy Solr Index
>      [echo]  FROM
> http://dev.iks-project.eu/downloads/stanbol-indices/dbpedia_43k.solrindex.zip
>      [echo]  TO
> /home/jsk/Desktop/test/stanbol/data/sites/dbpedia/src/main/resources/org/apache/stanbol/data/site/dbpedia/default/index
>
> download:
> java.net.ConnectException: Connection refused
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Stanbol Releasing Source Assembly Descriptor  SUCCESS [0.854s]
> [INFO] Apache Stanbol Parent ............................. SUCCESS [0.136s]
> [INFO] Apache Stanbol Data Parent ........................ SUCCESS [0.340s]
> [INFO] Apache Stanbol Data Default Configuration ......... SUCCESS [1.307s]
> [INFO] Apache Stanbol Data: DBpedia.org .................. FAILURE [0.505s]
> [INFO] Apache Stanbol Data: OpenNLP Models for English ... SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP NER Models for English  SKIPPED
> [INFO] Apache Stanbol Data: Default ontology registries .. SKIPPED
> [INFO] Apache Stanbol Data: Default Data Bundle List ..... SKIPPED
> [INFO] Apache Stanbol Data: Remote DBpedia.org with local cache  SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP Models for Danish .... SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP Models for German .... SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP Models for Spanish ... SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP Models for Dutch ..... SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP Models for Portuguese  SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP Models for Swedish ... SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP NER Models for Spanish  SKIPPED
> [INFO] Apache Stanbol Data: OpenNLP NER Models for Dutch . SKIPPED
> [INFO] Apache Stanbol Data: Bundle List for OpenNLP ...... SKIPPED
> [INFO] Apache Stanbol Data Reactor ....................... SKIPPED
> [INFO] Apache Stanbol Commons JSON-LD API ................ SKIPPED
> [INFO] Apache Stanbol Commons Web Base ................... SKIPPED
> [INFO] Apache Stanbol Commons Web Home Page .............. SKIPPED
> [INFO] Apache Stanbol Commons Data File Provider ......... SKIPPED
> [INFO] Apache Stanbol Commons Offline Utilities .......... SKIPPED
> [INFO] Apache Stanbol Commons Data File Provider for Bundles  SKIPPED
> [INFO] Apache Stanbol Commons Installer Bundle Provider .. SKIPPED
> [INFO] Apache Stanbol Commons Solr Core .................. SKIPPED
> [INFO] Apache Stanbol Commons Solr Managed ............... SKIPPED
> [INFO] Apache Stanbol Commons Solr Web ................... SKIPPED
> [INFO] Apache Stanbol Commons Solr Installer ............. SKIPPED
> [INFO] Apache Stanbol Commons Solr Defauts ............... SKIPPED
> [INFO] Apache Stanbol Commons Web SPARQL ................. SKIPPED
> [INFO] Apache Stanbol Commons Jobs API ................... SKIPPED
> [INFO] Apache Stanbol Commons Jobs Web ................... SKIPPED
> [INFO] Apache Stanbol Commons Jobs Reactor ............... SKIPPED
> [INFO] Apache Stanbol Commons OpenNLP Utilities and Models  SKIPPED
> [INFO] Apache Stanbol Commons OWL Bundle ................. SKIPPED
> [INFO] Apache Stanbol Commons Indexed Clerezza inMemory graph
> implementation  SKIPPED
> [INFO] Apache Stanbol Commons Clerezza LDPath Repository . SKIPPED
> [INFO] Apache Stanbol Commons HTTP Query Headers ......... SKIPPED
> [INFO] Apache Stanbol Commons Launchpad .................. SKIPPED
> [INFO] Apache Stanbol Commons Testing Jar Executor ....... SKIPPED
> [INFO] Apache Stanbol Commons Testing HTTP Testing Library  SKIPPED
> [INFO] Apache Stanbol Commons Testing Stanbol Utilities .. SKIPPED
> [INFO] Apache Stanbol Commons Reactor .................... SKIPPED
> [INFO] Apache Stanbol Default Framework Fragment Bundle .. SKIPPED
> [INFO] Apache Stanbol Entityhub Parent ................... SKIPPED
> [INFO] Apache Stanbol Entityhub Generic Service API ...... SKIPPED
> [INFO] Apache Stanbol Entityhub Generic Test Framework ... SKIPPED
> [INFO] Apache Stanbol Entityhub Generic Core ............. SKIPPED
> [INFO] Apache Stanbol Entityhub Model Clerezza ........... SKIPPED
> [INFO] Apache Stanbol Entityhub Query SPARQL ............. SKIPPED
> [INFO] Apache Stanbol Entityhub Site Linked Data Protocol  SKIPPED
> [INFO] Apache Stanbol Entityhub Managed Site ............. SKIPPED
> [INFO] Apache Stanbol Entityhub Yard based on Clerezza ... SKIPPED
> [INFO] Apache Stanbol Entityhub Yard based on Solr ....... SKIPPED
> [INFO] Apache Stanbol Entityhub LDPath Support ........... SKIPPED
> [INFO] Apache Stanbol Entityhub Web Jersey HTTP Endpoint . SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing Parent .......... SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing Core ............ SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing Source for Jena TDB  SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing Source for vCard  SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing Destination SolrYard  SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing Generic RDF ..... SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing for geonames.org  SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing for DBpedia.org . SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing for dblp ........ SKIPPED
> [INFO] Apache Stanbol Entityhub Indexing Reactor ......... SKIPPED
> [INFO] Apache Stanbol Entityhub Default Configuration .... SKIPPED
> [INFO] Apache Stanbol Entityhub Bundle List .............. SKIPPED
> [INFO] Apache Stanbol Entityhub .......................... SKIPPED
> [INFO] Apache Stanbol Ontology Manager Network Manager ... SKIPPED
> [INFO] Apache Stanbol Ontology Manager Registry Manager .. SKIPPED
> [INFO] Apache Stanbol Ontology Manager Web ............... SKIPPED
> [INFO] Apache Stanbol Ontology Manager Bundle List ....... SKIPPED
> [INFO] Apache Stanbol Ontology Manager Reactor ........... SKIPPED
> [INFO] Apache Stanbol Rules Services API ................. SKIPPED
> [INFO] Apache Stanbol Rules Manager ...................... SKIPPED
> [INFO] Apache Stanbol Rules Abstract Adapter ............. SKIPPED
> [INFO] Apache Stanbol Rules Jena Adapter ................. SKIPPED
> [INFO] Apache Stanbol Rules SPARQL Adapter ............... SKIPPED
> [INFO] Apache Stanbol Rules Clerezza Adapter ............. SKIPPED
> [INFO] Apache Stanbol Rules SWRL Adapter ................. SKIPPED
> [INFO] Apache Stanbol Rules Adapter Reactor .............. SKIPPED
> [INFO] Apache Stanbol Rules Refactorer ................... SKIPPED
> [INFO] Apache Stanbol Rules Web .......................... SKIPPED
> [INFO] Apache Stanbol Rules Bundle List .................. SKIPPED
> [INFO] Apache Stanbol Rules Reactor ...................... SKIPPED
> [INFO] Apache Stanbol Enhancer Parent POM ................ SKIPPED
> [INFO] Apache Stanbol Enhancer Services API .............. SKIPPED
> [INFO] Apache Stanbol Enhancer Test framework ............ SKIPPED
> [INFO] Apache Stanbol Enhancer Core ...................... SKIPPED
> [INFO] Apache Stanbol Enhancer RDF entities .............. SKIPPED
> [INFO] Apache Stanbol Enhancer Weighted Job Manager ...... SKIPPED
> [INFO] Apache Stanbol Enhancer Event Jobmanager .......... SKIPPED
> [INFO] Apache Stanbol Enhancer JobManager Reactor ........ SKIPPED
> [INFO] Apache Stanbol Enhancer Chain: DefaultChain ....... SKIPPED
> [INFO] Apache Stanbol Enhancer Chain: GraphChain ......... SKIPPED
> [INFO] Apache Stanbol Enhancer Chain: Weighted ........... SKIPPED
> [INFO] Apache Stanbol Enhancer Chain: List ............... SKIPPED
> [INFO] Apache Stanbol Enhancer Web (Jersey) .............. SKIPPED
> [INFO] Apache Stanbol Enhancer LDPath .................... SKIPPED
> [INFO] Apache Stanbol Enhancer Benchmark ................. SKIPPED
> [INFO] Apache Stanbol Enhancer Defaults Configuration .... SKIPPED
> [INFO] Apache Stanbol Enhancer Bundle List ............... SKIPPED
> [INFO] Apache Stanbol Enhancer Reactor ................... SKIPPED
> [INFO] Apache Stanbol Contenthub Parent .................. SKIPPED
> [INFO] Apache Stanbol Contenthub Service API ............. SKIPPED
> [INFO] Apache Stanbol Contenthub Solr Store .............. SKIPPED
> [INFO] Apache Stanbol Contenthub Clerezza Store .......... SKIPPED
> [INFO] Apache Stanbol Contenthub InMemory Store .......... SKIPPED
> [INFO] Apache Stanbol Contenthub Store Reactor ........... SKIPPED
> [INFO] Apache Stanbol Contenthub Search Solr Searcher .... SKIPPED
> [INFO] Apache Stanbol Contenthub Search Related Keyword Searcher  SKIPPED
> [INFO] Apache Stanbol Contenthub Featured Search ......... SKIPPED
> [INFO] Apache Stanbol Contenthub Search Reactor .......... SKIPPED
> [INFO] Apache Stanbol Contenthub Web ..................... SKIPPED
> [INFO] Apache Stanbol Contenthub Clerezza LDPath Backend . SKIPPED
> [INFO] Apache Stanbol Contenthub Bundle List ............. SKIPPED
> [INFO] Apache Stanbol Contenthub Reactor ................. SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Semantic NER  SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Language Identifier
> SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Language Identifier
> SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Topic Classification
> SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Metaxa Metadata and
> Text Extractor  SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Apache Tika  SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Entity Tagging  SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Keyword Extraction
> SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Refactor Engine  SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine: CELI .. SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : geonames.org GIS
> service  SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : OpenCalais  SKIPPED
> [INFO] Apache Stanbol Enhancer Enhancement Engine : Zemanta Tagging  SKIPPED
> [INFO] Apache Stanbol Enhancer Engines Reactor ........... SKIPPED
> [INFO] Apache Stanbol Enhancer Topic Classification - Web API  SKIPPED
> [INFO] Apache Stanbol CMS Adapter Parent ................. SKIPPED
> [INFO] Apache Stanbol CMS Adapter Service API ............ SKIPPED
> [INFO] Apache Stanbol CMS Adapter Core ................... SKIPPED
> [INFO] Apache Stanbol CMS Adapter JCR .................... SKIPPED
> [INFO] Apache Stanbol CMS Adapter CMIS Bundle ............ SKIPPED
> [INFO] Apache Stanbol CMS Adapter Web .................... SKIPPED
> [INFO] Apache Stanbol CMS Adapter Bundle List ............ SKIPPED
> [INFO] Apache Stanbol CMS Adapter Reactor ................ SKIPPED
> [INFO] Apache Stanbol FactStore .......................... SKIPPED
> [INFO] Apache Stanbol FactStore Bundle List .............. SKIPPED
> [INFO] Apache Stanbol FactStore Reactor .................. SKIPPED
> [INFO] Apache Stanbol Reasoners Services API ............. SKIPPED
> [INFO] Apache Stanbol Reasoners Service Manager .......... SKIPPED
> [INFO] Apache Stanbol Reasoners OWL API .................. SKIPPED
> [INFO] Apache Stanbol Reasoners Jena ..................... SKIPPED
> [INFO] Apache Stanbol Reasoners Test Framework ........... SKIPPED
> [INFO] Apache Stanbol Reasoners Web ...................... SKIPPED
> [INFO] Apache Stanbol Reasoners Bundle List .............. SKIPPED
> [INFO] Apache Stanbol Reasoners Reactor .................. SKIPPED
> [INFO] Apache Stanbol Demos Enhancer VIE UI .............. SKIPPED
> [INFO] Apache Stanbol Launchers OSGi Framework Bundle List  SKIPPED
> [INFO] Apache Stanbol Launchers Commons Bundle List ...... SKIPPED
> [INFO] Apache Stanbol Launchers Clerezza Shell Bundle List  SKIPPED
> [INFO] Apache Stanbol Launchers Full Launcher ............ SKIPPED
> [INFO] Apache Stanbol Integration Tests .................. SKIPPED
> [INFO] Apache Stanbol Launchers Stable Launcher .......... SKIPPED
> [INFO] Apache Stanbol Launchers Full Launcher as WAR ..... SKIPPED
> [INFO] Apache Stanbol Reactor ............................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5.679s
> [INFO] Finished at: Tue Aug 07 03:05:36 EDT 2012
> [INFO] Final Memory: 62M/293M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile) on project
> org.apache.stanbol.data.sites.dbpedia: An Ant BuildException has occured:
> The following error occurred while executing this line:
> [ERROR]
> /home/jsk/Desktop/test/stanbol/data/sites/dbpedia/download_index.xml:26:
> Warning: Could not find resource url "
> http://dev.iks-project.eu/downloads/stanbol-indices/dbpedia_43k.solrindex.zip";
> to copy.
> [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/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :org.apache.stanbol.data.sites.dbpedia



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to