I need to set ${user.home} to a different location based on profile. In
the profile below ${username} and ${password} propagate to the POM.
However, ${user.home} is not propagated with the value specified in the
profile. It keeps resolving to the home directory of the user running M2
instead of C:\some\path.


Relevant fragment from my settings.xml:

  <profiles>
    <profile>
      <id>default</id>
      <properties>
        <username>foo</username>
          <password>bar</password>
          <user.home>C:\some\path</user.home>
      </properties>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>default</activeProfile>
  </activeProfiles>


Should it work this way?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to