Beirti O'Nunain created MNG-5299:
------------------------------------
Summary: Profile activation based on user.timezone does not work
if timezone contains a '/'
Key: MNG-5299
URL: https://jira.codehaus.org/browse/MNG-5299
Project: Maven 2 & 3
Issue Type: Bug
Components: Profiles
Affects Versions: 3.0
Environment: Windows XP SP3
Reporter: Beirti O'Nunain
Priority: Minor
The following profile is not calculated as part of the effective pom:
<profile>
<id>localhost-emea-regionaliser</id>
<activation>
<property>
<name>user.timezone</name>
<value>Europe/London</value>
</property>
</activation>
<properties>
<market.region>emea</market.region>
</properties>
</profile>
However, using user.country does work. e.g.:
<profile>
<id>localhost-us-regionaliser</id>
<activation>
<property>
<name>user.country</name>
<value>US</value>
</property>
</activation>
<properties>
<market.region>emea</market.region>
</properties>
</profile>
I have seen that M2Eclipse 0.12.1 calculates the effective pom correctly for
the user.timezone however, using mvn help:effective-pom on the command line
does not work
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira