forked from phoedos/pmd
Fix javadoc/dokka configuration
This commit is contained in:
@ -15,6 +15,24 @@
|
|||||||
<name>PMD Ant Integration</name>
|
<name>PMD Ant Integration</name>
|
||||||
<description>Apache Ant integration for PMD.</description>
|
<description>Apache Ant integration for PMD.</description>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<!-- overrides the configuration from parent pom: we only have pmd-core yet -->
|
||||||
|
<offlineLinks combine.self="override">
|
||||||
|
<offlineLink>
|
||||||
|
<location>${project.basedir}/../pmd-core/target/apidocs</location>
|
||||||
|
<url>../../pmd-core/${project.version}</url>
|
||||||
|
</offlineLink>
|
||||||
|
</offlineLinks>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.sourceforge.pmd</groupId>
|
<groupId>net.sourceforge.pmd</groupId>
|
||||||
|
@ -33,6 +33,15 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<!-- overrides the configuration from parent pom: we have here no offline links yet -->
|
||||||
|
<offlineLinks combine.self="override"></offlineLinks>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -45,6 +45,19 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.jetbrains.dokka</groupId>
|
<groupId>org.jetbrains.dokka</groupId>
|
||||||
<artifactId>dokka-maven-plugin</artifactId>
|
<artifactId>dokka-maven-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<!-- overrides the configuration from parent pom: we have here only pmd-core and pmd-test available -->
|
||||||
|
<externalDocumentationLinks combine.self="override">
|
||||||
|
<link>
|
||||||
|
<url>https://docs.pmd-code.org/apidocs/pmd-core/${project.version}/</url>
|
||||||
|
<packageListUrl>file://${project.basedir}/../pmd-core/target/apidocs/element-list</packageListUrl>
|
||||||
|
</link>
|
||||||
|
<link>
|
||||||
|
<url>https://docs.pmd-code.org/apidocs/pmd-test/${project.version}/</url>
|
||||||
|
<packageListUrl>file://${project.basedir}/../pmd-test/target/apidocs/element-list</packageListUrl>
|
||||||
|
</link>
|
||||||
|
</externalDocumentationLinks>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
@ -19,6 +19,23 @@
|
|||||||
<java.version>8</java.version>
|
<java.version>8</java.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<!-- overrides the configuration from parent pom: we only have pmd-core yet -->
|
||||||
|
<offlineLinks combine.self="override">
|
||||||
|
<offlineLink>
|
||||||
|
<location>${project.basedir}/../pmd-core/target/apidocs</location>
|
||||||
|
<url>../../pmd-core/${project.version}</url>
|
||||||
|
</offlineLink>
|
||||||
|
</offlineLinks>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -16,6 +16,24 @@
|
|||||||
<java.version>8</java.version>
|
<java.version>8</java.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<!-- overrides the configuration from parent pom: we only have pmd-core yet -->
|
||||||
|
<offlineLinks combine.self="override">
|
||||||
|
<offlineLink>
|
||||||
|
<location>${project.basedir}/../pmd-core/target/apidocs</location>
|
||||||
|
<url>../../pmd-core/${project.version}</url>
|
||||||
|
</offlineLink>
|
||||||
|
</offlineLinks>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!--
|
<!--
|
||||||
hamcrest and junit are scope compile,
|
hamcrest and junit are scope compile,
|
||||||
|
23
pom.xml
23
pom.xml
@ -375,17 +375,16 @@
|
|||||||
<detectOfflineLinks>false</detectOfflineLinks>
|
<detectOfflineLinks>false</detectOfflineLinks>
|
||||||
<offlineLinks>
|
<offlineLinks>
|
||||||
<offlineLink>
|
<offlineLink>
|
||||||
<location>${project.basedir}/../pmd-lang-test/target/dokkaJavadocJar</location>
|
<location>${project.basedir}/../pmd-core/target/apidocs</location>
|
||||||
<url>../../pmd-lang-test/${project.version}</url>
|
<url>../../pmd-core/${project.version}</url>
|
||||||
</offlineLink>
|
</offlineLink>
|
||||||
<offlineLink>
|
<offlineLink>
|
||||||
<location>${project.basedir}/../pmd-test/target/apidocs</location>
|
<location>${project.basedir}/../pmd-test/target/apidocs</location>
|
||||||
<url>../../pmd-test/${project.version}</url>
|
<url>../../pmd-test/${project.version}</url>
|
||||||
</offlineLink>
|
</offlineLink>
|
||||||
<!-- core needs to be last, because the package "net.sourceforge.pmd.lang" is both in pmd-core and pmd-test -->
|
|
||||||
<offlineLink>
|
<offlineLink>
|
||||||
<location>${project.basedir}/../pmd-core/target/apidocs</location>
|
<location>${project.basedir}/../pmd-lang-test/target/dokkaJavadocJar</location>
|
||||||
<url>../../pmd-core/${project.version}</url>
|
<url>../../pmd-lang-test/${project.version}</url>
|
||||||
</offlineLink>
|
</offlineLink>
|
||||||
</offlineLinks>
|
</offlineLinks>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -397,6 +396,20 @@
|
|||||||
<version>${dokka.version}</version>
|
<version>${dokka.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<skip>${dokka.skip}</skip>
|
<skip>${dokka.skip}</skip>
|
||||||
|
<externalDocumentationLinks>
|
||||||
|
<link>
|
||||||
|
<url>https://docs.pmd-code.org/apidocs/pmd-core/${project.version}/</url>
|
||||||
|
<packageListUrl>file://${project.basedir}/../pmd-core/target/apidocs/element-list</packageListUrl>
|
||||||
|
</link>
|
||||||
|
<link>
|
||||||
|
<url>https://docs.pmd-code.org/apidocs/pmd-test/${project.version}/</url>
|
||||||
|
<packageListUrl>file://${project.basedir}/../pmd-test/target/apidocs/element-list</packageListUrl>
|
||||||
|
</link>
|
||||||
|
<link>
|
||||||
|
<url>https://docs.pmd-code.org/apidocs/pmd-lang-test/${project.version}/</url>
|
||||||
|
<packageListUrl>file:///${project.basedir}/../pmd-lang-test/target/dokkaJavadocJar/element-list</packageListUrl>
|
||||||
|
</link>
|
||||||
|
</externalDocumentationLinks>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
Reference in New Issue
Block a user