diff --git a/pmd-ant/pom.xml b/pmd-ant/pom.xml index f8c867276c..f41b68a635 100644 --- a/pmd-ant/pom.xml +++ b/pmd-ant/pom.xml @@ -15,6 +15,24 @@ PMD Ant Integration Apache Ant integration for PMD. + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + + ${project.basedir}/../pmd-core/target/apidocs + ../../pmd-core/${project.version} + + + + + + + net.sourceforge.pmd diff --git a/pmd-core/pom.xml b/pmd-core/pom.xml index 12d73daa38..7bce749567 100644 --- a/pmd-core/pom.xml +++ b/pmd-core/pom.xml @@ -33,6 +33,15 @@ + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + + diff --git a/pmd-lang-test/pom.xml b/pmd-lang-test/pom.xml index 61ae292f4d..fd7521f1fe 100644 --- a/pmd-lang-test/pom.xml +++ b/pmd-lang-test/pom.xml @@ -45,6 +45,19 @@ org.jetbrains.dokka dokka-maven-plugin + + + + + https://docs.pmd-code.org/apidocs/pmd-core/${project.version}/ + file://${project.basedir}/../pmd-core/target/apidocs/element-list + + + https://docs.pmd-code.org/apidocs/pmd-test/${project.version}/ + file://${project.basedir}/../pmd-test/target/apidocs/element-list + + + diff --git a/pmd-test-schema/pom.xml b/pmd-test-schema/pom.xml index 044b0c5e2b..c81c7b26dc 100644 --- a/pmd-test-schema/pom.xml +++ b/pmd-test-schema/pom.xml @@ -19,6 +19,23 @@ 8 + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + + ${project.basedir}/../pmd-core/target/apidocs + ../../pmd-core/${project.version} + + + + + + diff --git a/pmd-test/pom.xml b/pmd-test/pom.xml index 296651078d..3313f25111 100644 --- a/pmd-test/pom.xml +++ b/pmd-test/pom.xml @@ -16,6 +16,24 @@ 8 + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + + ${project.basedir}/../pmd-core/target/apidocs + ../../pmd-core/${project.version} + + + + + + + - ${project.basedir}/../pmd-core/target/apidocs - ../../pmd-core/${project.version} + ${project.basedir}/../pmd-lang-test/target/dokkaJavadocJar + ../../pmd-lang-test/${project.version} @@ -397,6 +396,20 @@ ${dokka.version} ${dokka.skip} + + + https://docs.pmd-code.org/apidocs/pmd-core/${project.version}/ + file://${project.basedir}/../pmd-core/target/apidocs/element-list + + + https://docs.pmd-code.org/apidocs/pmd-test/${project.version}/ + file://${project.basedir}/../pmd-test/target/apidocs/element-list + + + https://docs.pmd-code.org/apidocs/pmd-lang-test/${project.version}/ + file:///${project.basedir}/../pmd-lang-test/target/dokkaJavadocJar/element-list + +