We are using Maven 3 along with Nexus Pro to build applications and manage artifacts.
Developers in the team don't have permission to deploy anything (SNAPSHOT or RELEASE) to Nexus, but only download. A CI server has been setup for that purpose.
CI server builds SNAPSHOTs when developers commit something to SCM repo.
CI server builds RELEASEs on-demand. We've created deployment projects that aggregate RELEASED jar files into ear files to be deployed on application and web servers.
Each developer has a local Weblogic server and I'd like to use weblogic-maven-plugin (from Oracle, not from Codehaus) so they don't have to do the packaging and deployment to their local Weblogic server manually. I want them to be able to invoke the plugin's goals to install/update jar files on their weblogic and debug locally.
My question is how to set it up. Once at the parent project level (would it take care of dependency jar files)? Or separately for each module within the project? There is also a problem of shared libraries. When packaged in an ear file (in "lib" directory by default), shared libraries' classes are visible to all modules within the ear file. When deployed separately, they have to be deployed as Optional Packages. Could I do that with this plugin?
Please check below docs which talks about how to deploy application to Weblogic Server.
Thanks. I had seen the link before I post this. The page doesn't really answer my question though and is far from being complete. For instance, it won't tell you anything about plugin's behavior (e.g.: if you configure it in Parent project, would it deploy all modules defined in its POM or not?).
Anyway, I finally found a post somewhere else that helped me to make some real progress.