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