Maybe with :
/**
* The Maven Wagon manager to use when obtaining server
authentication details.
*/
@Component
private WagonManager wagonManager;
AuthenticationInfo info = wagonManager.getAuthenticationInfo( server );
server is the serverId String.
or using
/**
* The current user system settings for use in Maven.
*/
@Component
private Settings settings;
to have access to settings
2012/8/24 Michael Hüttermann <[email protected]>:
> Hello,
>
> how can I (e.g. programmatically, in an own Maven plugin) access the
> "server">"password" element of settings.xml, to re-use the value. Is there
> any chance to do so?
>
>
>
> Thanks!
>
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]