设置Intershop 7.10开发环境

时间:2019-02-13 16:09:58

标签: intershop

伙计,

执行时出现以下错误,请您帮我 gradlew清洁eHCR发布

失败:构建失败,并出现异常。

  • 其中: 构建文件“ D:\ Projects \ xxx \ xxx_project \ xxx_assembly \ build.gradle”行:15

  • 出了什么问题: 评估项目':xxx_assembly'时发生问题。

      

    无法解析配置':xxx_assembly:com.intershop.assembly:commerce_management_b2x'的所有依赖项。   找不到com.intershop.assembly:commerce_management_b2x:7.10.3.1。    要求:        com.xxx:xxx_assembly:1.0.0-LOCAL

  • 尝试: 使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行,以获取更多日志输出。

建立失败

Build.gradle:

inheritFrom('com.intershop.assembly:commerce_management_b2x') 
{
    includeArtifacts type:['deploy-settings-gradle']
}

请帮助。

Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating project ':xxx_assembly'.
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:150)
        at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:72)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:155)
        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
        at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:521)
        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:92)
        at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
        at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:125)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:122)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:45)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':xxx_assembly:com.intershop.assembly:commerce_management_b2x'.
        at org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration.rethrowFailure(DefaultLenientConfiguration.java:62)
        at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.rethrowFailure(DefaultResolvedConfiguration.java:36)
        at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.getFirstLevelModuleDependencies(DefaultResolvedConfiguration.java:49)
        at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver$FilesAggregatingResolvedConfiguration.getFirstLevelModuleDependencies(SelfResolvingDependencyConfigurationResolver.java:96)
        at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver$ErrorHandlingResolvedConfiguration.getFirstLevelModuleDependencies(ErrorHandlingConfigurationResolver.java:205)
        at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:252)
        at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:243)
        at com.intershop.build.assembly.inheritance.AssemblyInheritanceUtil.getAssemblyId(AssemblyInheritanceUtil.groovy:25)
        at com.intershop.build.assembly.inheritance.AssemblyInheritanceUtil.getInheritedAssemblyIvyFile(AssemblyInheritanceUtil.groovy:37)
        at com.intershop.build.assembly.hosttype.InheritedHostTypeProvider.provideSubsets(InheritedHostTypeProvider.groovy:36)
        at com.intershop.build.gradle.plugins.AssemblyExtension$_inheritFrom_closure12.doCall(AssemblyExtension.groovy:286)
        at com.intershop.build.gradle.plugins.AssemblyExtension.inheritFrom(AssemblyExtension.groovy:285)
        at build_2cfc7pnzhx1qg72j39nnpeszf$_run_closure1.doCall(D:\Projects\b2x710\xxx_project\xxx_assembly\build.gradle:15)
        at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
        at org.gradle.api.internal.plugins.ExtensionsStorage$ExtensionHolder.configure(ExtensionsStorage.java:145)
        at org.gradle.api.internal.plugins.ExtensionsStorage.configureExtension(ExtensionsStorage.java:69)
        at org.gradle.api.internal.plugins.DefaultConvention$ExtensionsDynamicObject.invokeMethod(DefaultConvention.java:207)
        at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:150)
        at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
        at build_2cfc7pnzhx1qg72j39nnpeszf.run(D:\Projects\b2x710\xxx_project\xxx_assembly\build.gradle:14)
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
        ... 50 more
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.intershop.assembly:commerce_management_b2x:7.10.3.1.
Required by:
    com.xxx:xxx_assembly:1.0.0-LOCAL
        at org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound(DefaultBuildableComponentResolveResult.java:38)
        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolveModule(RepositoryChainComponentMetaDataResolver.java:88)
        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolve(RepositoryChainComponentMetaDataResolver.java:59)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain$ComponentMetaDataResolverChain.resolve(ComponentResolversChain.java:80)
        at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModuleResolver.resolve(ClientModuleResolver.java:44)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java:560)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder.java:570)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:256)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:230)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:137)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:75)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:88)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:78)
        at org.gradle.internal.Transformers$4.transform(Transformers.java:137)
        at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
        at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:78)
        at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:41)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:192)
        at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
        at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:106)
        at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:187)
        at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:64)
        at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:39)
        at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolve(DefaultConfigurationResolver.java:91)
        at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver.resolve(SelfResolvingDependencyConfigurationResolver.java:40)
        at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolve(ShortCircuitEmptyConfigurationResolver.java:52)
        at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:43)
        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:367)
        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:342)
        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:335)
        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
        at com.intershop.common.artifacts.DependencyUtils$_resolveSingleModule_closure13.doCall(DependencyUtils.groovy:249)
        at com.intershop.common.artifacts.DependencyUtils$_resolveSingleModule_closure13.call(DependencyUtils.groovy)
        at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:320)
        at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:294)
        at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:288)
        at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:248)
        ... 65 more

此外,当我进行gradlew干净的eHCR发布时,我也收到了以下警告消息

This project is not included in a SCM!
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration1'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration2'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration3'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration4'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration5'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration6'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration7'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration8'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration9'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration10'.).
Download https://<nexushost>/nexus/content/groups/components/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.pom
Download https://<nexushost>/nexus/content/groups/components/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.pom
Download https://<nexushost>/nexus/content/groups/components/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.jar
Download https://<nexushost>/nexus/content/groups/components/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.jar
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration11'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration12'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration13'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration14'.).

2 个答案:

答案 0 :(得分:2)

恐怕您的问题是想得到一个简单的答案。从访问权限到Intershop的bin存储库本身,到B2X的许可权不足,或者...

我建议您向Intershop支持寻求帮助。

答案 1 :(得分:0)

工件存储库服务器很可能未正确设置。如果您在CI setup kb之后加上nexus,那么您可以通过在浏览器中使用您的nexus主机名打开此链接来对其进行测试:

https://<host>/nexus/content/repositories/ishrepo/com.intershop.assembly/commerce_management_b2x/7.10.3.1/

您应该看到以下文件夹:gradle,ivy,zips,dmps