SolRDF icon indicating copy to clipboard operation
SolRDF copied to clipboard

Cannot build with cargo:run

Open sonvx opened this issue 7 years ago • 1 comments

Hi there,

Could anyone show me why the maven command doesn't work? Is the pom.xml out-of-date?

I tried: # mvn clean verify cargo:run OR # mvn clean verify org.codehaus.cargo:cargo-maven2-plugin:run and None of them works. Probably extra configs of maven are required. Pls show me how.

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Solr RDF plugin .................................... SKIPPED [INFO] solrdf-core ........................................ SKIPPED [INFO] solrdf-client ...................................... SKIPPED [INFO] solrdf-integration-tests ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.076 s [INFO] Finished at: 2017-03-03T20:44:56+01:00 [INFO] Final Memory: 15M/464M [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'cargo' in the current project and in the plugin groups [org.codehaus.cargo ..]), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException

sonvx avatar Mar 04 '17 21:03 sonvx

Hi, the latest release is based on Solr 5.x so the cargo plugin cannot be used (Solr is no longer a war).

Please have a look at the README file in the Github repository, there are instructions for SolrRDF 1.1 and SolRDF 1.0 (maybe the one you were looking for)

Let me know Andrea

On 04/03/17 22:57, sonvx wrote:

Hi there,

Could anyone show me why the maven command doesn't work? Is the pom.xml out-of-date?

I tried: # mvn clean verify cargo:run OR # mvn clean verify org.codehaus.cargo:cargo-maven2-plugin:run and None of them works. Probably extra configs of maven are required. Pls show me how.

[INFO]

[INFO] Reactor Summary: [INFO] [INFO] Solr RDF plugin .................................... SKIPPED [INFO] solrdf-core ........................................ SKIPPED [INFO] solrdf-client ...................................... SKIPPED [INFO] solrdf-integration-tests ........................... SKIPPED [INFO]

[INFO] BUILD FAILURE [INFO]

[INFO] Total time: 2.076 s [INFO] Finished at: 2017-03-03T20:44:56+01:00 [INFO] Final Memory: 15M/464M [INFO]

[ERROR] No plugin found for prefix 'cargo' in the current project and in the plugin groups [org.codehaus.cargo ..]), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/agazzarini/SolRDF/issues/125, or mute the thread https://github.com/notifications/unsubscribe-auth/AHOA4KfugrjL95b-rCfix3q9EFJwgESyks5rid43gaJpZM4MTOhi.

agazzarini avatar Mar 05 '17 09:03 agazzarini