diff options
author | Stephen Byrne <stephen.byrne@measuresforjustice.org> | 2020-09-29 23:43:54 -0400 |
---|---|---|
committer | Andrzej Ratajczak <32793002+BarkingBad@users.noreply.github.com> | 2020-09-30 12:43:14 +0200 |
commit | 377a3dc5578a0d3242cd03ac15196aafa205601a (patch) | |
tree | 9a1984ab328dabe06b7c11b6063e11bf2ebd88c4 /runners/maven-plugin/src/main/kotlin | |
parent | 3c0d8177cb4675a3942ae75eac7b5a4f5eb50d25 (diff) | |
download | dokka-377a3dc5578a0d3242cd03ac15196aafa205601a.tar.gz dokka-377a3dc5578a0d3242cd03ac15196aafa205601a.tar.bz2 dokka-377a3dc5578a0d3242cd03ac15196aafa205601a.zip |
Set aether authn when getting artifacts
When getting artifacts via aether for the plugins classpath,
set authentication on the remote repositories.
Without this, dokka fails if remote repositories require authentication.
Diffstat (limited to 'runners/maven-plugin/src/main/kotlin')
-rw-r--r-- | runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index 4e5e053a..89928b4c 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -279,7 +279,7 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc "repo", "default", it.url - ).build() + ).setAuthentication( it.authentication ).build() ) } val node: DependencyNode = repoSystem.collectDependencies(session, collectRequest).root |