Maven构建于WSO2文物 [英] maven build for WSo2 artifacts

查看:348
本文介绍了Maven构建于WSO2文物的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的碳项目中导出以下从开发商的工作室,但没有使用在命令提示符下行家。

I can export below carbon project from the developer studio , but not using maven on command prompt.

有嵌入的碳项目中两个模块。一个是配置项目,另一个是注册表的资源。 Maven构建/ MVN包从车上prject水平完成,我们得到如下的错误。由于碳项目POM具有依赖性设为.xml。这里任何指针真的是AP preciated。

There are two modules embedded inside the "carbon" project . One is Config project and another one is registry resource . maven build / mvn package is done from the car prject level and we are getting below error . As the carbon Project pom has the dependencies as ".xml" . Any pointers here is really appreciated.

以下是项目结构。

CArProject -

CArProject -

  ConfigProject

   ResoourceProject

com.barclaycardus.svc.account.car:account-service-car:pom:1.0.0-SNAPSHOT:下面的文物无法解析:com.barclaycardus.svc.account.car.endpoint:AccountServiceEndpointDev: XML:1.0.0,com.barclaycardus.svc.account.car.sequence:AccountServiceOutSequence:XML:1.0.0,com.barclaycardus.svc.account.car.sequence:AccountServiceInSequence:XML:1.0.0,com.barclaycardus。 svc.account.car.proxy服务:AccountProxyService:XML:1.0.0,

"com.barclaycardus.svc.account.car:account-service-car:pom:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.barclaycardus.svc.account.car.endpoint:AccountServiceEndpointDev:xml:1.0.0, com.barclaycardus.svc.account.car.sequence:AccountServiceOutSequence:xml:1.0.0, com.barclaycardus.svc.account.car.sequence:AccountServiceInSequence:xml:1.0.0, com.barclaycardus.svc.account.car.proxy-service:AccountProxyService:xml:1.0.0,

推荐答案

当您使用Maven构建CAR文件为您的工件,那么你需要建立C-应用项目之前建立个人神器项目。

When you use maven to build the CAR file for your artifacts, then you need to build the individual artifact project before building the C-App project.

由于这是一个乏味的任务由一个建立每一个项目之一,我们有一个名为Maven的多模块项目,另一个项目类型,它作为一个Maven父项目。

Since this is a tedious task to build each and every project one by one, we have another project type called Maven Multi Module project which acts as a Maven parent project.

所以,如果你想在一个单一的去建立的一切,那么你需要创建一个Maven多模块项目,并包括所有的其他项目在这个多模块项目的POM文件的模块。

So if you want to build everything in a single go, then you need to create a Maven Multi Module project and include all the other projects as modules in this multi module project's pom file.

您可以从的这里

所以,当你建立Maven的多模块项目,将建立所有其他项目和CAR文件将在C-应用项目的目标文件夹中生成。

So when you build the maven multi module project, it will build all the other projects and the CAR file will be generated in the target folder of the C-App project.

这篇关于Maven构建于WSO2文物的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆