Skip to Content
author's profile photo Former Member
Former Member

download the JDBC driver for datahub

Hi, I am working on Integrating SAP hybris Commerce for SAP Cloud for Customer. I am trying to install and setup the data hub by following the steps in SAP Hybris-C4C integration . At step No 6, while trying to download the database driver using maven command mvn hybris:getDatabaseDrivers, i getting below exception. Its not downloading the requried drivers. Please let me know what should I do? Below is the exception.

C:\HybrisCX\hybris\bin\platform>mvn hybris:getDatabaseDrivers [INFO] Scanning for projects... Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 6.9 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 4.4 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.079 s [INFO] Finished at: 2015-10-26T11:50:08+05:30 [INFO] Final Memory: 12M/245M [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'hybris' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\kivemula.m2\repository), 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 .

alt text

4223-capture.png (78.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2015 at 12:51 PM

    i believe you are using hybris 5.5. Go to \opt\hybris\bin\platform\lib\dbdriver location. Open external-dependencies.xml. Then comment

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 08, 2015 at 08:14 PM
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi, I followed the same document. Extracted commerce-suite-repository-x.x.x.zip and copied all dependencies to .m2 folder of my local maven repository. After that if I execute command c:\mvn hybris:getDatabaseDrivers

      I get the same exception. I guess, the related plugin is not maintained in the commerce suite repository zip file and its not even there in the remote repository.

      is there any way we can manually place this driver in this location. I am using default HSQLDB database comes along with Hybris commerce suit.

      Thanks, .

  • author's profile photo Former Member
    Former Member
    Posted on Oct 27, 2015 at 06:27 AM

    Hi, Thanks for the replay. I am using Hybris 5.7 version. And external-dependencies.xml does not have anything related to plugins with prefix "hybris" I have attached the complete stack trace. Please find the below trace.

    C:\HybrisCX\hybris\bin\platform>mvn -X hybris:getDatabaseDrivers Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T17:27:37+05:30) Maven home: C:\apache-maven-3.3.3 Java version: 1.8.0_60, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_60\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.enterprise.inject. < plexus.core [DEBUG] Imported: javax.enterprise.util. < plexus.core [DEBUG] Imported: javax.inject. < plexus.core [DEBUG] Imported: org.apache.maven. < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon. < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus. < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.ee.aether. < plexus.core [DEBUG] Imported: org.ee.aether.artifact < plexus.core [DEBUG] Imported: org.ee.aether.collection < plexus.core [DEBUG] Imported: org.ee.aether.deployment < plexus.core [DEBUG] Imported: org.ee.aether.graph < plexus.core [DEBUG] Imported: org.ee.aether.impl < plexus.core [DEBUG] Imported: org.ee.aether.installation < plexus.core [DEBUG] Imported: org.ee.aether.internal.impl < plexus.core [DEBUG] Imported: org.ee.aether.metadata < plexus.core [DEBUG] Imported: org.ee.aether.repository < plexus.core [DEBUG] Imported: org.ee.aether.resolution < plexus.core [DEBUG] Imported: org.ee.aether.spi < plexus.core [DEBUG] Imported: org.ee.aether.transfer < plexus.core [DEBUG] Imported: org.ee.aether.version < plexus.core [DEBUG] Imported: org.slf4j. < plexus.core [DEBUG] Imported: org.slf4j.spi.* < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from C:\apache-maven-3.3.3\conf\settings.xml [DEBUG] Reading user settings from C:\Users\kivemula.m2\settings.xml [DEBUG] Reading global toolchains from C:\apache-maven-3.3.3\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\kivemula.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\kivemula.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\kivemula.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project org.apache.maven:standalone-pom:pom:1: (none) [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Resolving plugin prefix hybris from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:\Users\kivemula.m2\repository) [DEBUG] Skipped remote request for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:\Users\kivemula.m2\repository) [DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:\Users\kivemula.m2\repository) [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:\Users\kivemula.m2\repository) [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 7.0 KB/sec) [DEBUG] Writing tracking file C:\Users\kivemula.m2\repository\org\codehaus\mojo\resolver-status.properties Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 4.4 KB/sec) [DEBUG] Writing tracking file C:\Users\kivemula.m2\repository\org\apache\maven\plugins\resolver-status.properties [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.858 s [INFO] Finished at: 2015-10-27T10:49:17+05:30 [INFO] Final Memory: 12M/245M [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'hybris' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the

    repositories [local (C:\Users\kivemula.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'hybris' in the current project and in the plugin groups

    [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\kivemula.m2\repository), central

    (https://repo.maven.apache.org/maven2)] at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:93) at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:266) at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220) at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:103) at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:83) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:89) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [ERROR] [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

    C:\HybrisCX\hybris\bin\platform>

    Thanks, .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 10, 2015 at 01:13 PM

    Hi, any help on this issue much appreciated. Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2016 at 11:08 AM

    Hi Kiran, I am also facing the same issue while installing the database drivers using mvn hybris:getDatabaseDrivers. Did u resolve it?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.