[ 
https://jira.codehaus.org/browse/MSITE-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schulte updated MSITE-665:
------------------------------------

    Attachment: MSITE-665.zip

Example project demonstrating the issue. Executing 'mvn package' produces the 
following warnings during 'Generating "Test JavaDocs" report'.

{code}
10 warnings
[WARNING] Javadoc Warnings
[WARNING] /tmp/MSITE-665/src/test/java/msite665/AppTest.java:3: error: package 
org.junit does not exist
[WARNING] import org.junit.Test;
[WARNING] ^
[WARNING] /tmp/MSITE-665/src/test/java/msite665/AppTest.java:4: error: package 
org.junit does not exist
[WARNING] import static org.junit.Assert.assertTrue;
[WARNING] ^
[WARNING] /tmp/MSITE-665/src/test/java/msite665/AppTest.java:4: error: static 
import only from classes and interfaces
[WARNING] import static org.junit.Assert.assertTrue;
[WARNING] ^
[WARNING] /tmp/MSITE-665/src/test/java/msite665/AppTest.java:15: error: cannot 
find symbol
[WARNING] @Test
[WARNING] ^
[WARNING] symbol:   class Test
[WARNING] location: class AppTest
[WARNING] javadoc: warning - Class Test not found.
[WARNING] javadoc: warning - Class Test not found.
[WARNING] javadoc: warning - Class Test not found.
[WARNING] javadoc: warning - Class Test not found.
[WARNING] javadoc: warning - Class Test not found.
[WARNING] javadoc: warning - Class Test not found.
{code}

Downgrading the site plugin from 3.2 to 3.1 no such warnings are shown. 

                
> Site plugin version 3.2 seems to modify a project's classpath.
> --------------------------------------------------------------
>
>                 Key: MSITE-665
>                 URL: https://jira.codehaus.org/browse/MSITE-665
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.2
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Java version: 1.7.0_03, vendor: Oracle Corporation
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MSITE-665.zip
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to