We have done both of these with maven 1. 1. We use IDEA and import each sub-project as a module into one big IDEA project. We use the idea maven plugin to generate the module config files. This way the developers only have to import the modules they are interested in seeing. It's more flexible and it avoids maintaining a common IDE project file.
2. We have our configuration in an ldap server, organized by environment, then by sub-project. Most of the system can be configured via a single build parameter (the target environment). For the rest we use velocity to generate the config files. You can avoid a lot of the scripting we did by using build.properties files, but we didn't want to maintain a lot of properties outside of our scm. This required quite a bit of jelly scripting, but you may have a simpler build then ours, so it may not be too bad. We also had to write some java code as well. For example, we wrote our own DataSource factory to grab the connection information from ldap instead of config files. Does anyone else out there have better (or just different) solutions? -----Original Message----- From: Colin Chalmers [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 11:18 AM To: Maven Users List Subject: Introducing Maven to developers Hi all, I'm trying to introduce Maven at the client I'm working at, unfortunately I'm meeting some resistance. They currently work with a number of ant scripts which pulls data in from all over the place, I want to change that but some find it hard to see the added value of Maven. The main arguments are: 1. By splitting the project up into a number of small sub-projects it's going to make it more difficult for the developers to work on the code. Currently everything is in one CVS project which can easily be checked out using Eclipse. How do others deal with this? By working with different sub-projects in IDE or checking out all into one self-made project (within IDE)? 2. There are a few moans about tranferring builds to different environments whereby other ip-addresses/logins are needed for databases etc. Is it possible to configure property files for these environments and have goals to build for each environment? Other ideas , solutions?? THX Colin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------- The information contained in this transmission is intended only for the personal and confidential use of the designated recipients named herein. If the reader of this transmission is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this transmission in error, and that any review, dissemination, distribution, or copying of this transmission is strictly prohibited. If you have received this communication in error, please notify the sender and return and delete the original transmission immediately. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
