may be this plugin needs to be updated for maven 2.0.4.
I saw there is a version Beta-2 for this plugin on codehaus but there is a beta 1 in ibiblio. Which one is in your repository ? may be comes from here...
(you can check the versions here:
http://www.ibiblio.org/pub/packages/maven2/org/codehaus/mojo/jxr-maven-plugin/
http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/jxr-maven-plugin/
)

But a NoClassDefFoundException should not be raised for such problem (well in my opinion)).

Did you start maven from the same folder as you did when you had jxr-maven-plugin in your pom ?

Sebastien Cesbron a écrit :
Sounds strange because if I remove the "jxr-maven-plugin" from my
reporting section in my pom.xml file, my site goal works fine.

Is it possible that there is some incompabilities between plugin versions ?

seb

On 4/26/06, Boris Lenzinger <[EMAIL PROTECTED]> wrote:
Do you have the maven-model-2.0.4.jar in your classpath ? I think this
is your problem here.

this is not related to jxr but to site building I would say and your
classpath is incorrect (not sure but almost ;) ) or you execute maven
from a path that does not allow to access to folder lib of maven...

Sebastien Cesbron a écrit :
Thanx for your help, I now have this exception when I launche the site
goal. If I just launch jxr:jxr everything is ok. Do you have any idea
on what the problem is ?

java.lang.NoClassDefFoundError: org/apache/maven/model/ReportPlugin
      at org.apache.maven.plugin.jxr.JxrReport.init(JxrReport.java:281)
      at org.apache.maven.plugin.jxr.JxrReport.executeReport(JxrReport.java:157)
      at 
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:117)
      at 
org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
      at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
      at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
      at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
      at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
      at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
      at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
      at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
      at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

On 4/26/06, Boris Lenzinger <[EMAIL PROTECTED]> wrote:

Have you checked codehaus ?

here is my section about jxr:

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jxr-maven-plugin</artifactId>
      </plugin>


Sebastien Cesbron a écrit :

Hi,

I try to use jxr plugin with maven 2.0.4 but I cannot find it in the
maven plugins repository : does somebody know why ?

Seb

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to