You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2007/03/21 23:12:26 UTC

How to obtain the current settings?

Hi,

I have the following section in my Mojo, copied verbatimly from the
maven-help-plugin:

    /**
     * The system settings for Maven. This is the instance resulting from
     * merging global- and user-level settings files.
     *
     * @parameter expression="${settings}"
     * @required
     * @readonly
     */
    private Settings settings;

Unfortunately, when I run the plugin, the settings variable is always
null, although I have an active settings file. (I know that, because
it uses my proxy configuration.)

Any ideas what might be wrong or what I could change?

Thanks,

Jochen

-- 
Emacs 22 will support MacOS and CygWin. It is not yet decided, whether
these will be used to run Emacs or the other way round.

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