You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Justin Edelson <ju...@justinedelson.com> on 2011/05/17 20:53:01 UTC

documentation on encrypted password has wrong file path?

According to http://maven.apache.org/guides/mini/guide-encryption.html,
the file settings-security.xml needs to go in ~/.m2. But it appears
that in reality, it has to go in ~/, not ~/.m2. (see
https://github.com/sonatype/plexus-sec-dispatcher/blob/master/src/main/java/org/sonatype/plexus/components/sec/dispatcher/DefaultSecDispatcher.java#L62)

Can someone validate what I'm seeing? If so, I'll try to find some
time to create a patch.

Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: documentation on encrypted password has wrong file path?

Posted by Anders Hammar <an...@hammar.net>.
No, the docs are correct. This value is re-configured by Maven core. I know,
I was too confused by this.

/Anders

On Tue, May 17, 2011 at 20:53, Justin Edelson <ju...@justinedelson.com>wrote:

> According to http://maven.apache.org/guides/mini/guide-encryption.html,
> the file settings-security.xml needs to go in ~/.m2. But it appears
> that in reality, it has to go in ~/, not ~/.m2. (see
>
> https://github.com/sonatype/plexus-sec-dispatcher/blob/master/src/main/java/org/sonatype/plexus/components/sec/dispatcher/DefaultSecDispatcher.java#L62
> )
>
> Can someone validate what I'm seeing? If so, I'll try to find some
> time to create a patch.
>
> Justin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>