Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5299

Profile activation based on user.timezone does not work if timezone contains a '/'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 3.0
    • None
    • Profiles
    • None
    • Windows XP SP3

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            beirtipol Beirti O'Nunain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: