[
https://jira.codehaus.org/browse/MJAVADOC-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=353171#comment-353171
]
Anthony Whitford commented on MJAVADOC-411:
-------------------------------------------
While I suspect the issue is a side effect of MJAVADOC-398, I don't think it is
a duplicate of MJAVADOC-407.
When building, I am now getting warnings such as these. For example:
{noformat}
[WARNING] Javadoc Warnings
[WARNING]
/Users/anthony/Documents/lombok.maven/test-maven-lombok/src/test/java/org/projectlombok/test/AppTest.java:3:
error: package junit.framework does not exist
[WARNING] import junit.framework.Test;
[WARNING] ^
[WARNING]
/Users/anthony/Documents/lombok.maven/test-maven-lombok/src/test/java/org/projectlombok/test/AppTest.java:4:
error: package junit.framework does not exist
[WARNING] import junit.framework.TestCase;
[WARNING] ^
[WARNING]
/Users/anthony/Documents/lombok.maven/test-maven-lombok/src/test/java/org/projectlombok/test/AppTest.java:5:
error: package junit.framework does not exist
[WARNING] import junit.framework.TestSuite;
[WARNING] ^
[WARNING]
/Users/anthony/Documents/lombok.maven/test-maven-lombok/src/test/java/org/projectlombok/test/AppTest.java:10:
error: cannot find symbol
[WARNING] public class AppTest extends TestCase
[WARNING] ^
[WARNING] symbol: class TestCase
[WARNING]
/Users/anthony/Documents/lombok.maven/test-maven-lombok/src/test/java/org/projectlombok/test/AppTest.java:24:
error: cannot find symbol
[WARNING] public static Test suite() {
{noformat}
The above is from the {{test-javadoc}} goal, and it is complaining that it
can't find JUnit classes, yet JUnit is {{test}} dependency.
> Package does not exist warnings
> -------------------------------
>
> Key: MJAVADOC-411
> URL: https://jira.codehaus.org/browse/MJAVADOC-411
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.10
> Environment: Mac OSX, Java 8 Update 20, Maven 3.2.3
> Reporter: Anthony Whitford
>
> Since version 2.10, it appears that Javadoc is warning about missing packages
> when generating javadoc.
> * For the {{javadoc}} goal, the {{compile}} scope classes should be in scope
> * For the {{test-javadoc}} goal, the {{test}} scope classes should be in scope
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)