Hello Pablo, thanks very much.
mvn -version
Apache Maven 3.0.3 (r1075438; 2011-03-01 02:31:09+0900)
Maven home: /usr/share/maven3
Java version: 1.7.0_07, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: ko_KR, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-23-generic", arch: "amd64", family: "unix"
(.m2 deleted)
/var/local/spotlight$ mvn clean install
[INFO] --- maven-install-plugin:2.3.1:install-file (install-weka-jar) @ eval ---
[INFO] Installing /var/local/spotlight/eval/../lib/weka-trunk.jar to
/home/mrezk/.m2/repository/weka/weka/3.7.3/weka-3.7.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DBpedia Spotlight annotation framework (parent POM) SUCCESS [5:01.889s]
[INFO] DBpedia Spotlight Core ............................ SUCCESS [11:08.240s]
[INFO] DBpedia Spotlight RESTful API ..................... SUCCESS [15:01.449s]
[INFO] DBpedia Spotlight Indexing ........................ SUCCESS [1:46.927s]
[INFO] DBpedia Spotlight Evaluation ...................... SUCCESS [1:14.808s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34:13.840s
[INFO] Finished at: Fri Oct 12 02:37:13 KST 2012
[INFO] Final Memory: 36M/87M
[INFO] ------------------------------------------------------------------------
Apparently that works, although it was using Maven2 repositories as well. For
instance:
http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.pom
But that command is not in the Internationalization manual. What's the
difference?
Best,
Martin.-
________________________________
From: Pablo N. Mendes <[email protected]>
To: Martin -- <[email protected]>
Cc: "[email protected]"
<[email protected]>
Sent: Thursday, October 11, 2012 3:30 PM
Subject: Re: [Dbp-spotlight-users] problem with Maven 3 when installing
spotlight
Please execute the following commands and send us the messages you get in
response:
$ mvn -version
$ rm $HOME/.m2/repo* -rf
$ mvn clean install
On Oct 11, 2012 3:59 AM, "Martin --" <[email protected]> wrote:
Dear all,
> I am trying to install the last version of spotlight as described
>here:
>
>
>https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Internationalization
>
>
>I installed maven3, and created an alias:
>
>
>alias mvn=/usr/bin/mvn3
>
>
>I also changed the variables in /etc/environment
>
>
> M3_HOME="/usr/share/maven3"
>MAVEN_HOME="/usr/share/maven3"
>M3="/usr/share/maven3"
>PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/share/maven3"
>
>
>but when I run index.sh it fails. Apparently it is trying to use Maven2
>repositories.
>
>
>Downloading:
>http://repo1.maven.org/maven2/org/openrdf/rio/1.0.10/rio-1.0.10.jar
>
>
>Error:
>
>
>
>
>[INFO] ------------------------------------------------------------------------
>[INFO] BUILD FAILURE
>[INFO] ------------------------------------------------------------------------
>[INFO] Total time: 3:45.115s
>[INFO] Finished at: Thu Oct 11 02:30:53 KST 2012
>[INFO] Final Memory: 7M/30M
>[INFO] ------------------------------------------------------------------------
>[ERROR] Failed to execute goal on project index: Could not resolve
>dependencies for project org.dbpedia.spotlight:index:jar:0.6: The following
>artifacts could not be resolved: org.dbpedia.spotlight:core:jar:0.6,
>org.dbpedia.extraction:core:jar:2.0-SNAPSHOT, weka:weka:jar:3.7.3: Could not
>find artifact org.dbpedia.spotlight:core:jar:0.6 in
>maven2-repository.dev.java.net (http://download.java.net/maven/2/) -> [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/DependencyResolutionException
>-e Parsing Wikipedia dump to extract occurrences...
>
>
>[INFO] Scanning for projects...
>[INFO]
>[INFO] ------------------------------------------------------------------------
>[INFO] Building DBpedia Spotlight Indexing 0.6
>[INFO] ------------------------------------------------------------------------
>[INFO]
>[INFO] >>> scala-maven-plugin:3.1.0:run (default-cli) @ index >>>
>[WARNING] The POM for org.dbpedia.spotlight:core:jar:0.6 is missing, no
>dependency information available
>[WARNING] The POM for org.dbpedia.extraction:core:jar:2.0-SNAPSHOT is missing,
>no dependency information available
>[WARNING] The POM for weka:weka:jar:3.7.3 is missing, no dependency
>information available
>[INFO] ------------------------------------------------------------------------
>[INFO] BUILD FAILURE
>[INFO] ------------------------------------------------------------------------
>[INFO] Total time: 1.957s
>[INFO] Finished at: Thu Oct 11 02:30:57 KST 2012
>[INFO] Final Memory: 4M/30M
>[INFO] ------------------------------------------------------------------------
>[ERROR] Failed to execute goal on project index: Could not resolve
>dependencies for project org.dbpedia.spotlight:index:jar:0.6: The following
>artifacts could not be resolved: org.dbpedia.spotlight:core:jar:0.6,
>org.dbpedia.extraction:core:jar:2.0-SNAPSHOT, weka:weka:jar:3.7.3: Failure to
>find org.dbpedia.spotlight:core:jar:0.6 in http://download.java.net/maven/2/
>was cached in the local repository, resolution will not be reattempted until
>the update interval of maven2-repository.dev.java.net has elapsed or updates
>are forced -> [Help 1]
>[ERROR]
>
>
>
>
>Any Ideas what it can be????
>
>
>Best,
>
>
>Martin.-
>------------------------------------------------------------------------------
>Don't let slow site performance ruin your business. Deploy New Relic APM
>Deploy New Relic app performance management and know exactly
>what is happening inside your Ruby, Python, PHP, Java, and .NET app
>Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>http://p.sf.net/sfu/newrelic-dev2dev
>_______________________________________________
>Dbp-spotlight-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>
>
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users