开发者

deploy and undeploy multiple artefacts to JBoss using Maven

I intended to use JBoss-Maven-Plugin for hotdeployment of jars to JBoss. I have three projects A, B, C that depend on each other so if I want开发者_如何学JAVA to redeploy A I first have to undeploy C, then B, then redeploy A, then B, then C. Now I'm having a hard time finding a way undeploying the artifacts and then deploying them in reverse order. Might this be out of Maven's scope and I should be using Ant for this task?

Actually it even gets trickier if I have four projects where B and C depend on A and D depends on both B and C - would that always have to result in a double redeployment of D?


It's hard to say without more details but with what I know about the Maven JBoss Plugin, the following questions come to mind:

  • What are these JARs?
  • Where are they located?
  • Did you actually try to specify them all as fileNames to hard-deploy and hard-undeploy them?
  • Shouldn't you actually bundle them in an EAR?
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜