On 2018-05-21T19:46:26 +0200 "Robert Scholte" <[email protected]> wrote:
> Of course :) > > This is probably a good example: > https://github.com/apache/maven-javadoc-plugin/blob/master/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L3582 Hah, thanks! That's a pretty direct example! For future visitors: 1. Inject a Settings instance using the normal injection mechanisms: @Parameter( defaultValue = "${settings}", readonly = true, required = true ) private Settings settings; 2. Proxy activeProxy = settings.getActiveProxy(); \o/ -- Mark Raynsford | http://www.io7m.com
pgp2lrmDMogwD.pgp
Description: OpenPGP digital signature
