Ability to setup pom's module's name at run time
------------------------------------------------

         Key: MNG-733
         URL: http://jira.codehaus.org/browse/MNG-733
     Project: Maven 2
        Type: Bug
  Components: maven-model  
    Versions: 2.0-beta-1    
 Environment: xp
 Reporter: Dan Tran
     Fix For: 2.0-beta-1


I have  a bunch projects on the same level which only a few got pick at build 
time.

In M1, my startup script sets up a property which are then correctly 
substituted the contents of maven.multiproject.includes.

Here is example:

    parent
         pom.xml
         window-x86
         linux-x86
         aix-ppc
         hupx-ita

The parent pom.xml can have the modules define as

   <modules>
      < module>jni</module>
      <module>${platform}</module>
   </modules>

so at build time i can do this when i am on aix

     m2 install -Dplatform=aix-ppc

m2 will build jni and aix-ppc modules

This feature is needed to handle native build 
   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to