Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.10.1
-
None
-
None
Description
With the changes to the classpath done in MJAVADOC-398 and MJAVADOC-406, this means now I get javadoc warnings and errors when creating a site. The errors fail the build.
This showed up because code in src/test/java used constants defined in src/main/java.
Work around was to revert to 2.9.1
Sample pom snipit
<build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <!-- <version>2.9.1</version> --> <version>2.10.1</version> <configuration> <detectLinks>false</detectLinks> <detectOfflineLinks>true</detectOfflineLinks> </configuration> </plugin> </plugins> </pluginManagement> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <detectLinks>false</detectLinks> <detectOfflineLinks>true</detectOfflineLinks> </configuration> <reportSets> <reportSet> <id>default</id> <reports> <report>javadoc</report> <report>test-javadoc</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting>
Attachments
Issue Links
- duplicates
-
MJAVADOC-414 Artifacts missing from test classpath.
- Closed