afaik teh algorithm is this:
String uh = System.getproperty("user.home");
File m2 = new File(uh, ".m2");
File settings = new File(m2, "settings.xml");

so probably maven is looking at some other place for your settings
than you expect it to..

Milos

On 3/21/06, Pete <[EMAIL PROTECTED]> wrote:
> Hi there I'm used to Maven2 picking up the settings.xml from
>
> C:\Documents and Settings\<login>\.m2
>
> when in a windows environment, however I'm using Maven2 at a new company
> now, and for some reason the user's settings.xml doesn't seem to be being
> picked up.
>
>
> I have
>
> <profiles>
>  <profile>
>    <id>developer_me</id>
>    <properties>
>      <JBossHome>D:/java/jboss-4.0/server/default/deploy</JBossHome>
>    </properties>
>   </profile>
>  </profiles>
>
>   <activeProfiles>
>       <activeProfile>developer_me</activeProfile>
>   </activeProfiles>
>
> yet when I do
>
> mvn projecthelp:active-profiles
>
> the profile isn't listed and the properties are unset.
>
> Any idea how I can verify where Maven2 is looking for the user's
> settings.xml.
>
> I did create the .m2 directory and settings.xml manually.
>
> PS. The conf/settings.xml is working.
>
>

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

Reply via email to