Skip to Content
0
Former Member
Apr 21, 2015 at 04:03 PM

Error in trail data Onboarding service - technical guide

150 Views

Hello,

I'm following the trail Data OnBoarding Service - Technical Guide, but in the step Install Archetype in Local Repository when I do the mvn install, i have the following error:

[INFO] Downloading: http://repo.maven.apache.org/maven2/com/hybris/dataonboarding/dataonboarding-project/5.2.0.7/dataonboarding-project-5.2.0.7.pom [INFO] [ERROR] The build could not read 1 project -> [Help 1] [INFO] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [INFO] [FATAL] Non-resolvable parent POM: Could not transfer artifact com.hybris.dataonboarding:dataonboarding-project:pom:5.2.0.7 from/to hybris-repository (https://repository.hybris.com/hybris-repository): Not authorized , ReasonPhrase:Unauthorized. and 'parent.relativePath' points at wrong local POM @ line 6, column 10 [INFO] [INFO] at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363) [INFO] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) [INFO] at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [INFO] at java.lang.reflect.Method.invoke(Method.java:606) [INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [INFO] [ERROR]
[INFO] [ERROR] The project archetype.it:basic:0.1-SNAPSHOT (/opt/dataonboarding5202/hybris-oms/tools/dataonboarding/sdk/archetype/target/test-classes/projects/basic/project/basic/pom.xml) has 1 error [INFO] [ERROR] Non-resolvable parent POM: Could not transfer artifact com.hybris.dataonboarding:dataonboarding-project:pom:5.2.0.7 from/to hybris-repository (https://repository.hybris.com/hybris-repository): Not authorized , ReasonPhrase:Unauthorized. and 'parent.relativePath' points at wrong local POM @ line 6, column 10 -> [Help 2] [INFO] org.apache.maven.model.resolution.UnresolvableModelException: Could not transfer artifact com.hybris.dataonboarding:dataonboarding-project:pom:5.2.0.7 from/to hybris-repository (https://repository.hybris.com/hybris-repository): Not authorized , ReasonPhrase:Unauthorized. [INFO] at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:159) [INFO] at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:813) [INFO] at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:664) [INFO] at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310) [INFO] at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232) [INFO] at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:410) [INFO] at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379) [INFO] at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:343) [INFO] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) [INFO] at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) [INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [INFO] at java.lang.reflect.Method.invoke(Method.java:606) [INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [INFO] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [INFO] Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.hybris.dataonboarding:dataonboarding-project:pom:5.2.0.7 from/to hybris-repository (https://repository.hybris.com/hybris-repository): Not authorized , ReasonPhrase:Unauthorized. [INFO] at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) [INFO] at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) [INFO] at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) [INFO] at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286) [INFO] at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:155) [INFO] ... 22 more [INFO] Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact com.hybris.dataonboarding:dataonboarding-project:pom:5.2.0.7 from/to hybris-repository (https://repository.hybris.com/hybris-repository): Not authorized , ReasonPhrase:Unauthorized. [INFO] at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951) [INFO] at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:939) [INFO] at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669) [INFO] at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60) [INFO] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [INFO] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [INFO] at java.lang.Thread.run(Thread.java:745) [INFO] Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Not authorized , ReasonPhrase:Unauthorized. [INFO] at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:932) [INFO] at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) [INFO] at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) [INFO] at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) [INFO] at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601) [INFO] ... 4 more [INFO] [ERROR] [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [INFO] [ERROR] [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles: [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [INFO] [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException [INFO] Post-archetype-generation invoker exit code: 1 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.256s [INFO] Finished at: Tue Apr 21 15:50:54 CEST 2015 [INFO] Final Memory: 11M/303M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test (default-integration-test) on project dataonboarding-ext-archetype: [ERROR] Archetype IT 'basic' failed: Execution failure: exit code = 1 [ERROR] -> [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/MojoExecutionException

I need help. Thanks