You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2005/08/14 07:43:57 UTC

[jira] Created: (MNG-733) Ability to setup pom's module's name at run time

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-733) Ability to setup pom's module's name at run time

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-733?page=all ]
     
Brett Porter closed MNG-733:
----------------------------

      Assign To: Brett Porter
     Resolution: Won't Fix
    Fix Version:     (was: 2.0-beta-1)

you can use a profile

> 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
>     Assignee: Brett Porter

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org