Jim Sellers created MJAVADOC-424:
------------------------------------
Summary: Compile errors and warning when generating the
test-javadoc
Key: MJAVADOC-424
URL: https://jira.codehaus.org/browse/MJAVADOC-424
Project: Maven Javadoc Plugin
Issue Type: Bug
Affects Versions: 2.10.1
Reporter: Jim Sellers
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
{code:XML|title=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>
{code}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)