You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/05/01 16:35:22 UTC

[jira] Closed: (MJAVADOC-302) Classpath cleared after maven-javadoc-plugin:javadoc

     [ http://jira.codehaus.org/browse/MJAVADOC-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MJAVADOC-302.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: 2.8
         Assignee: Herve Boutemy

as far as I can tell, this is a consequence of MPIR-223, then a duplicate of MJAVADOC-279

if you're still having an issue when removing MPIR dependencies report, please open another Jira issue with a test project to reproduce the problem

> Classpath cleared after maven-javadoc-plugin:javadoc
> ----------------------------------------------------
>
>                 Key: MJAVADOC-302
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-302
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5, 2.6, 2.6.1, 2.7
>         Environment: mac OSX 10.6.4
>            Reporter: Bryan Campbell
>            Assignee: Herve Boutemy
>            Priority: Blocker
>             Fix For: 2.8
>
>
> Repro Case:
>   - I have a war based maven configuration with the maven-javadoc-plugin as copied below.
>   - > mvn jetty:run
> Result:
>   - When jetty loads, every servlet fails to load, the first is always java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener followed by null pointers and CNFE's on every servlet.
> When i take out the execution of the maven-javadoc-plugin everything works?!  My only guess is that when the javadoc plugin runs, it does something with the classpath such that when jetty runs it doesn't have what it needs to find all the classes correctly. 
> My javadoc configuration is as follows:
> {code:xml}<plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-javadoc-plugin</artifactId>
>   <executions>
>     <execution>
>       <goals>
>         <goal>javadoc</goal>
>       </goals>
>       <phase>generate-resources</phase>
>     </execution>
>   </executions>
> </plugin>{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira