cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris 5.7 | y2ysync-datahub-ext | datahub-extensions - Not found in Repository.

Former Member
0 Kudos

Hi,

I tried to build build y2ysync-datahub-ext extension by using the mvn clean install command.


My POM entry in y2ysync-datahub-ext extension contains following entries.

   <parent>

<artifactId>datahub-extensions</artifactId>

<groupId>com.hybris.datahub</groupId>

<version>5.7.0.0-RC3</version>

</parent>

I checked at https://repo.maven.apache.org/maven2/ and could not find the jars.

I am getting below error. Any clue how to fix?

D:\hybris-commerce-suite-5.7.0.0\hybris\bin\ext-incubator\y2ysyncdemoelectronics\resources\y2ysync-datahub-ext>mvn install

[INFO] Scanning for projects...

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project de.hybris.platform:y2ysync-datahub-ext:5.7.0.0-SNAPSHOT (D:\hybris-commerce-suite-5.7.0.0\hybris\bin\ext-incubator\y2ysyncdemoelectronics\r

esources\y2ysync-datahub-ext\pom.xml) has 1 error

[ERROR] Non-resolvable parent POM: Failure to find com.hybris.datahub:datahub-extensions:pom:5.7.0.0-RC3 in https://repo.maven.apache.org/maven2 was cached i

n the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' point

s at wrong local POM @ line 18, column 13 -> [Help 2]

[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/ProjectBuildingException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

D:\hybris-commerce-suite-5.7.0.0\hybris\bin\ext-incubator\y2ysyncdemoelectronics\resources\y2ysync-datahub-ext>mvn -e install

[INFO] Error stacktraces are turned on.

[INFO] Scanning for projects...

[ERROR] The build could not read 1 project -> [Help 1]

  • org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM: Failure to find com.hybris.datahub:datahub-extensions:pom:5.7.0.0-RC3 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points atwrong local POM @ line 18, column 13 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:663) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:654) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:243) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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:498) 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]   The project de.hybris.platform:y2ysync-datahub-ext:5.7.0.0-SNAPSHOT (D:\hybris-commerce-suite-5.7.0.0\hybris\bin\ext-incubator\y2ysyncdemoelectronics\resources\y2ysync-datahub-ext\pom.xml) has 1 error[ERROR] Non-resolvable parent POM: Failure to find com.hybris.datahub:datahub-extensions:pom:5.7.0.0-RC3 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2]

  • org.apache.maven.model.resolution.UnresolvableModelException: Failure to find com.hybris.datahub:datahub-extensions:pom:5.7.0.0-RC3 in https://repo.maven.apache.

org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:187) at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:236) at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:898) at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:750) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:309) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:463) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:432) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:396) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:663) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:654) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:243) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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:498) 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)Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find com.hybris.datahub:datahub-extensions:pom:5.7.0.0-RC3 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295) at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:183) ... 22 moreCaused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find com.hybris.datahub:datahub-extensions:pom:5.7.0.0-RC3 in https://repo.maven.apa

  1. che.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)

at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)

at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)

at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)

at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)

... 26 more

[ERROR]

[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/ProjectBuildingException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member224482
Active Contributor
0 Kudos

Hi,

I would strongly recommend you to upgrade to the version 6.0. In this version, the "y2ysync-datahub-ext" jar artifact is provide in the commerce suite zip file.

Also, some master data integration to yMKT are provided OOTB.

https://help.hybris.com/6.0.0/hcd/63b794ae62764340884e0bcdd5cebecc.html

Regards,

Robin

0 Kudos

Hi

I've get to the same issue.

Hybris provides configuration file for maven   ( the  settings.xml) but it is only  available when searching for "settings.xml" into the wiki:

here is the link to the settings.xml file : https://wiki.hybris.com/download/attachments/200542916/settings.xml?version=3&modificationDate=13920...

Hope this help.