you can try  looking at the multiproject plugin
http://maven.apache.org/reference/plugins/multiproject/

I think there you can find what you need

Regards

Michele


|---------+---------------------------->
|         |           "Los Morales"    |
|         |           <[EMAIL PROTECTED]|
|         |           il.com>          |
|         |                            |
|         |                            |
|         |           26/03/2004 08:27 |
|         |           Please respond to|
|         |           "Maven Users     |
|         |           List"            |
|         |                            |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |        To:                                         [EMAIL PROTECTED]               
                                     |
  |        cc:                                         (bcc: Michele Forte/SwissRe)    
                                          |
  |        bcc:                                        Michele Forte/SwissRe           
                                          |
  |        Subject:                                    Does maven have something like 
ant calls?                                 |
  
>------------------------------------------------------------------------------------------------------------------------------|




Hi,

I'm new to maven and would like to know if there is a way of creating one
main project.xml that calls other project.xml files to do the work.  For
example, suppose I have 3 projects set up--P1, P2 and P3.  P1 is designated

as the main project file.  Running P1 initializes itself, calls P2 to do
its
thing which includes jarring itself into the local repository, and finally
calls P3 to do its thing which depends on P2's jar to complete.  I've
looked
at the pom inheritance but its more of inheriting the "super" pom's
properties rather than delegating calls to "sub" poms.  The only other way
I
can think is to create a maven.xml file which embodies ant calls to do the
job.  I'm not sure how this would work though since I do not see any ant
tasks specifiic in invoking maven "tasks".  Any help would be appreciated.

Thanks!

-los

_________________________________________________________________
Find a broadband plan that fits. Great local deals on high-speed Internet
access.
https://broadband.msn.com/?pgmarket=en-us/go/onm00200360ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to