Maven javadoc Search 重定向至 “/undefined/..” url
我已经使用javadoc maven插件3.0.1和Java 9生成了javadoc。但是,当我使用新的搜索功能并选择一个类时,它会重定向到“找不到文件”...
在网址中有(例如“../target/site/apidocs/undefined/com/mycompany/MyClass.html“),如果删除,将正确加载页面。undefined
你能帮我正确的配置来生成java doc(摆脱这个),所以搜索功能加载html页面很好吗?undefined
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.maven-javadoc-plugin}</version>
<executions>
<execution>
<id>javadoc</id>
<goals>
<goal>javadoc</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<doclint>none</doclint>
<dependencySourceIncludes>
<dependencySourceInclude>com.some:some</dependencySourceInclude>
</dependencySourceIncludes>
<doctitle>Title - ${project.version}</doctitle>
<includeDependencySources>true</includeDependencySources>
<windowtitle>Title</windowtitle>
</configuration>
</execution>
</executions>