You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karsten Thoms (JIRA)" <ji...@codehaus.org> on 2010/03/29 23:38:26 UTC
[jira] Created: (MNG-4614) Profile activation for arch does not
work
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
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
[jira] Closed: (MNG-4614) Profile activation for arch does not work
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4614.
----------------------------------
Resolution: Cannot Reproduce
Assignee: Benjamin Bentmann
> 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
> Assignee: Benjamin Bentmann
> 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
[jira] Commented: (MNG-4614) Profile activation for arch does not
work
Posted by "Karsten Thoms (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=216038#action_216038 ]
Karsten Thoms commented on MNG-4614:
------------------------------------
Thanks Benjamin! Just for the records: Actually the mistake was that platform arch was x86_64, which mvn -v showed. I had a typo in the profile activation for x86_64. Surry for disturbing.
> 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
> Assignee: Benjamin Bentmann
> 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
[jira] Updated: (MNG-4614) Profile activation for arch does not
work
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ 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