Hi Gaurav, I give it a compile here using your , and it was successful.
Furthermore, regarding your further question, I would recommend you to read that README file [1].
On 03/20/2013 11:18 AM, gaurav pant wrote:
Hi, Please find below. " <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.dbpedia</groupId> <artifactId>extraction</artifactId> <version>3.8</version> </parent> <groupId>org.dbpedia.extraction</groupId> <artifactId>dump</artifactId> <name>DBpedia Dump Extraction</name> <build> <plugins> <plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> <configuration> <launchers> <launcher> <id>import</id> <mainClass>org.dbpedia.extraction.dump.sql.Import</mainClass> <jvmArgs> <jvmArg>-server</jvmArg> </jvmArgs> <args> <arg>/mnt/ebs3/dbpedia_other_lang_dump/trimmed</arg> <arg>/mnt/ebs/perl/framework/media_wiki/wikimedia/maintenance/tables.sql</arg> <arg>localhost</arg><!-- MySQL host:port --><arg>true</arg><!-- require-download-complete --> <arg>de</arg><!-- languages and article count ranges, comma-separated --></args> </launcher> <launcher> <id>extraction</id> <mainClass>org.dbpedia.extraction.dump.extract.Extraction</mainClass> <jvmArgs> <jvmArg>-server</jvmArg> <jvmArg>-Xmx1024m</jvmArg> </jvmArgs> </launcher> <launcher> <id>compress</id> <mainClass>org.dbpedia.extraction.dump.compress.Compress</mainClass> <jvmArgs> <jvmArg>-Xmx1024m</jvmArg> </jvmArgs><!-- mvn scala:run -Dlauncher=Compress "-DaddArgs=/data|/data-compressed" --></launcher> <launcher> <id>download</id> <mainClass>org.dbpedia.extraction.dump.download.Download</mainClass><!-- ../run download config=download.properties --></launcher> <launcher> <id>purge-download</id> <mainClass>org.dbpedia.extraction.dump.clean.Clean</mainClass> <args> <arg>/home/release/wikipedia</arg> <arg>download-complete</arg><arg>1</arg><!-- keep only one latest download --> <arg>*.sql.gz,*.xml.bz2,*.sql,*-pages-articles.xml,index.html</arg><!-- delete these files --></args> </launcher> <launcher> <id>purge-extraction</id> <mainClass>org.dbpedia.extraction.dump.clean.Clean</mainClass> <args> <arg>/home/release/wikipedia</arg> <arg>extraction-complete</arg> <arg>2</arg><!-- keep two extractions --><arg>*.nt,*.nq,*.tql,*.ttl,*.trix,*-redirects.obj</arg><!-- delete these files --></args> </launcher> </launchers> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.dbpedia.extraction</groupId> <artifactId>core</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.20</version> </dependency> </dependencies> </project> "On Wed, Mar 20, 2013 at 3:44 PM, Mohamed Morsey <[email protected] <mailto:[email protected]>> wrote:Hi Gaurav, would you please send us the full pom file? On 03/20/2013 11:01 AM, gaurav pant wrote:Hi, I am trying to extract cleaner abstracts using|git://github.com/dbpedia/extraction-framework.git <http://github.com/dbpedia/extraction-framework.git>|. I have configured pom.xml inside dump directory as below. <arg>/mnt/ebs3/dbpedia_other_lang_dump/trimmed</arg> <!-- file where my page-article.cump exists --> <arg>/mnt/ebs/perl/framework/media_wiki/wikimedia/maintenance/tables.sql</arg> <arg>localhost</arg><!-- MySQL host:port --> <arg>false</arg><!-- not require-download-complete; as downloaded manually --> <arg>de</arg><!-- languages and article count ranges, comma-separated --> Then I ran command "*../clean-install-run import". *I got below error.* *" $sh ../clean-install-run import [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Parent POM of the DBpedia framework [INFO] DBpedia Core Libraries [INFO] DBpedia Server [INFO] DBpedia Dump Extraction [INFO] DBpedia Scripts [INFO] Live extraction [INFO] Wiktionary Dump [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Parent POM of the DBpedia framework 3.8 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ extraction --- [INFO] Deleting /mnt/ebs/perl/framework/dbpedia/dump/../target [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Parent POM of the DBpedia framework ............... FAILURE [2.864s] [INFO] DBpedia Core Libraries ............................ SKIPPED [INFO] DBpedia Server .................................... SKIPPED [INFO] DBpedia Dump Extraction ........................... SKIPPED [INFO] DBpedia Scripts ................................... SKIPPED [INFO] Live extraction ................................... SKIPPED [INFO] Wiktionary Dump ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.262s [INFO] Finished at: Wed Mar 20 09:39:56 UTC 2013 [INFO] Final Memory: 7M/56M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project extraction: Failed to clean project: Failed to delete /mnt/ebs/perl/framework/dbpedia/target/classes -> [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 " I have below concerns. 1- Which database it will use As I want to create dbf file into different directory everytime due to space constraint? 2- Where to give login credential for database also database name to be used? 3- Also please help me to sort out the error!-- RegardsGaurav Pant +91-7709196607 <tel:%2B91-7709196607>,+91-9405757794 <tel:%2B91-9405757794>-- Kind RegardsMohamed Morsey Department of Computer Science University of Leipzig -- Regards Gaurav Pant +91-7709196607,+91-9405757794
[1] https://github.com/dbpedia/dbpedia/blob/master/abstractExtraction/README.txt
-- Kind Regards Mohamed Morsey Department of Computer Science University of Leipzig
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
