maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Sellers (JIRA)" <j...@codehaus.org>
Subject [jira] (MJAVADOC-424) Compile errors and warning when generating the test-javadoc
Date Tue, 17 Mar 2015 00:08:18 GMT

    [ https://jira.codehaus.org/browse/MJAVADOC-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=365117#comment-365117
] 

Jim Sellers commented on MJAVADOC-424:
--------------------------------------

I'll try to test 2.10.3-SNAPSHOT tomorrow.

> 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)

Mime
View raw message