Automated Deployment solution for multiple Java web-apps

前端 未结 9 810
时光说笑
时光说笑 2020-12-23 12:02

I\'m looking for solutions, preferably open source, that can manage deployments of multiple interdependent java web-applications.

The solution requires an ab

9条回答
  •  攒了一身酷
    2020-12-23 12:29

    Deployment is a complicated business. Maven has many of the plugins you could need to manage a deployment, but it takes some configuration to get it to do exactly what you want. The following describes how each of your issues could be addressed. Though depending on your environment, it might be more trouble than it's worth.

    The maven Cargo plugin can be used to deploy the applications. Obviously this can be quite involved but Cargo is a pretty good tool for managing deployments.

    The apache config could be packaged as a separate jar by your build process and deployed to the repository, then downloaded/published for use in your deployment jar (the dependency plugin can be used to pull the config jar from the repository). Alternatively Maven has an scm api that can be used to invoke arbitrary commands against your SCM repository (see this answer for an example plugin using the SCM API.

    As far as I know there isn't a Maven plugin for dbdeploy, but this blog post shows how the maven-antrun-plugin can be used to script the deployment.

提交回复
热议问题