[ 
http://jira.codehaus.org/browse/MNG-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann updated MNG-4614:
-----------------------------------

    Attachment: MNG-4614.zip

The attached project demonstrates the successful activation of a profile based 
on OS family and architecture. Unless you can provide more information to 
reproduce your issue, like the output of "mvn -v" that shows the actual 
platform details, we can't help you.

> Profile activation for arch does not work
> -----------------------------------------
>
>                 Key: MNG-4614
>                 URL: http://jira.codehaus.org/browse/MNG-4614
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.0-alpha-7
>            Reporter: Karsten Thoms
>         Attachments: MNG-4614.zip
>
>
> When adding <arch> a profile does not get activated. I have the following 
> profile:
>               <profile>
>                       <id>platform-macosx-cocoa-x86</id>
>                       <activation>
>                               <activeByDefault>false</activeByDefault>
>                               <os>
>                                       <family>mac</family>
>                                       <arch>x86</arch>
>                               </os>
>                       </activation>
>                       <properties>
>                               <osgi.os>macosx</osgi.os>
>                               <osgi.ws>cocoa</osgi.ws>                        
>                               <osgi.arch>x86</osgi.arch>                      
>                       </properties>
>               </profile>
> Leaving <arch> out will activate the profile. Also tried with 
> <arch>x86_64</arch> (but platform arch is x86).

-- 
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

        

Reply via email to