Well,
I had to face the same problem. I am currently responsible for a large
scale project that delivers SOA
applications based on an ESB implementation. At the end of the day I
have written a series of Maven plugins
that allow me to define a packaging on the top level - the application
to be delivered. That application has a maven
dependency tree underneath and each node in the tree is a service in the
sense of SOA.
A service might consist of other services and require java libraries to
be compiled or run. Ultimately each each
service is packaged by another plugin, so that it can contribute to the
overall deployment.
Following this approach, I am able to checkout the top level application
and simply run a "mvn package" command
and have a deployable appliaction. I am currently working on integrating
the deployment and integration tests, so that
not only the services can be unit tested, but the entire application.
I would be happy to share the plugin code, but it is related to a vendor
specific ESB, so that it wouldn't help you too
much.
Feel free to contact me for further discussion
Andreas
stug23 schrieb:
Am I alone in needing to understand how Maven relates to large-scale software
deployment?
:confused:
stug23 wrote:
Maven has its own notion of 'deploying' a software artifact to a Maven
repository. And there are quite a number of 'out of band' Maven plugins
such as Cargo that can remotely deploy a war file to a running web
container.
My question centers on how Maven relates to situations where once a
software system has been built and tested, the software components then
need to be globally distributed to many sites. This notion of 'deploying'
would appear to be quite different than the one embodied in Maven's deploy
goal.
What experiences have developers here had in leveraging Maven for
large-scale deployments? When did you stop using Maven and resort to
other solutions for deploying bundled software to many distributed sites?
Or were you able to use Maven for your large-scale software deployment
right out to the sites?
I would be interested in comments on how others have dealt with this part
of software deployment. My use case involves distributing 10s of SOA
services and web applications to many sites.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]