[ http://jira.codehaus.org/browse/XDP-45?page=comments#action_37815 ]
     
Stephane Nicoll commented on XDP-45:
------------------------------------

The plugin is missing a dependency on commons-jelly. 

Workaround (works for me): 

- cvs update on the xdoclet-plugins repository
- add a dependency in the pom of the maven-xdoclet2-plugin project to 

        <dependency>
            <groupId>commons-jelly</groupId>
            <artifactId>commons-jelly</artifactId>
            <version>1.0-beta-4</version>            
        </dependency>

- rebuild the plugin localy and put in your maven installation

> ClassNotFoundException for JellyException
> -----------------------------------------
>
>          Key: XDP-45
>          URL: http://jira.codehaus.org/browse/XDP-45
>      Project: XDoclet 2 Plugins
>         Type: Bug
>  Environment: maven-xdoclet2-plugin-1.0-SNAPSHOT
>     Reporter: Ryan Sonnek
>     Priority: Blocker

>
>
> Yet another problem with the snapshot plugin.  
> here's the output:
> [EMAIL PROTECTED]:~/Projects/shard/shard-core> maven xdoclet2  -e
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> Attempting to download shard-dice-SNAPSHOT.jar.
> Artifact /shard/jars/shard-dice-SNAPSHOT.jar doesn't exists in remote 
> repository, but it exists locally
> Attempting to download maven-xdoclet2-plugin-1.0-SNAPSHOT.jar.
> Attempting to download xdoclet-plugin-hibernate-SNAPSHOT.jar.
> Attempting to download xdoclet-plugin-qtags-SNAPSHOT.jar.
> Attempting to download xdoclet-SNAPSHOT.jar.
> Attempting to download qdox-1.6-SNAPSHOT.jar.
> Attempting to download generama-SNAPSHOT.jar.
> BUILD FAILED
> java.lang.NoClassDefFoundError: org/apache/commons/jelly/JellyException
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:141)
>         at org.generama.Generama.class$(Generama.java:23)
>         at org.generama.Generama.composeContainer(Generama.java:26)
>         at org.xdoclet.XDoclet.composeContainer(XDoclet.java:22)
>         at org.xdoclet.ant.XDocletTask$1.composeContainer(XDocletTask.java:24)
>         at 
> org.nanocontainer.ant.PicoContainerTask$1.composeContainer(PicoContainerTask.java:62)
>         at 
> org.nanocontainer.integrationkit.DefaultLifecycleContainerBuilder.composeContainer(DefaultLifecycleContainerBuilder.java:25)
>         at 
> org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildContainer(LifecycleContainerBuilder.java:43)
>         at 
> org.nanocontainer.ant.PicoContainerTask.execute(PicoContainerTask.java:95)
>         at org.apache.tools.ant.Task.perform(Task.java:341)
>         at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
>         at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
>         at 
> org.apache.commons.jelly.tags.core.WhileTag.doTag(WhileTag.java:108)
>         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
>         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
>         at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
>         at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
>         at com.werken.werkz.Goal.fire(Goal.java:639)
>         at com.werken.werkz.Goal.attain(Goal.java:575)
>         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
>         at com.werken.werkz.Goal.attain(Goal.java:573)
>         at 
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
>         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
>         at org.apache.maven.cli.App.doMain(App.java:488)
>         at org.apache.maven.cli.App.main(App.java:1239)
>         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:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> File...... 
> /home/rsonnek/.maven/cache/maven-xdoclet2-plugin-1.0-SNAPSHOT/plugin.jelly
> Element... ant:xdoclet
> Line...... 31
> Column.... 17
> org/apache/commons/jelly/JellyException
> Total time: 18 seconds
> Finished at: Sat Mar 05 10:03:16 CST 2005

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



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to