简体   繁体   English

将Maven工件从Artifactory部署到WebLogic12c

[英]Deploying Maven artifacts from Artifactory to WebLogic12c

I am trying to deploy Maven artifacts from Artifactory to WebLogic12c, I did deploy to Artifactory, but not sure how they are getting deployed to the appserver. 我试图将Maven工件从Artifactory部署到WebLogic12c,但确实将其部署到Artifactory,但是不确定如何将它们部署到应用服务器。

I tried to use Weblogic Maven Plugin for that, without success. 我试图为此使用Weblogic Maven插件,但没有成功。

What I am trying to achieve is automatic deployment, ie when a new artifact is deployed to Artifactory, it should be deployed to WebLogic too. 我要实现的是自动部署,即当将新工件部署到Artifactory时,也应该将其部署到WebLogic。

You need to use a deployment tool for that. 您需要为此使用部署工具。

If you are proficient in DevOps tools like chef / puppet / saltstack / ansible etc. you can use them. 如果你的DevOps工具,比如精通厨师 / 傀儡 / saltstack / ansible等,你可以使用它们。 If you look for something more usable without operations background, I highly recommend LiveRebel by ZeroTurnaround . 如果您在没有操作背景的情况下寻找更有用的东西,我强烈建议ZeroTurnaround提供LiveRebel

All those tools will fetch the correct artifact from Artifactory (based on the logic you define, eg latest version, specific build, or based on specific properties, such as QA.status=passed ) by using the Artifactory REST API and then deploy it to WebLogic. 所有这些工具都将使用Artifactory REST API从Artifactory获取正确的工件(基于您定义的逻辑,例如,最新版本,特定内部版本或特定属性,例如QA.status=passed ),然后将其部署到的WebLogic。

Artifactory is an artifact repository manager. Artifactory是工件仓库管理器。 This means it's a store for artifacts. 这意味着它是存放文物的地方。 It's not a Continuous Deployment tool. 它不是持续部署工具。 You should consider a DevOp tool or write your own scripts that will deploy it for you, it's not something that comes out of the box or that you should be expecting from a repository manager. 您应该考虑使用DevOp工具或编写自己的脚本来为您部署它,这不是开箱即用的东西,也不是您应该从存储库管理器中获得的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM