Greetings!

After reading the Maven UG 
(http://jakarta.apache.org/turbine/maven/reference/user-guide.html) I do think that 
it's too short-spoken :)

So I want to ask some questions to see if Maven can help in our particular case. First 
of all I briefly describe the situation. We have large website content management 
system comprising of dozens of small modules doing their atomic tasks. Each of these 
modules have it's own ant building script which produces versioned jar-file. The 
deployment process is pretty difficult, because it may include the following steps: 
1) copying new jar  and deleting old one -- fairly simple :) (no problems!)
2) updating mysql database on the hosting server (needed sql scripts are stored in cvs)
3) copying dependency files such as XSL templates and binary stuff (binary stuff is 
NOT stored in cvs)
4) updating property files with modules' settings that are differ from one hosting 
server to another.

So, the questions that arise are:
1) Can Maven perform database operations? If yes, please give an example code
2) How to perform deploying of a property file which differs from one hosting server 
to another?

   I.E. locally my module-foo.properties contains line: dbLogin = local_user, but 
globally I want it to be: dbLogin = hosting_site_db_user.

  Can I do this with maven framework?

3) Is there a possibility in Maven to verify  the validity of deploy? (compare size of 
directories, for instance)
4) And finally, is there any In-Depth Maven tutorial?

Thanks in advance, 

Alexey

Reply via email to